[MEncoder-users] Create standard MPEG PS with MPEG 1 video and MP2 audio

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Apr 7 10:52:40 CEST 2007


Simon Oualid wrote:
> Hello,
> 
> I am using Mencoder to create various type of files and I am really 
> enjoying
> it, but I cannot find the right command line in that'll create a MPEG PS
> file (audio + video) that will play on a default installation of MS Windows
> (with WMP).
> 
> I think MPEG1 video and MP2 audio should work, but I am still having
> troubles after many tries. Any help would be greatly appreciated, thank you
> ! :)
> 
> Here is the command line I currently use (I tried lot of variations,
> including the usage of lavf muxer instead of Mencoder one... I also did 
> some
> tries with different muxrate and resolution) :
> 
> ---
> mencoder test.avi of mpeg -ovc lavc -lavcopts
> vcodec=mpeg1video:vbitrate=1000 -mpegopts format=mpeg1 -ofps 25  -oac lavc
> -lavcopts acodec=mp2:abitrate=224 -vf harddup -o test.mpg
> ---

these 2 were reported to work (of course in mutual exclusion):
- -mpegopts format=mpeg2
- -lavfopts format=vcd



More information about the MEncoder-users mailing list