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

Marton Sigmond marton_sigmond at yahoo.com
Tue Feb 7 21:56:39 CET 2012


Hi,

I would like to transcode my MTS files recorded with my Panasonic HDC-SD100 camera.

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

However since I would like to serve this from a Mediatomb UPnP instance, it needs to be transcoded with at least 25 FPS.
On my 4 core 2.6 GHz server the transcoding happens with ~13 FPS.

Is it possible to speed this up?
Does mencoder have a better/faster alternative for the above line?

Thanks and regards,
Marton


More information about the MEncoder-users mailing list