[MPlayer-users] coding into mpeg
phil_wo at gmx.net
Tue Apr 6 08:24:59 CEST 2004
The mplayer documentation says:
7.2. Encoding to MPEG format
MEncoder can create MPEG (MPEG-PS) format output files. It's probably
useful only with libavcodec's mpeg1video codec, because players - except
MPlayer - expect MPEG1 video, and MPEG1 layer 2 (MP2) audio streams in
This feature is not very useful right now, aside that it probably has
many bugs, but the more importantly because MEncoder currently cannot
encode MPEG1 layer 2 (MP2) audio, which all other players expect in MPEG
To change MEncoder's output file format, use the -of mpeg option.
mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy
other_options media.avi -o output.mpg
I haven't tested it but it should work. Just replace vcodec=mpeg4 with
vcodec=mpeg1video in your cmdline.
[ David ] wrote:
>and what if I would like to code some jpeg whitout the DivX codec ?
>Alle Mon April 5 2004 18:05, The Wanderer ha scritto:
>>[ David ] wrote:
>>>I would like to code some jpeg into a mpeg (not a mpeg 4 but only a
>>>mpeg). Which is the string ?
>>>mencoder "mf://*.jpg" -mf fps=25 -audiofile suono.wav -ovc lavc
>>>-lavcopts vcodec=mpeg4 -oac copy -o movie.avi
>>>but with this I obtain a DivX.
>>>Anyone can help me ?
>>Add '-of mpeg' to your commandline. This won't necessarily solve all
>>your problems, but it will give you an MPEG container instead of an AVI.
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
More information about the MPlayer-users