Contents

init(propertiesOf:prototypeInstruction:)

Creates a mutable video composition with the specified asset properties and a prototype video composition instruction.

Declaration

init(propertiesOf asset: AVAsset, prototypeInstruction: AVVideoCompositionInstruction)

Parameters

  • asset:

    The asset for which to create a video composition. Load the asset’s Duration and Tracks properties before invoking this method.

  • prototypeInstruction:

    A video composition instruction to use as a prototype.

See Also

Creating a video composition