[FFmpeg-user] Levels and Primaries

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 12 10:53:55 CET 2014

Rio Kierkels <riokierkels <at> gmail.com> writes:

> My conjecture is that ffmpeg does the correct
> scaling of the Luma values during the R'G'B' to 
> Y'CbCr matrix transform.

Does that mean that you see no problem when converting 
from rgb to yuv420p with libswscale?
(Sorry, but I am not a native speaker and an apparent 
native speaker has written twice that he can reproduce 
your problem.)

> A more accurate representation would be ycbcr (just
> a side note).

But then existing FFmpeg users would ask why the 
console output / option names changed...
In other words: This is purely historical but is 
unlikely to change afaict.

Sorry, Carl Eugen

More information about the ffmpeg-user mailing list