Instance Method

isCompatibleWithFileType:

Returns a Boolean value that indicates whether a movie header of the specified type can be created.

Declaration

- (BOOL)isCompatibleWithFileType:(AVFileType)fileType;

Parameters

fileType

A UTI indicating the movie file format.

Return Value

Returns YES if the movie only containts tracks whose media types are allowed by the specified file type.

See Also

Creating and Writing Headers

- movieHeaderWithFileType:error:

Creates a data object containing the movie header for a movie object.

- writeMovieHeaderToURL:fileType:options:error:

Writes the movie header to the specified URL.

AVMovieWritingOptions

A set of options to control the writing of a movie header to a destination URL.