Hi Carl Eugen, I applied all suggested changes, but I still cannot reach higher than 16 FPS. This is my CPU: http://www.cpu-world.com/CPUs/K10/AMD-Athlon%20II%20X4%20631%20-%20AD631XWNZ... I believe a single 2.6 GHz core should be able to decode the stream (1920x1080@50FPS), and another one to encode it. So the 4 cores should be more, than enough. Please correct me if I am wrong. I am thinking about the following questions: - Is there a more robust tool than ffmpeg? - Am I using wrong parameters for ffmpeg? - Is this hardware not strong enough to do the job? I appreciate any suggestion. Best regards, Marton ________________________________ From: Carl Eugen Hoyos <cehoyos@ag.or.at> To: mencoder-users@mplayerhq.hu Sent: Friday, February 10, 2012 10:11 AM Subject: Re: [MEncoder-users] How to transcode MTS files recorded by Panasonic HDC-SD100 camera? 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 _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users