Instance Property

canPerformMultiplePassesOverSourceMediaData

A Boolean value that indicates whether the export session can perform multiple passes over the source media to achieve better results.

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 directoryForTemporaryFiles.

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.

See Also

Configuring Output

outputURL

The URL of the export session’s output.

supportedFileTypes

An array containing the types of files the session can write.

outputFileType

The type of file written by the session.

fileLengthLimit

The file length that the output of the session should not exceed.

timeRange

The time range exported from the source.

metadata

The metadata written to the output file by the export session.

metadataItemFilter

Specifies a filter object used during export to determine which metadata items to transfer from the source asset.

audioMix

The parameters for audio mixing and an indication whether to enable nondefault audio mixing for export.

audioTimePitchAlgorithm

A processing algorithm used to manage audio pitch for scaled audio edits.

shouldOptimizeForNetworkUse

A Boolean value that indicates whether to optimize the movie should for network use.

videoComposition

The instructions for video composition, and indicates whether video composition is enabled for export.

customVideoCompositor

The custom video compositor instance used, if any.

directoryForTemporaryFiles

A directory that is suitable for containing temporary files generated during the export process.