2 Star 30 Fork 24

chenjim/CameraDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github
Camera2Basic
Camera2Extensions
Camera2SlowMotion
.google
app
gradle/wrapper
screenshots
utils
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle
Camera2Video
CameraUtils
CameraX-MLKit
CameraXAdvanced
CameraXBasic
CameraXExtensions
CameraXVideo
DualAudioRecord
DualCamera
HdrViewfinder
OpenGLRecorder
Presentations/2024
.gitignore
CONTRIBUTING.md
LICENSE
README.md
克隆/下载
贡献代码
同步代码
Loading...
README

Android Camera2SlowMotion Sample

This sample captures high-speed video via the Camera2 API including displaying a camera preview and capturing a high-speed (slow motion) video using repeating burst capture requests.

Introduction

The Camera2 API allows users to capture high-speed video, i.e. slow motion, by sending repeating burst capture requests to the camera framework.

This sample displays a live camera preview in SurfaceView, allows the user to press and hold the screen to record a video, and also encodes the recording in an MP4 video file.

Pre-requisites

  • Android SDK 29+
  • Android Studio 3.5+
  • Device with high-speed capture capability

Screenshots

Screenshot Video

Getting Started

This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.

Support

If you've found an error in this sample, please file an issue: https://github.com/android/camera-samples

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/chenjim/CameraDemo.git
git@gitee.com:chenjim/CameraDemo.git
chenjim
CameraDemo
CameraDemo
master

搜索帮助