在iPhone中从视频帧获取图像 [英] Get image from a video frame in iPhone
问题描述
是否有可能使用iPhone SDK从iPhone中的视频抓取一帧,并保存或以任何方式在应用程序中使用它?除了播放/停止或可能访问视频的二进制数据之外,SDK是否对视频进行任何控制?
Is it possible using the iPhone SDK to grab a frame from a video in iPhone and save it or use it in any way in the application? Does the SDK give any control over the video other than play/stop or maybe access to the binary data of the video?
也可以知道时间
感谢
编辑:
如果没有通过官方的API,有没有另一种方式来做任何上述的方式,将不会禁止应用程序从AppStore?
If not through the official APIs, is there another way to do any of the above in a way that won't ban the application from the AppStore?
推荐答案
这里是一篇关于使用ffmpeg从电影中提取帧的博客文章:
Here's a blog post about extracting frames from movies using ffmpeg:
http://www.codza.com/extracting-frames-from-movies-on-iphone
github上的相应项目: iFrameExtractor
The corresponding project on github: iFrameExtractor
这篇关于在iPhone中从视频帧获取图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!