[MPlayer-users] coding into mpeg
Nico
nsabbi at tiscali.it
Tue Apr 6 08:51:14 CEST 2004
Philipp Wollermann wrote:
> 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 MPEG files.
> 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 files.
> To change MEncoder's output file format, use the -of mpeg option.
>
it can: -oac lavc -lavcopts acodec=mp2:abitrate=224:.....
use 1.0prex
> Example:
> 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.
>
> Philipp
More information about the MPlayer-users
mailing list