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

Francois Visagie francois.visagie at gmail.com
Mon Mar 11 21:38:23 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 20:00
> 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 3:58 PM, Francois Visagie
> <francois.visagie at gmail.com> wrote:
> >> -----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 http://ffmpeg.org/ffmpeg-filters.html#colormatrix
> 
> it's probably -vf colormatrix=bt601:bt709

Excellent, that's it, thanks!

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list