Reputation: 77646
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 this file to disk?
Thanks
Upvotes: 1
Views: 2831
Reputation: 107774
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.
Upvotes: 5