Contents

kVTCompressionPropertyKey_PixelAspectRatio

The pixel aspect ratio for encoded frames.

Declaration

let kVTCompressionPropertyKey_PixelAspectRatio: CFString

Discussion

If a video encoder enforces specific pixel aspect ratios, this property will be read-only (VTSessionSetProperty(_:key:value:) returns kVTPropertyReadOnlyErr). The pixel aspect ratio is set on the format description for output samples, and may affect source frame scaling. NULL is a valid value for this property, meaning square pixels (1:1).

See Also

Clean Aperture and Pixel Aspect Ratio