Contents

makeMovieHeader(fileType:)

Creates a header for a movie for the specified file type.

Declaration

func makeMovieHeader(fileType: AVFileType) throws -> Data

Parameters

  • fileType:

    A UTI that indicates the specific file format for the movie header.

Return Value

An NSData object containing the movie header.

Discussion

The created movie header is a pure reference movie, with no base URL, suitable for use on the pasteboard.

See Also

Creating and writing headers