[MPlayer-users] Re: using mencoder to extract audio

bwnospam-sf1 at yahoo.com bwnospam-sf1 at yahoo.com
Fri Oct 15 03:28:44 CEST 2004



> >Coming back to you request, something like this
should work:
> >
> >mencoder ~/media/video/old\ school.avi -ovc copy
-oac lavc -lavcopts 
> >acodec=mp3 -noskip -ss 1441.4 -endpos 260.1 -o
tmp/part1.avi
> >mplayer -dumpaudio -dumpfile tmp/part1.mp3
tmp/part1.avi
> >rm tmp/part1.avi
> >
> >Giacomo
> > 
> >
> no, mencoder can't output raw audio files such as
mp3 (except pcm), and 
> btw you
> shouldn't use lavc to output mp3: use -oac mp3lame
-lameopts ... instead.
> Your only chance with mencoder is
> 
> $ mencoder ~/media/video/old\ school.avi -ovc
frameno -oac mp3lame 
> -lameopts br=128 -noskip -ss 1441.4 -endpos \
> 260.1 -o tmp/part1.avi

>Mmmm. I was already sleeping when I proposed -ovc
>copy. Of course 
-ovc frameno is better.
>And the raw mp3 file can be extracted with mplayer
-dumpaudio
>from the avi file.

>Giacomo

You guys are missing the point.  If you want to
extract the audio from a 3 hour concert video, that
can be done in minutes on a good machine with a
transcoder,  or it can be done in 3 hours with the
mplayer -dumpaudio technique.  

I'll attempt to elicit support from the developers
and/or develop a patch as time permits.  

-bryan




More information about the MPlayer-users mailing list