Methods you can implement to represent operations to be performed by a compositor.
On This Page
An AVVideoComposition object maintains an array of instructions to perform its composition.
var passthroughTrackID: CMPersistentTrackID
The track identifier of the video composition when a single source frame should be displayed for the duration of the instruction.
var requiredSourceTrackIDs: [NSValue]?
The video track identifiers required to compose frames for this instruction.
var containsTweening: Bool
A Boolean value that indicates whether the composition contains tweening.
var enablePostProcessing: Bool
A Boolean value that indicates whether post-processing is enabled for a composition.
var timeRange: CMTimeRange
The time range during which the instruction is effective.
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.
var instructions: [AVVideoCompositionInstructionProtocol]
The video composition instructions.
var animationTool: AVVideoCompositionCoreAnimationTool?
A video composition tool to use with Core Animation in offline rendering.
var customVideoCompositorClass: AVVideoCompositing.Type?
A custom compositor class to use.
var sourceTrackIDForFrameTiming: CMPersistentTrackID
A value that indicates whether frame timing for the video composition is derived from the source's asset track.
var colorPrimaries: String?
The color primaries used for video composition.
var colorTransferFunction: String?
The transfer function used for video composition.
var colorYCbCrMatrix: String?
The YCbCr matrix used for video composition.
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.