A Boolean value that indicates whether the export session can perform multiple passes over the source media to achieve better results.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
@property(nonatomic) BOOL canPerformMultiplePassesOverSourceMediaData;
Discussion
When the value for this property is YES
, the export session can produce higher quality results at the expense of longer export times. Setting this property to YES
may also require the export session to write temporary data to disk during the export. To control the location of temporary data, use the property directory
.
The default value is NO
. Not all export session configurations can benefit from performing multiple passes over the source media. In these cases, setting this property to YES
has no effect.
This property cannot be set after the export has started.