Protocol

AVVideoCompositionInstruction

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

Declaration

@protocol AVVideoCompositionInstruction

Overview

An AVVideoComposition object maintains an array of instructions to perform its composition.

Topics

Getting Track ID Settings

passthroughTrackID

The track identifier of the video composition when a single source frame should be displayed for the duration of the instruction.

Required.

requiredSourceTrackIDs

The video track identifiers required to compose frames for this instruction.

Required.

Getting Tweening Settings

containsTweening

A Boolean value that indicates whether the composition contains tweening.

Required.

Getting Post-Processing Status

enablePostProcessing

A Boolean value that indicates whether post-processing is enabled for a composition.

Required.

Getting Timing Settings

timeRange

The time range during which the instruction is effective.

Required.

Relationships

Inherits From

See Also

Configuring Video Composition Properties

frameDuration

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

renderSize

The size at which the video composition should render.

renderScale

The scale at which the video composition should render.

instructions

The video composition instructions.

animationTool

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

customVideoCompositorClass

A custom compositor class to use.

sourceTrackIDForFrameTiming

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

colorPrimaries

The color primaries used for video composition.

colorTransferFunction

The transfer function used for video composition.

colorYCbCrMatrix

The YCbCr matrix used for video composition.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software