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

Marton Sigmond marton_sigmond at yahoo.com
Mon Feb 13 22:33:59 CET 2012


Thanks for the tips, now I am at 18 FPS with the following command:
ffmpeg -y -threads 16 -i %in -f mpegts -r 25 -vcodec mpeg2video -s vga -aspect 16:9 -maxrate 1800k -b 1500k -bufsize 4096k -mbd 0 -acodec libmp3lame -ar 48000 -ab 128k -ac 2 %out


Getting closer. :)

Best regards,
Marton


________________________________
 From: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
To: Marton Sigmond <marton_sigmond at yahoo.com>; MEncoder usage discussions <mencoder-users at mplayerhq.hu> 
Sent: Monday, February 13, 2012 9:38 PM
Subject: Re: [MEncoder-users] How to transcode MTS files recorded by Panasonic HDC-SD100 camera?
 
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