[MPlayer-users] Using ogg file for audio
Fabrice DELENTE
fabrice.delente at free.fr
Tue Aug 27 17:47:02 CEST 2002
On Tue, Aug 27, 2002 at 04:59:28PM +0200, Dominik Mierzejewski wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Tuesday, 27 August 2002, Fabrice DELENTE wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hi all.
> >
> > I have an mpeg-file with two audio tracks. I want to keep only one of those
> > tracks (the other one is a commentary and I don't want it).
> >
> > So I used mpgdemux from the mpgtx-1.1-Glibc2.2 package. I got three chunks,
> > one video and two audio. I identified the audio track that I wanted, and it
> > turned out to be mp2 audio; so I used mpg123 to turn it into wav, and then
> > oggenc to get an ogg-audio file.
>
> Why are you decoding the audio to wav and then encoding it to ogg?? This
> doesn't make any sense. Especially, when you...
>
> > So far, so good.
> >
> > But when I want to make an avi out of the video chunk and this ogg file, I
> > get a segfault! Here is the GDB output:
> >
> > $ gdb mencoder
> [...]
> > (gdb) run chunk-0.m2v -vop scale=480:360 -audiofile audio.ogg -forceidx
> > -oac mp3lame -lameopts q=1:vbr=3
>
> ... reencode it back to mp3 again.
>
> Just use the extracted mp2 track for audio and reencode it straight to mp3.
>
> --
> MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
> "The Universe doesn't give you any points for doing things that are easy."
> -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
Ok, I got lost in that long command line and didn't see that! My mistake :^)
See you.
--
Fabrice DELENTE
E-mail : fabrice.delente at free.fr
More information about the MPlayer-users
mailing list