[MPlayer-users] mencoder "-of mpeg" switch results in no audio(0.92-3.2)
Nico
nsabbi at tiscali.it
Thu Apr 1 12:40:55 CEST 2004
ixnei wrote:
> Hi,
>
> I am trying to convert some 320x240 mpegs I have into VCD format, so I
> can put some home movies onto CDs. I can use the following script, and
> it works just fine:
>
>
> mencoder -vop scale=352:240 -o output.mpg -oac mp3lame -lameopts
> cbr:preset=224 -ovc lavc -lavcopts
> vcodec=mpeg1video:vbitrate=1150:aspect=1.3333 input.mpg
>
>
> However, it results in an AVI, which is not compatible with vcdimager.
> If I add the "-of mpeg" switch, it produces an mpeg file, but the sound
> track just has a pop at the beginning, then dead air. If I used "-oac
> copy", no sound channel is even detected/created in the mpeg file.
>
> If I do not use the "-of" switch, either "-oac" switch tested above
> works just fine (but I get an AVI file). Am I doing something wrong? Is
> this something known about, that is fixed in the 1.0pre series (I see
> this "-of" switch is BETA for this version)?
>
> Thx!
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
if you want to create a vcd you have to convert your audio track to mp2:
mencoder -vf scale=352:240 -of mpeg -o output.mpg -oac lavc -ovc lavc
-lavcopts
vcodec=mpeg1video:vbitrate=1150:aspect=4/3:acodec=mp2:abitrate=224
input.mpg
and be sure you are using mencoder 1.0pre or mencoder-cvs
More information about the MPlayer-users
mailing list