[MEncoder-users] How to transcode MTS files recorded by Panasonic HDC-SD100 camera?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Feb 13 21:38:36 CET 2012

On Tue, Feb 07, 2012 at 12:56:39PM -0800, Marton Sigmond wrote:
> The command that works so far is this:
> ffmpeg -y -i %in -threads 4 -deinterlace -f mpegts -r 25 -vcodec mpeg2video -s vga -aspect 16:9 -maxrate 1800k -b 1500k -qmin 3 -qmax 5 -buf\
> size 4096k -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 48000 -ab 128k -ac 2 %out

Why are you using all those options?
At least half of them make no sense to me.
For example specifying a bitrate but limiting the quantizer between 3
and 5 seems unlikely to give sensible results.
And I didn't think that 4mv or aic actually exists for MPEG-2?
And a keyframe interval of 300 I think is more than what is allowed
for MPEG-2?
Why using -mbd 2 (high quality) for a realtime encode?
Why -threads 4 after -i, doesn't that mean that threading will only
be used for the encode, but not the decode?

More information about the MEncoder-users mailing list