Instance Property


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


@property(nonatomic, copy) NSURL *directoryForTemporaryFiles;


An asset export session may need to write temporary files, for example when canPerformMultiplePassesOverSourceMediaData is set to YES. This property specifies where in the filesystem those temporary files are created. All temporary files will be deleted when the export is completed, is canceled, or fails.

When the value of this property is nil, the export session will choose a suitable location when writing temporary files. The default value is nil.

This property cannot be set after the export has started. The export will fail if the URL points to a location that is not a directory, does not exist, is not on the local file system, or if a file cannot be created in this directory (for example, due to insufficient permissions or sandboxing restrictions).

See Also

Configuring Output


The URL of the export session’s output.


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


The type of file written by the session.


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


The time range exported from the source.


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


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


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


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


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


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


The custom video compositor instance used, if any.


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