To get a movie from a stored movie file or other data source, call one of the NewMovieFrom... functions, specifying the movie data source and any other new-movie properties, such as the graphics destination. The exact details of how you specify your graphics destination, movie data source, and other movie properties depends on which NewMovieFrom... function you call, which in turn depends on what version of QuickTime you are targeting.
QuickTime7 and later supports NewMovieFromProperties, which is the preferred NewMovieFrom... function. All propereties are passed as a movie properties array. The properties array is extensible and designed to accomodate future enhancements.
QuickTime6 and later supports NewMovieFromDataRef, which can also be used. Properties are set as a combination of parameters passed to NewMovieFromDataRef and properties set after the movie is instantiated. The list of properties that can be passed is not extensible. Audio and visual destinations, and several other properties, are always set to default values and can be changed only after the movie is created.
Olderversions of QuickTime use a different NewMovieFrom... function for each type of movie data source (for example, NewMovieFromFile, NewMovieFromHandle, NewMovieFromScrap, and so on). These type-specific functions provide backward compatibility for existing code. Most are deprecated and should not be used when writing new applications, though a few remain useful for special purposes.
Getting a Movie in QuickTime 7 or Later
Getting a Movie in QuickTime 6
Getting a Movie in Older Versions of QuickTime
Last updated: 2005-08-11