开发者

How can I show a preview picture after taking a video using MediaRecorder?

开发者 https://www.devze.com 2023-04-06 06:07 出处:网络
I am using MediaRecorder and a SurfaceView to create a custom video camera app. After the user has clicked a stop button, I\'d like to show the user a preview of the video (maybe the first or last fra

I am using MediaRecorder and a SurfaceView to create a custom video camera app. After the user has clicked a stop button, I'd like to show the user a preview of the video (maybe the first or last frame). Is there an easy way to do this?

开发者_StackOverflow

Thanks!


for future references. It's possible to use the

surfaceHolder.getSurface().freeze();

to hold the last frame.

0

精彩评论

暂无评论...
验证码 换一张
取 消