[FFmpeg-user] H264 (mts) interlaced to XVID interlaced

Francois Visagie francois.visagie at gmail.com
Sun Nov 16 13:58:22 CET 2014

> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of radpopl
> Sent: 15 November 2014 14:39
> To: ffmpeg-user at ffmpeg.org
> Subject: [FFmpeg-user] H264 (mts) interlaced to XVID interlaced
> Hello,
> I have a mts file (AVC, 1440x1080i, TFF).
> First attempt:
> ffmpeg.exe -n -i "%%F" -c:v mpeg4 -qscale:v 4 -vtag xvid  -flags +qpel
> libmp3lame -b:a 320k "%%~dF%%~pF%%~nF.avi"
> But destination file has an interlace artifacts, unacceptable...
> I have tried some command but nothing works, I can't even find good
> solution on web/ffmpeg manual.
> Can somebody help me which filters/options I should use to get XVID
> interlaced video?

You need to add ' -flags +ildct+ilme'.

With -c:v libx264 you also can (should) add the bff/tff option; although
personally not familiar with ffmpeg XVID encoding myself you might want to
look for something similar.

> Or maybe I should deinterlace mts file to 1440x540p 50fps file and convert
> progressive xvid?
> --
> View this message in context: http://ffmpeg-
> users.933282.n4.nabble.com/H264-mts-interlaced-to-XVID-interlaced-
> tp4668119.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list