[FFmpeg-user] RGB-YUV color shift

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Oct 19 18:58:05 CEST 2012


George L. P. Fitz <george <at> glpf.net> writes:

> BEFORE:
> #define SWS_CS_ITU709         1
> #define SWS_CS_FCC            4
> #define SWS_CS_ITU601         5
> #define SWS_CS_ITU624         5
> #define SWS_CS_SMPTE170M      5
> #define SWS_CS_SMPTE240M      7
> #define SWS_CS_DEFAULT        5
> 
> AFTER:
> #define SWS_CS_ITU709         1
> #define SWS_CS_FCC            4
> #define SWS_CS_ITU601         5
> #define SWS_CS_ITU624         5
> #define SWS_CS_SMPTE170M      5
> #define SWS_CS_SMPTE240M      7
> #define SWS_CS_DEFAULT        1

Is your original problem only reproducible when encoding 
to prores or also if you encode with a yuv420p encoder?
(For example -vcodec mpeg4 -qscale 2)

I wonder if the reason that changing the default has no 
effect is that it does not work for a 10bit colourspace.

Carl Eugen



More information about the ffmpeg-user mailing list