Instance Property

videoComposition

The video composition to use when extracting images from assets with multiple video tracks.

Declaration

@property(nonatomic, copy) AVVideoComposition *videoComposition;

Discussion

If no video composition is specified, only the first enabled video track will be used. If a video composition is specified, the appliesPreferredTrackTransform property is ignored.

See Also

Configuring Image-Generation Behavior

apertureMode

Specifies the aperture mode for the generated image.

AVAssetImageGeneratorApertureMode

The aperture modes used when generating images.

appliesPreferredTrackTransform

Specifies whether to apply the track matrix, or matrices. when extracting an image from the asset.

asset

The asset that initialized the image generator.

maximumSize

Specifies the maximum dimensions for the generated image.

customVideoCompositor

Returns the custom video compositor instance used, if any.