从 iPhone 上的视频中捕获选定的帧(后置摄像头)
我对 iOs 和 cocoa 框架非常陌生。
UIImagePickerControl 允许我使用后置摄像头拍摄视频,并在录制完成后翻转视频帧。
我想选择其中一些帧作为稍后使用的图像(“n”张图像)。
我是否可以正确地说我必须使用 AVFoundation 类来执行上述操作?
我想确保我不会因为缺乏知识而忽略一些简单的选择。
我是否必须构建自己的控件以允许用户选择多个帧(不一定是连续的)作为输出图像?
I am very new to iOs and cocoa framework.
The UIImagePickerControl allows me to shoot a video using the back camera and flip through the frames of the video once recording is complete.
I would like to select few of those frames as images to used later ('n' images).
Would I be correct to say that I would have to use AVFoundation classes to do the above?
I wanted to be sure that I am not overlooking some simple option due to my lack of knowledge.
Would I have to build my own control to allow the user to select multiple frames (not necessarily consecutive) as output images?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果必须对视频输出进行任何自定义操作,则 AVFoundation 类是最佳选择。就我而言,它正在选择框架。
使用 AVFoundation 捕获视频帧并使用滚动查看器功能来选择特定帧。
AVFoundation classes are the way to go if one has to do anything custom with the video output. In my case it was selecting frames.
Used AVFoundation to capture the video frames and used scroll viewer functionality to select specific frames.