Skip to content

演示如何使用Camera2的HighSpeed高帧率录制视频

Notifications You must be signed in to change notification settings

ZhengShang/HighSpeedVideoDemo

Repository files navigation

HighSpeedVideoDemo

演示如何使用Camera2的HighSpeed高帧率录制视频

❗详细说明文档参见https://www.jianshu.com/p/0d2f200ab374

Demo Apk 下载

点击下载DemoApk体验

界面预览

预览画面

关键点

要使用mCameraDevice.createConstrainedHighSpeedCaptureSession, 需要注意以下2点:

1.预览尺寸和录制尺寸要一致

2.CamcorderProfilepublic static boolean hasProfile(int cameraId, int quality)方法,只有他返回true才意味着当前预览的帧率支持被录制视频.

About

演示如何使用Camera2的HighSpeed高帧率录制视频

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages