Contents

videoComposition

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

Declaration

@NSCopying var videoComposition: AVVideoComposition? { get set }

Discussion

If you don’t specify a video composition, the generator only uses the first enabled video track.

If specify a video composition, the image generator ignores the value of the appliesPreferredTrackTransform property.

Setting a video composition with any of the following attributes generates an exception:

See Also

Configuring compositing