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

Robert Krüger krueger at lesspain.de
Mon Mar 11 19:00:09 CET 2013


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


More information about the ffmpeg-user mailing list