[MEncoder-users] Is it possible transcode a MTS file created by Sony DV using mencoder?

Jan Ehrhardt phpdev at ehrhardt.nl
Sat Sep 15 19:55:19 CEST 2012


littlebat in gmane.comp.video.mencoder.user (Thu, 6 Sep 2012 18:09:12
+0800):
>Hi,
>I use mencoder to transcode a MTS file(test.MTS) created by Sony DV, but
>the result video file(test.mencoder.mkv) can't be playable. Here is my
>mencoder command line:
>MEncoder SVN-r35126-4.4.5 (C) 2000-2012 MPlayer Team
>
>mencoder -noconfig all \
>-demuxer lavf -ovc lavc -oac pcm \
>-lavcopts vcodec=mpeg4:vbitrate=256:aspect=16/9 \
>-vf scale=176:144,harddup \
>-of lavf -ofps 10 -lavfopts format=mkv \
>-o test.mencoder.mkv test.MTS 

All recent versions of mencoder (SVN 34000+) are having troubles with
MTS files.

Try it with mencoder SVN 33986 compiled with ffmpeg 0.8 git (really 0.8,
not 0.8.1 or something like that). Or, if you are on Windows, try
MEncoder Sherpya-SVN-r33883-4.2.5 (C) 2000-2011 MPlayer Team

MEncoder SVN-r33986-FFmpeg-0.8.git-4.7.1 (C) 2000-2011 MPlayer Team
mencoder -fps 50 -noskip -ofps 25 -mc 1 -demuxer lavf \
	-vf scale=176:144 -aspect 16:9 -sws 2 -lavdopts fast:threads=8 \
	-of lavf -lavfopts format=mkv -ovc lavc \
	-lavcopts vcodec=mpeg4:vbitrate=256:keyint=90 \
	-oac mp3lame -lameopts abr:br=64 -o test_mencoder.mkv test.MTS

Result: http://x32.elijst.nl/test_mencoder.mkv

-ofps 10 had a sound problem, -ofps 25 is better.

Jan



More information about the MEncoder-users mailing list