AVVideoCodecKey

Static AVVideoCodecKey 

Source
pub unsafe static AVVideoCodecKey: Option<&'static NSString>
Available on crate feature AVVideoSettings only.
Expand description

AVVideoSettings

NSDictionary keys for configuring output video format

A video settings dictionary may take one of two forms:

  1. For compressed video output, use only the keys in this header, AVVideoSettings.h.
  2. For uncompressed video output, start with kCVPixelBuffer* keys in <CoreVideo /CVPixelBuffer.h>.

In addition to the keys in CVPixelBuffer.h, uncompressed video settings dictionaries may also contain the following keys:

AVVideoPixelAspectRatioKey AVVideoCleanApertureKey AVVideoScalingModeKey AVVideoColorPropertiesKey AVVideoAllowWideColorKey

It is an error to add any other AVVideoSettings.h keys to an uncompressed video settings dictionary.

See also Apple’s documentation