An object that specifies a set of parameters for configuring objects that use output settings dictionaries.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Often you create Instances of
AVOutputusing a string constant representing a specific preset configuration, such as
preset1280x720. After configuring the instance, its properties can be a guide for creating and configuring an
AVAsset object and one or more
AVAsset objects so that the resulting media file conforms to a specific criteria. The preset configuration properties can be a “base” configuration, which you can customize to suit your individual needs.
The suggested output settings improve as more information is provided about the format of the source data. For example, by setting the
source property, the
video property value ensures that video frames don't scale up from a smaller size.