如何将 UIImage 数组导出为电影? - How do I export UIImage array as a movie?

问题:

I have a serious problem: I have an NSArray with several UIImage objects.我有一个严重的问题:我有一个带有多个UIImage对象的NSArray What I now want to do, is create movie from those UIImages .我现在想做的是从这些UIImages创建电影。 But I don't have any idea how to do so.但我不知道该怎么做。

I hope someone can help me or send me a code snippet which does something like I want.我希望有人可以帮助我或向我发送一个代码片段,它可以做我想要的事情。

Edit: For future reference - After applying the solution, if the video looks distorted, make sure the width of the images/area you are capturing is a multiple of 16. Found after many hours of struggle here:编辑:供将来参考 - 应用解决方案后,如果视频看起来失真,请确保您捕获的图像/区域的宽度是 16 的倍数。经过数小时的努力,在这里找到:
Why does my movie from UIImages gets distorted? 为什么我的 UIImages 电影会失真?

Here is the complete solution (just ensure width is multiple of 16)这是完整的解决方案(只需确保宽度是 16 的倍数)
http://codethink.no-ip.org/wordpress/archives/673 http://codethink.no-ip.org/wordpress/archives/673


解决方案:

参考一: https://en.stackoom.com/question/FhHv
参考二: https://stackoom.com/question/FhHv
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章