Define output image and video formats by using the key and value constants.
Framework
- AVFoundation
Define output image and video formats by using the key and value constants.
Framework
let AVVideo Codec Key: String
A key to access the name of the codec for compressing video.
struct AVVideo Codec Type
A set of constants used to describe codecs for video capture.
let AVVideo Compression Properties Key: String
A key to access the dictionary of compression properties for a video asset.
let AVVideo Average Bit Rate Key: String
A key to access the average bit rate—as bits per second—used in compressing video.
let AVVideo Quality Key: String
A key to set the JPEG compression quality of the video.
let AVVideo Max Key Frame Interval Key: String
A key to access the maximum interval between keyframes.
let AVVideo Max Key Frame Interval Duration Key: String
A key to access the maximum interval duration between keyframes.
let AVVideo Allow Frame Reordering Key: String
A key to access permission to reorder frames.
let AVVideo Width Key: String
A key to access the width of the video in pixels.
let AVVideo Height Key: String
A key to access the height of the video in pixels.
let AVVideo Pixel Aspect Ratio Key: String
A key to access the video's pixel aspect ratio.
let AVVideo Pixel Aspect Ratio Vertical Spacing Key: String
A key to access the pixel aspect ratio vertical spacing.
let AVVideo Pixel Aspect Ratio Horizontal Spacing Key: String
A key to access the pixel aspect ratio horizontal spacing.
let AVVideo Scaling Mode Fit: String
The string identifier for scaling a video to fit the surrounding view's dimensions.
let AVVideo Scaling Mode Key: String
A key to retrieve the video scaling mode from a dictionary.
let AVVideo Scaling Mode Resize: String
The string identifier for resizing a video to fit the surrounding view's dimensions.
let AVVideo Scaling Mode Resize Aspect: String
The string identifier for resizing a video to its surrounding view's shorter dimension while preserving its aspect ratio.
let AVVideo Scaling Mode Resize Aspect Fill: String
The string identifier for resizing a video to fit the surrounding view's longer dimension while preserving aspect ratio.
let AVVideo Clean Aperture Key: String
A key that defines the region within the video dimension displayed during playback.
let AVVideo Clean Aperture Width Key: String
A key to access the width of video that's free from transition artifacts caused by signal encoding.
let AVVideo Clean Aperture Height Key: String
A key to access the height of video that's free from transition artifacts caused by signal encoding.
let AVVideo Clean Aperture Vertical Offset Key: String
A key to access the vertical offset of video that's free from transition artifacts caused by signal encoding.
let AVVideo Clean Aperture Horizontal Offset Key: String
A key to access the horizontal offset of video that's free from transition artifacts caused by signal encoding.
Keys specify video properties, and corresponding keys and values specify the color primary, transfer function, and Y'CbCr matrix.
Choose the proper color property keys for the desired color range.
let AVVideo Allow Wide Color Key: String
The key for a dictionary that indicates whether the client can process wide color.
let AVVideo Color Properties Key: String
The key for a dictionary that contains properties specifying video color.
let AVVideo Color Primaries Key: String
The key to identify color primaries in a color properties dictionary.
let AVVideo Color Primaries _P3 _D65: String
The color primary uses the DCI-P3 D65 color space.
let AVVideo Color Primaries _SMPTE _C: String
The color primary uses the SMPTE C color space.
let AVVideo Color Primaries _EBU _3213: String
The color primary is in the EBU Tech. 3213 color space.
let AVVideo Color Primaries _ITU _R _709 _2: String
The color primary is in the ITU_R BT.709 color space.
let AVVideo Color Primaries _ITU _R _2020: String
The color primary is in the ITU_R BT.2020 color space for ultra high definition television.
let AVVideo Transfer Function Key: String
The key to identify the transfer function in a color properties dictionary.
let AVVideo Transfer Function _ITU _R _709 _2: String
The transfer function for the ITU_R BT.709 color space.
let AVVideo Transfer Function _SMPTE _240M _1995: String
The transfer function for the SMPTE 240M color space.
let AVVideo Transfer Function _SMPTE _ST _2084 _PQ: String
The transfer function for the SMPTE 2084 color space.
let AVVideo YCb Cr Matrix Key: String
The key to identify the Y'CbCr matrix in a color properties dictionary.
let AVVideo YCb Cr Matrix _ITU _R _601 _4: String
The Y'CbCr color matrix for ITU-R BT.601 conversion.
let AVVideo YCb Cr Matrix _ITU _R _709 _2: String
The Y'CbCr color matrix for ITU-R BT.709 conversion.
let AVVideo YCb Cr Matrix _SMPTE _240M _1995: String
The Y'CbCr color matrix for SMPTE 240M conversion.
let AVVideo YCb Cr Matrix _ITU _R _2020: String
The Y'CbCr color matrix for ITU-R BT.2020 conversion.
let AVVideo Profile Level Key: String
A key to access the video profile.
let AVVideo Profile Level H264High40: String
A high-level 4.0 profile.
let AVVideo Profile Level H264High41: String
A high-level 4.1 profile.
let AVVideo Profile Level H264Main30: String
A main-level 3.0 profile.
let AVVideo Profile Level H264Main31: String
A main-level 3.1 profile.
let AVVideo Profile Level H264Main32: String
A main-level 3.2 profile.
let AVVideo Profile Level H264Main41: String
A main-level 4.1 profile.
let AVVideo Profile Level H264Baseline30: String
A baseline-level 3.0 profile.
let AVVideo Profile Level H264Baseline31: String
A baseline-level 3.1 profile.
let AVVideo Profile Level H264Baseline41: String
A baseline-level 4.1 profile.
let AVVideo Profile Level H264High Auto Level: String
A high profile auto level profile.
let AVVideo Profile Level H264Main Auto Level: String
A main profile auto level profile.
let AVVideo Profile Level H264Baseline Auto Level: String
A baseline auto level profile.
let AVVideo H264Entropy Mode Key: String
The entropy encoding mode for H.264 compression.
let AVVideo H264Entropy Mode CABAC: String
The encoder uses Context-based Adaptive Binary Arithmetic Coding.
let AVVideo H264Entropy Mode CAVLC: String
The encoder uses Context-based Adaptive Variable Length Coding.
let AVVideo Average Non Droppable Frame Rate Key: String
The desired average number of non-droppable frames to be encoded for each second of video.
let AVVideo Expected Source Frame Rate Key: String
The expected source frame rate.
let AVVideo Encoder Specification Key: String
The video encoder specification includes options for choosing a specific video encoder.
Dictionary keys for configuring video compression and compression settings for video assets.
struct AVFile Type
A uniform type identifier for various file formats.
struct AVMedia Type
An identifier for various media types.
struct AVMedia Characteristic
The options for specifying media type characteristics.