How to create video from its frames iPhone

风格不统一 提交于 2019-11-29 21:56:53
Mohd Iftekhar Qurashi

You need to get images for every frame which screen renders. I used UIGetScreenImage() private API to do the same. and write those images as Movie using AVAssetWriter.

I wrote a wrapper to do the needful with just few lines of codes, try this open source component for reference:

https://www.cocoacontrols.com/controls/iqprojectvideo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!