Video Settings

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

Topics

Constants

AVVideoCodecKey

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

AVVideoWidthKey

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

AVVideoHeightKey

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

AVVideoCompressionPropertiesKey

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

AVVideoAverageBitRateKey

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

AVVideoQualityKey

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

AVVideoMaxKeyFrameIntervalKey

A key to access the maximum interval between keyframes.

AVVideoProfileLevelKey

A key to access the video profile.

AVVideoProfileLevelH264Baseline30

A baseline-level 3.0 profile.

AVVideoProfileLevelH264Baseline31

A baseline-level 3.1 profile.

AVVideoProfileLevelH264Baseline41

A baseline-level 4.1 profile.

AVVideoProfileLevelH264Main30

A main-level 3.0 profile.

AVVideoProfileLevelH264Main31

A main-level 3.1 profile.

AVVideoProfileLevelH264Main32

A main-level 3.2 profile.

AVVideoProfileLevelH264Main41

A main-level 4.1 profile.

AVVideoProfileLevelH264High40

A high-level 4.0 profile.

AVVideoProfileLevelH264High41

A high-level 4.1 profile.

AVVideoPixelAspectRatioKey

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

AVVideoPixelAspectRatioHorizontalSpacingKey

A key to access the pixel aspect ratio horizontal spacing.

AVVideoPixelAspectRatioVerticalSpacingKey

A key to access the pixel aspect ratio vertical spacing.

AVVideoCleanApertureKey

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

AVVideoCleanApertureWidthKey

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

AVVideoCleanApertureHeightKey

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

AVVideoCleanApertureHorizontalOffsetKey

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

AVVideoCleanApertureVerticalOffsetKey

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

AVVideoCodecH264

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

Deprecated
AVVideoCodecJPEG

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.

AVFileType

A uniform type identifier for various file formats.

AVMediaType

An identifier for various media types.

AVMediaCharacteristic

The options for specifying media type characteristics.