Export Preset Names for Device-Appropriate QuickTime Files

You use these export options to produce QuickTime movie files with video size appropriate to the current device.


The export will not scale the video up from a smaller size. Compression for video uses H.264; compression for audio uses AAC.

See also AVAssetExportSession.Status.cancelled.


Export Quality

let AVAssetExportPresetLowQuality: String

A low-quality QuickTime file.

let AVAssetExportPresetMediumQuality: String

A medium-quality QuickTime file.

let AVAssetExportPresetHighestQuality: String

A high-quality QuickTime file.

See Also

Configuring Export Presets

var presetName: String

The name of the preset used to initialize the session.

class func allExportPresets() -> [String]

Returns all available export preset names.

class func exportPresets(compatibleWith: AVAsset) -> [String]

Returns the identifiers compatible with a given asset.

class func determineCompatibility(ofExportPreset: String, with: AVAsset, outputFileType: AVFileType?, completionHandler: (Bool) -> Void)

Reports the compatibility of an export present, asset, and output file type to the specified block.

Export Preset Names for QuickTime Files of a Given Size

You use these export options to produce QuickTime movie files with a specified video size.

Export Preset Name for iTunes Audio

You use this export option to produce an audio-only MPEG 4 Audio file with appropriate iTunes gapless playback data.

Export Preset Names for Apple Devices

You use these export options to produce playable files for use on specific Apple devices.

Export Preset Name for Pass Through

You use this export option to let all tracks pass through as formatted unless otherwise prohibited.

func determineCompatibleFileTypes(completionHandler: ([AVFileType]) -> Void)

Reports the compatible file types for the current export session to the specified block.