如何將 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章