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

Francois Visagie francois.visagie at gmail.com
Mon Mar 11 15:58:13 CET 2013


> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Robert Krüger
> Sent: 11 March 2013 16:39
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Converting Rec.601 YV12 to Rec.709 for MPEG-2
> encoding
> 
> 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.

Yes, that's my concern. Even if the conversion can't be done in ffmpeg, I
need to know that it needs to be done externally.

> Check out the matrices in vf_colormatrix.c.
> 
> If you get it wrong, colors will differ slightly when displayed on an
> RGB monitor.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list