[FFmpeg-user] Converting Rec.601 YV12 to Rec.709 for MPEG-2 encoding

Robert Krüger krueger at lesspain.de
Mon Mar 11 15:39:22 CET 2013

On Mon, Mar 11, 2013 at 2:49 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Francois Visagie <francois.visagie <at> gmail.com> writes:
>> What command line option/s do I need for converting
>> Rec.601-recorded YV12 to Rec.709 for MPEG-2 encoding?
> What is the difference between 601 and 709?
> I thought both are limited to values between 16 and 235.

Yes, but they use slightly different coefficients in rgb<->yuv
conversion. Check out the matrices in vf_colormatrix.c.

If you get it wrong, colors will differ slightly when displayed on an
RGB monitor.

More information about the ffmpeg-user mailing list