Setting color properties for a specific resolution
Choose the proper color property keys for the desired color range.
Overview
After specifying the AVVideoColorPropertiesKey, you must specify a color primary, transfer function, and Y’CbCr matrix.
For HD colorimetry, specify:
For SD colorimetry, specify:
For wide gamut HD colorimetry, specify:
If the source and destination color properties differ, AVFoundation matches the color. You must tag the source.
See Also
Color properties
AVVideoAllowWideColorKeyAVVideoColorPrimariesKeyAVVideoColorPrimaries_EBU_3213AVVideoColorPrimaries_ITU_R_2020AVVideoColorPrimaries_ITU_R_709_2AVVideoColorPrimaries_P3_D65AVVideoColorPrimaries_SMPTE_CAVVideoColorPropertiesKeyAVVideoTransferFunctionKeyAVVideoTransferFunction_IEC_sRGBAVVideoTransferFunction_ITU_R_2100_HLGAVVideoTransferFunction_ITU_R_709_2AVVideoTransferFunction_LinearAVVideoTransferFunction_SMPTE_240M_1995AVVideoTransferFunction_SMPTE_ST_2084_PQ