[FFmpeg-user] Best way to scale interlaced video

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 26 15:54:18 CET 2014


Massimo Battistel <battistel <at> gmail.com> writes:

> This is the command line for solution #1:
> ffmpeg -i sample1080i.mp4 -vcodec rawvideo 
> -vf scale=w=720:h=432:interl=1 -an out_interl.avi

Please test the following, if it works you can 
try to remove some of the flags, I think some 
should be unnecessary:
$ ffmpeg -i sample1080i.mp4 -vcodec rawvideo 
-sws_flags lanczos+accurate_rnd+full_chroma_int+full_chroma_inp 
-vf scale=w=720:h=432:interl=1 -an out_interl.avi

> This is the command line for solution #2:
> ffmpeg -i sample1080i.mp4 -vcodec rawvideo -vf
> yadif=1:0,scale=w=720:h=432:interl=0,tinterlace=4 -an out_yadif.avi

Just to make sure:
This has nothing to do with your original request 
(scaling interlaced video) and it should never be 
used (except to test negative effects of a 
deinterlacer).

Carl Eugen



More information about the ffmpeg-user mailing list