[FFmpeg-user] Correct conversion of yuvj420p?

Mark Himsley mark.himsley at gmail.com
Sat Oct 10 16:15:11 EEST 2020


On Fri, 2 Oct 2020 at 14:28, Tobias Rapp <t.rapp at noa-archive.com> wrote:
>
> ffmpeg -i $INPUT ... -pix_fmt +yuv420p \
>   -filter:v "format=pix_fmts=yuv420p,setrange=full,..."

Be careful with that if you have any interlaced material.
The `format` filter will force the inclusion of a `scale` filter before it.
Unless it's changed recently and I've missed it, the scale filter will
not be interlaced aware, so you might end up blurring the colours for
the two fields in each frame.

-- 
Mark Himsley


More information about the ffmpeg-user mailing list