[MPlayer-users] can mplayer record a stream to mp3 in windows?

Nico Sabbi Nicola.Sabbi at poste.it
Sat Sep 22 09:11:27 CEST 2007


Christopher Gokey wrote:

>Can I record a stream to mp3 using windows in one step using mplayer?
>e.g.,
>Some command arguments like this:
>mplayer --dump-stream --format mp3 --out_file=file.mp3 <url.rm>
>
>Is this possible with mplayer?  If not, does someone know of a command
>line application that can do this in one statement?  I know it can be
>done with lame in 2 statements, but I really need to do it as 1 in
>"windows"...
>
>Chris
>  
>
if the stream contains at least a video track you can use
$ mencoder -of rawaudio -oac lame -lameopts ... url.rm
otherwise
$ mencoder  /dev/zero  -demuxer rawvideo  -rawvideo w=200:h=200:fps=25  \
    -of rawaudio -audiofile url.rm  -ovc frameno -of rawaudio -oac 
mp3lame -o x.mp3 



More information about the MPlayer-users mailing list