Ubuntu: Convert wma to mp3
This bash script should create a .mp3 file for all .wma files in the current directory. Note that you need mplayer and lame installed - a ’sudo apt-get install lame mplayer’ should sort that out for you. Remember to chmod +x convert.sh your script to run it.
— convert.sh —
#!/bin/bash
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader “$i” && lame -m s temp.wav -o “`basename “$i” .wma`.mp3″ ; done
rm temp.wav
Note that the encoded MP3’s will have no ID tags on them. I’ll try to work that out when I’m more awake … Zzzzz …
Well talking about things multimedia and ubuntu…
http://ubuntustudio.org/
looks like an interesting project.