Instance Property


The color primaries used for video composition.


var colorPrimaries: String? { get }


The default value is nil. When the value of this property is nil, the source's color primaries are propagated and used. Valid values are those suitable for AVVideoColorPrimariesKey.

See Also

Configuring Video Composition Properties

var frameDuration: CMTime

A time interval for which the video composition should render composed video frames.

var renderSize: CGSize

The size at which the video composition should render.

var renderScale: Float

The scale at which the video composition should render.

protocol AVVideoCompositionInstructionProtocol

Methods you can implement to represent operations to be performed by a compositor.

var animationTool: AVVideoCompositionCoreAnimationTool?

A video composition tool to use with Core Animation in offline rendering.

var sourceTrackIDForFrameTiming: CMPersistentTrackID

A value that indicates whether frame timing for the video composition is derived from the source's asset track.

var colorTransferFunction: String?

The transfer function used for video composition.

var colorYCbCrMatrix: String?

The YCbCr matrix used for video composition.