Export Preset Names for Apple Devices

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

Overview

These presets are only available in macOS. The filename should have the extension .m4v (or .m4a for exports with audio only sources).

Topics

Device Format

let AVAssetExportPresetAppleM4VCellular: String

A format suitable for playing on Apple devices when streamed over a cellular network.

let AVAssetExportPresetAppleM4ViPod: String

A format suitable for playing on an iPod.

let AVAssetExportPresetAppleM4V480pSD: String

A 480p Standard Definition format suitable for playing on Apple devices.

let AVAssetExportPresetAppleM4VAppleTV: String

A format suitable for playing on AppleTV.

let AVAssetExportPresetAppleM4VWiFi: String

A format suitable for playing on Apple devices when streamed over a WiFi network.

let AVAssetExportPresetAppleM4V720pHD: String

A 720p High Definition format suitable for playing on Apple devices.

let AVAssetExportPresetAppleM4V1080pHD: String

A 1080p High Definition format suitable for playing on Apple devices.

let AVAssetExportPresetAppleProRes422LPCM: String

A QuickTime movie with Apple ProRes 422 video and LPCM audio.

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 Device-Appropriate QuickTime Files

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

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