xcode 将一系列图像转换为视频-iphone
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8473947/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Converting series of images to video-iphone
提问by Johnykutty
I want to convert a series of images to video in iphone
我想在 iphone 中将一系列图像转换为视频
Can anybody suggest a method or framework for this.
任何人都可以为此提出一种方法或框架。
Thank you all
谢谢你们
回答by GrimmRanger
The best place to start is with the AVFoundation framework. A similar question, with an extremely detailed and helpful answer, can be found here: How do I export UIImage array as a movie?
最好的起点是使用 AVFoundation 框架。一个类似的问题,有一个非常详细和有用的答案,可以在这里找到: 如何将 UIImage 数组导出为电影?
A combination of AVAssetWriter
and CVPixelBufferRef
should get you where you need to go.
的组合AVAssetWriter
,并CVPixelBufferRef
在那里你需要去应该得到你。