Version: 1.2

Posted: 2007-08-31

Build Requirements: Mac OS X 10.4, Xcode 2.4

Runtime Requirements: Mac OS X 10.4, QuickTime 7

View Source Code:

Download Sample (“QTKitCreateMovie.zip”, 653.3K)
Download Sample (“QTKitCreateMovie.dmg”, 464.4K)



Description

The QTKitCreateMovie sample demonstrates how to create a QuickTime movie from a series of jpeg images using the QTKit APIs. This is accomplished by creating an "empty" movie, using the -addImage: method to add images to the movie, and finally using the -updateMovieFile: method to save the movie to a file on disk (or flattening the movie to a different file with the -writeToFile method).

Document Revision History

Date Notes
2007-08-31Added support for the new initToWritableFile: method available in QuickTime 7.2.1.
2005-08-01Updated to produce a universal binary. No code changes were required. Also, consolidated QuickTime movie creation code into a new function.
2005-06-01Demonstrates how to create a movie from a sequence of images.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.