[FFmpeg-user] Creating ffv1 full-range and broadcast-range files

Robert Krüger krueger at lesspain.de
Fri May 9 14:37:47 CEST 2014


On Fri, May 9, 2014 at 2:08 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Robert Krüger <krueger <at> lesspain.de> writes:
>
>> I want to create both files that contain broadcast (aka mpeg) range
>> yuv420p (or yuv422p, 444p etc.) and full range. I presume that the
>> default for the yuv4<whatever>p<whatever> formats was broadcast.
>>
>> Is that correct? If so, how do I create full-range files using an
>> ffmpeg command line?
>
> Did you test what happens if you replace all occurrences of
> AV_PIX_FMT_YUV420P in libavcodec/ffv1enc.c and libavcodec/ffv1dec.c
> with AV_PIX_FMT_YUVJ420P ?

I just tried and the resulting file checked with the histogram filter
appears to have the correct (full-range) levels. I transcoded a full
white and a full black screen and checked the levels using the
histogram filter and they were 255, 0 respectively. I guess that means
YUVJ support could be added easily? But you're more competent to make
that judgement.

Thanks for the help,

Robert


More information about the ffmpeg-user mailing list