views:

53

answers:

1

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

+3  A: 

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.

Barry Wark