Global Variable

AVVideoCompressionPropertiesKey

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

Declaration

let AVVideoCompressionPropertiesKey: String

Discussion

The value for this key is an instance of NSDictionary. Add entries to this dictionary to manually change bit rate, B-frame delivery, I-frame interval, and codec quality. Querying the supportedOutputSettingsKeys(for:) method reveals the keys supported for the current release and configuration.

See Also

Compression

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 AVVideoMaxKeyFrameIntervalDurationKey: String

A key to access the maximum interval duration between keyframes.

let AVVideoAllowFrameReorderingKey: String

A key to access permission to reorder frames.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software