Creates a new mutable video composition with the specified asset properties.
- iOS 6.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
An instance of
AVAsset. Ensure that the duration and tracks properties of the asset are already loaded before invoking this method.
A newly created and initialized instance of
AVMutable 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:
A value for
frameshort enough to accommodate the greatest
nominalamong the asset's video tracks. If the
nominalof all of the asset's video tracks is 0, a default framerate of 30fps is used.
If the specified asset is an instance of
renderis set to the
AVComposition; otherwise the
renderwill be set to a value that encompasses all of the asset's video tracks.
animationproperty set to