Before you knock me for using mp3 instead of ogg, read all the way through.
A friend had some wma files I wanted, but I wanted them in mp3 format, not wma, so I looked into some windows converters, so that she could do it on her box. All the good ones where $-ware, and didn’t even seem that cool. So I went hunting to see what I could find in Linux.
It’s a very small bash script that uses mplayer and lame to do the conversion. It can convert from anything that mplayer can play (which is a lot) to anything you care to put into the script. The default is lame to go to mp3, but you could easily put in oggenc or something.
The flexibility of going from anything mplayer can play to any encoder you care to insert is very very cool.