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.