[MPlayer-users] Mencoder lavc/mpeg4 output - no audio under WIn32 ?!
Adam Nielsen
a.nielsen at optushome.com.au
Mon Nov 10 16:37:38 CET 2003
At a rough guess, I think the problem is -oac copy. With your second command
you probably wouldn't need to specify it at all, as audio isn't used during
the first video encoding pass, and when you specify it in your third command,
it's copying the audio out of the MPEG file (in I assume MPEG2, layer-2
format) and putting that in the AVI. And when I tried doing that myself,
there doesn't appear to be a Windows codec that can handle MPEG2 layer-2
audio (well, not outside a dedicated DVD player program anyway.)
What happens if you move the -oac mp3lame and -lameopts to the third command?
Does that work? Basically I think the problem is the first command is
generating the MP3 audio, but then it's just being ignored, and not saved
into the final AVI file. (If you play the final AVI with mplayer, it should
tell you what format the audio is in.)
Cheers,
Adam.
----- Original Message -----
From: Kingsley <kingsley at maddogsbreakfast.com.au>
To: mplayer-users at mplayerhq.hu
Sent: Monday 10 November 2003 18:44
Subject: [MPlayer-users] Mencoder lavc/mpeg4 output - no audio under WIn32 ?!
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hi,
I've converted some MPEG2 video to xvid, but when I play it on
a windows box (works fine under linux) there is no codec for the
audio.
I've installed xvid codecs, divx too, even the "Nimo codec pack",
still no deal... even virtual-dub gives up on it.
Any ideas?
My typical command lines are: (3 passes)
mencoder -ovc frameno -o frameno.avi -oac mp3lame -lameopts cbr:br=128:vol=9
mencoder -ovc lavc -lavcopts
vpass=1:vcodec=mpeg4:vbitrate=888:vhq:v4mv:vqmin=2:aspect=1.7777 \
-oac copy -vop scale=480:352,pp=0x200000,crop=530:574:95:0 \
<input-file> -o <output-file>
mencoder -ovc lavc -lavcopts
vpass=2:vcodec=mpeg4:vbitrate=888:vhq:v4mv:vqmin=2:aspect=1.7777 \
-oac copy -vop scale=480:352,pp=0x200000,crop=530:574:95:0 \
<input-file> -o <output-file>
I can supply a sample input & output if anyone thinks it necessary.
I've been searching for a solution to this for weeks!
I tried using vbr - same result.
thanks,
-kt
More information about the MPlayer-users
mailing list