Video Settings

Dictionary keys for configuring video compression and compression settings for video assets.

Topics

Constants

let AVVideoCodecKey: String

A key to access the name of the codec for compressing video.

let AVVideoWidthKey: String

A key to access the width of the video in pixels.

let AVVideoHeightKey: String

A key to access the height of the video in pixels.

let AVVideoCompressionPropertiesKey: String

A key to access the dictionary of compression properties for a video asset.

let AVVideoAverageBitRateKey: String

A key to access the average bit rate—as bits per second—used in compressing video.

let AVVideoQualityKey: String

A key to set the JPEG compression quality of the video.

let AVVideoMaxKeyFrameIntervalKey: String

A key to access the maximum interval between keyframes.

let AVVideoProfileLevelKey: String

A key to access the video profile.

let AVVideoPixelAspectRatioKey: String

A key to access the video's pixel aspect ratio.

let AVVideoPixelAspectRatioHorizontalSpacingKey: String

A key to access the pixel aspect ratio horizontal spacing.

let AVVideoPixelAspectRatioVerticalSpacingKey: String

A key to access the pixel aspect ratio vertical spacing.

let AVVideoCleanApertureKey: String

A key that defines the region within the video dimension displayed during playback.

let AVVideoCleanApertureWidthKey: String

A key to access the width of video that's free from transition artifacts caused by signal encoding.

let AVVideoCleanApertureHeightKey: String

A key to access the height of video that's free from transition artifacts caused by signal encoding.

let AVVideoCleanApertureHorizontalOffsetKey: String

A key to access the horizontal offset of video that's free from transition artifacts caused by signal encoding.

let AVVideoCleanApertureVerticalOffsetKey: String

A key to access the vertical offset of video that's free from transition artifacts caused by signal encoding.

let AVVideoCodecH264: String

A key to access the name of the H.264 codec for compressing video.

Deprecated
let AVVideoCodecJPEG: String

A key to access the name of the JPEG codec for compressing video.

Deprecated

See Also

Supporting Types

Video Settings Dictionaries

Define output image and video formats by using the key and value constants.

struct AVFileType

A uniform type identifier for various file formats.

struct AVMediaType

An identifier for various media types.

struct AVMediaCharacteristic

The options for specifying media type characteristics.