[MEncoder-users] [solved] Re: mencoder to generate mp4 files for Motorola A1200

Kasper Bonne kbonne at gmail.com
Sun Oct 25 14:42:27 CET 2009


On Sun, Oct 25, 2009 at 08:35, Zhang Weiwu <zhangweiwu at realss.com> wrote:
> Think I am very close to "the perfect solution" where I could use a
> single mencoder command line, this is what I tried:
>
> $ mencoder dvd://01 -endpos 2000 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=250 -vf scale=320:240 -oac lavc -lavcopts acodec=libfaac:abitrate=12 -af channels=1 -af lavcresample=8000 -of lavf -o movie.mp4
>
>
> You can see I am trying to let mencoder does the 'ffmpeg -ac 1 -ab 12200
> movie.mp4" part. I don't know why the resulting file always fail to
> play, and real play doesn't give more detailed information except that
> it cannot play.

I don't know if it will make any difference but you might try to
combine your separate "-lavcopts" and "-af" options into one, e.g.:

$ mencoder dvd://1 -endpors 2000 -ovc lavc -oac lavc -lavcopts
vcodec=mpeg4:vbitrate=250:acodec=libfaac:abitrate=12 -af
channels=1:lavcresample=8000 -vf scale=320:240 -of lavf -ofps 23.976
-o movie.mp4

seems cleaner in any case.


More information about the MEncoder-users mailing list