May 07, 2006 23:12
That is simple..This is how I do it:
mplayer -vo null -vc dummy -af volume=2:sc,resample=44100 -ao pcm:waveheader /home/shivku/hdrive/Music/Green\ Day/When\ I\ come\ around.wma && lame -m s audiodump.wav -o /home/shivku/hdrive/Music/Green\ Day/When\ I\ come\ around.mp3
You should, ofcourse write a script to go pick up all wmas and convert them to mp3s. If you are using MPlayer-1.0pre7try2 like me, make sure you get that -af part right...
af volume=2:sc,resample=44100
without the volume part there, mplayer seems to crash. It is apparently a bug.
Also, -waveheader is deprecated..It is gotta be,
-ao pcm:waveheader
Ensai!
wma mp3 mplayer wma2mp3 lame