开发者

Cocoa Objective C - How can i convert an array of images to a video file, and save it to disk?

My Cocoa application is a socket server which receives video frame from my iphone, and displays them on the screen as a video. I am saving every image in an array after i receive them. Is there a way to convert this array of images to a video file and let the user to save t开发者_如何学JAVAhis file to disk?

Thanks


Have a look at QTMovie in QTKit.framework. In particularly, once you've created a movie instance, you can use -[QTMovie addImage:forDuration:withAttributes:] to add a "frame" to the movie.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜