使用MediaRecorder拍摄视频后如何显示预览图片?
我正在使用 MediaRecorder 和 SurfaceView 创建自定义摄像机应用程序。用户单击停止按钮后,我想向用户展示视频预览(可能是第一帧或最后一帧)。有没有简单的方法可以做到这一点?
谢谢!
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?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以供将来参考。可以使用
来保存最后一帧。
for future references. It's possible to use the
to hold the last frame.