Class

AVVideoCompositionLayerInstruction

An object used to modify the transform, cropping, and opacity ramps applied to a given track in a composition.

Declaration

@interface AVVideoCompositionLayerInstruction : NSObject

Topics

Getting the Track ID

trackID

The track identifier of the source track to which the compositor will apply the instruction.

Getting Opacity, Transform, and Cropping Ramps

- getOpacityRampForTime:startOpacity:endOpacity:timeRange:

Obtains the opacity ramp that includes a specified time.

- getTransformRampForTime:startTransform:endTransform:timeRange:

Obtains the transform ramp that includes a specified time.

- getCropRectangleRampForTime:startCropRectangle:endCropRectangle:timeRange:

Obtains the crop rectangle ramp that includes the specified time.

Relationships

Inherits From

See Also

Video Composition

AVVideoComposition

An object that represents an immutable video composition.

AVMutableVideoComposition

An object that represents a mutable video composition.

AVAsynchronousCIImageFilteringRequest

An object that supprts using Core Image filters to process an individual video frame in a video composition.

AVAsynchronousVideoCompositionRequest

An object that contains the information necessary for a video compositor to render an output pixel buffer.

AVMutableVideoCompositionInstruction

An operation performed by a compositor.

AVMutableVideoCompositionLayerInstruction

An object used to modify the transform, cropping, and opacity ramps applied to a given track in a mutable composition.

AVVideoCompositionCoreAnimationTool

An object used to incorporate Core Animation into a video composition.

AVVideoCompositionInstruction

An operation performed by a compositor.

AVVideoCompositionRenderContext

An object that defines the context within which custom compositors render new output pixel buffers.