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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 10 10:11:09 CET 2012


Marton Sigmond <marton_sigmond <at> yahoo.com> writes:

> 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

Use a significantly higher value for threads (~10, higher 
if you have HT), try to remove 4mv (if that makes encoding faster), 
remove deinterlace (that is probably expensive), if you really need
de-interlacing, use yadif, it should be optimised more.

Carl Eugen



More information about the MEncoder-users mailing list