Contents

AVMutableVideoComposition

A mutable video composition subclass.

Declaration

class AVMutableVideoComposition

Overview

If you use the built-in video compositor, the instructions a video composition contain can specify a spatial transformation, an opacity value, and a cropping rectangle for each video source. This values can vary over time by applying linear ramping functions.

You can create a custom video compositor by implementing the AVVideoCompositing protocol. The system provides the custom video compositor with pixel buffers for each of its video sources during playback, and can perform arbitrary graphical operations on them to produce visual output.

Topics

Creating a video composition

Configuring video composition properties

Specifying composition instructions

Configuring HDR metadata

Configuring color

Identifying source tracks

Specifying a custom compositor

Initializers

See Also

Built-in video compositing