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

Kieran Kunhya kieran at kunhya.com
Sat Apr 2 05:45:25 CEST 2011


> 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.


More information about the ffmpeg-devel mailing list