[FFmpeg-devel] xvYCC Conversion to Wide Gamut RGB with FFmpeg

Thomas Worth dev at rarevision.com
Sat Apr 2 06:28:16 CEST 2011

On Fri, Apr 1, 2011 at 8:45 PM, Kieran Kunhya <kieran at kunhya.com> wrote:
>> Are you sure Canon DLSRs use xvYCC? I thought this was a
>> Sony thing.
>> If you want to check you can download our tool, 5DtoRGB,
>> and convert a
>> clip using "none" as the decoding matrix. This will show
>> you raw pixel
>> values for Y, Cb, and Cr copied straight from the H.264
>> file prior to
>> being decoded. I don't know if Canon use values outside
>> 16-240 for
>> chroma, but it's possible. Some tests with a color chart
>> and jacking
>> up the saturation in a Picture Style may help determine
>> this.
> There's an SEI if I remember rightly that has all this information. The H.264 full_range_flag is usually incorrect.

Does the full_range_flag setting affect the actual decoding of the
stream? In other words, will pixel values be different off the decoder
if this is 1 vs 0? I'm just talking about the decoder, not any chroma
reconstructing or matrix decoding.

More information about the ffmpeg-devel mailing list