Type Method


Creates a new mutable video composition with the specified asset properties.


+ (AVMutableVideoComposition *)videoCompositionWithPropertiesOfAsset:(AVAsset *)asset;



An instance of AVAsset. Ensure that the duration and tracks properties of the asset are already loaded before invoking this method.

Return Value

A newly created and initialized instance of AVMutableVideoComposition.


The returned AVMutableVideoComposition has instructions that respect the spatial properties and time ranges of the specified asset's video tracks.

It also has the following values for its properties:

See Also

Creating a Video Composition

+ videoComposition

Creates a new mutable video composition.

+ videoCompositionWithAsset:applyingCIFiltersWithHandler:

Creates a mutable video composition configured to apply Core Image filters to each video frame of the specified asset.

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