Version: 1.2

Posted: 2006-05-11

Build Requirements: XCode 2.2, or Java 2 SDK for Windows, and QuickTime 7

Runtime Requirements: Java 1.5 and QuickTime 7, or later, recommended

View Source Code:

Download Sample (“ImportExport.zip”, 66.0K)
Download Sample (“ImportExport.dmg”, 126.2K)



Description

Demonstrates how to export a movie, using the standard user dialog to customise export settings. There are two ways this can be done - by far the easiest way is to use the Movie.convertToFile call which will allow you to show the default progress proc. This provides simple visual feedback to the user of the progress of the export. Alternatively an application can call the MovieExporter directly to export movie data and define its own custom progress handling. A movie export should take place on an independant thread, so as not to block the Java AWT event thread, since an export can take some time.

Also shown is how to create reference movies, which contain references to an existing movie, or movies, rather than an independent copy of the movie data. This movie may be "flattened" later on. Flattening is a process that copies the referenced movie data into the reference movie, making it a standalone copy.

Document Revision History

Date Notes
2006-05-11Support for XCode 2. Modified project layout for platform independent distribution and compilation.
2003-01-14Demonstrates both importing and referencing a media file and performing a movie export with customisable settings.

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.