[FFmpeg-user] Best way to scale interlaced video

Massimo Battistel battistel at gmail.com
Tue Feb 25 16:19:37 CET 2014


hello,
I have to scale 16:9 interlaced 1080i video down to PAL 576i 4:3 with black
bars.

This was attempt #1:

ffmpeg -i interlaced1080i.mp4 -vcodec rawvideo -vf
scale=w=720:h=432:interl=1,pad=720:576:0:72 -acodec copy out.mp4

Easy and fast. But horizontal resolution was halved. It looks like every
row was repeated 2 times. This is well noticeable especially on static
areas of video. When image is moving it looks better.

Is this the normal behavior? How does interlaced aware scaling works?


Attempt #2

ffmpeg -i interlaced1080i.mp4 -vcodec rawvideo -vf
yadif=1:0,scale=w=720:h=432:interl=0,pad=720:576:0:72,tinterlace=4 -acodec
copy out.mp4

Higher cpu/memory usage. Image quality is much better on static areas of
video (I have the full resolution), while moving parts are a bit worse.


Is it possbile to do a better scaling?
Any help of link to doc is welcome.


thanks,
MB


More information about the ffmpeg-user mailing list