[MPlayer-users] Converting audio (ASF to mp3/ogg)

j.a.l j.a.l at free.fr
Fri Apr 25 18:50:03 CEST 2003


Moritz Bunkus wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 
> 
> ------------------------------------------------------------------------
> 
> Hi.
> 
> 
>>You can extract the audio to PCM (.wav) file, and then re-encode using
>>your favourite encoder. If you want to encode to mp3, the documentation
>>actually do help. Hint: look for -oac option for mencoder.
> 
> 
> No. mencoder is a _movie_ encoder. Use mplayer -dumpaudio (or -ao pcm
> -aofile ...) to extract the audio into a WAV and then either oggenc or
> lame. mencoder cannot be used to encode audio only files.
> 
> 
> 

true : mencoder is a movie encoder ( and for far, the best ).
wrong : you do can create mp3 with mencoder / mplayer, useful when 
extraction audio stream of a movie to external audio ( additional audio 
language and you don't want to bother you with ogg... )

mencoder -oac mp3lame -lameopts <lame options> -ovc frameno -o audio.tmp 
<source, stream or dvd>
mplayer -dumpaudio -dumpfile audio.mp3 audio.tmp
rm audio.tmp

you may use fifo to avoid any use of hdd too.



More information about the MPlayer-users mailing list