Class

QTMovieModernizer

The QTMovieModernizer class is used to manage the "modernization" of legacy media.

Declaration

@interface QTMovieModernizer : NSObject

Overview

QTMovieModernizer objects convert legacy media resources (defined as any media that is not supported by the AVFoundation framework) into a format that AVFoundation classes can understand. This class exposes four methods, which can be used to determine whether a media resource needs to be modernized, to set up and configure a modernization object, and to perform or cancel the modernization operation.

Topics

Testing a File for Modernization Compatibility

requiresModernization:error:

A Boolean value that specifies if the file is supported by the AVFoundation framework.

Creating a Modern Version of the Media

initWithSourceURL:destinationURL:

Initializes an instance of QTMovieModernizer with the source and destination media files.

modernizeWithCompletionHandler:

Initiates a modernization operation to write a QuickTime movie file to a modern media format.

outputFormat

A string that indicates the audio and video compression settings to be used when modernizing a movie.

cancel

Cancels a modernization operation.

Getting the Paths for Media Input and Output

destinationURL

The destination URL provided during initialization.

sourceURL

The source URL provided during initialization.

Getting the Modernization Error and Status Values

error

The error, if any, encountered during modernization.

status

A value that indicates the current status of a modernizing operation.

Relationships

Inherits From