[MPlayer-users] muxing vorbis audio with mencoder?
Per Wigren
wigren at home.se
Sat Jul 20 22:36:01 CEST 2002
Ripping a DVD directly to DivX+Vorbis would be a wonderful feature IMHO...
Saturday 20 July 2002 19.50 skrev Alban Bedel:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi D Richard Felker III,
>
> on Sat, 20 Jul 2002 15:38:11 -0400 you wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> >
> > On Sat, Jul 20, 2002 at 02:37:28AM -0400, D Richard Felker III wrote:
> > > Anyone had success muxing vorbis audio into an avi file with mencoder?
> > > I'm using the following command line:
> > >
> > > mencoder foo.avi -audiofile bar.ogg -ovc copy -oac copy -noskip -mc 0
> > >
> > > Without -noskip, I get lots of (bogus) skipped frames, which corrupts
> > > the video since many I/P frames get lost. With or without that option,
> > > the audio doesn't work in the output file. Mplayer gives the following
> > > output:
> > >
> > > AVI OGG : Initial audio header is too small !!!!!
> > > [V] filefmt:3 fourcc:0x33564944 size:352x240 fps:23.98
> > > ftime:=0.0417 get_path('sub/') -> '/home/dalias/.mplayer/sub/'
> > > Detected audio codec: [vorbis] afm:10 (OggVorbis Audio Decoder)
> > > Initializing audio codec...
> > > Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
> > > dec_audio: Allocating 4096 + 65536 = 69632 bytes for output buffer
> > > OggVorbis: initial (identification) header broken!
> > > ADecoder init failed :(
> > > Couldn't initialize audio codec! -> nosound
> >
> > I think I found the problem. It appears that the ogg demuxer munches
> > the first packet (with all the header info) when it opens the stream.
> > Thus, -oac copy starts copying with the second packet, which is bogus.
> > Any suggestions on how to fix this?
>
> I'm working on it right now. I will also maxe a little cleanup with ogg in
> avi. Albeu
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list