Instance Property


An array of instances of AVVideoCompositionLayerInstruction that specify how video frames from source tracks should be layered and composed.


@property(nonatomic, copy) NSArray<AVVideoCompositionLayerInstruction *> *layerInstructions;


Tracks are layered in the composition according to the top-to-bottom order of the layerInstructions array; the track with trackID of the first instruction in the array will be layered on top, with the track with the trackID of the second instruction immediately underneath, and so on.

If the property value is nil, the output is a fill of the background color.

See Also

Configuring the Instructions


The background color of the composition.


The time range during which the instruction is effective.


A Boolean value that indicates whether post processing is required for the video composition instruction.