Class

AVAsynchronousVideoCompositionRequest

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

Declaration

@interface AVAsynchronousVideoCompositionRequest : NSObject

Overview

The video compositor must implement the AVVideoCompositing protocol.

Topics

Getting the Pixel Buffer for a Specific Frame

- sourceFrameByTrackID:

Returns the source pixel buffer for the specified track ID.

Finishing the Composition Request

- finishCancelledRequest

Signifies the composition request was canceled.

- finishWithComposedVideoFrame:

Signifies the composition request succeeded

- finishWithError:

Signifies the composition request encountered an error.

Getting the Composition Request Settings

compositionTime

The time for which the frame should be composed.

renderContext

The video composition render context making the request.

sourceTrackIDs

The track IDs of all the source buffers that are available to compose the frame.

videoCompositionInstruction

The video composition instruction to use to compose the frame.

Relationships

Inherits From

Conforms To

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.

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.

AVVideoCompositionLayerInstruction

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

AVVideoCompositionRenderContext

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