Christian Ebert <[email protected]> added the comment:

Sorry, this is wrong.

-vf scale must be used *in addition* to -s.

ffmpeg -i yadif-ripple.vob -vf yadif=0:1,scale=640:480 -b 500k -y
yadif-ripple-ff.mp4

yields:

Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 16:15 DAR 64:45], q=2-31, 500
kb/s, 25 tbn, 25 tbc

To get the correct PAR one has to *prescale* to correct aspect ratio with -s
(note that neither -aspect nor -vf setdar or -vf setsar have any effect, see
Issue2378):

ffmpeg -i yadif-ripple.vob -s spal -vf yadif=0:1,scale=640:480 -b 500k -y
yadif-ripple-ff.mp4

The handling of non-square pixels in the input is at least, errmh,
counterintuitive or very poorly documented.

imho, mplayer and mencoder do the right thing (at least when you do not
additionally use something like -vf crop).

----------
status: closed -> open
substatus: invalid -> open

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2540>
________________________________________________

Reply via email to