Convert wma to mp3
March 25th, 2008
This is a little script I use to convert wma to mp3 in Linux. Thought I would share it with the world.
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$i" && lame -m j -h --vbr-new -b 160 audiodump.wav -o "`basename "$i" .wma`.mp3"; done; rm -f audiodump.wav
Entry Filed under: Linux
4 Comments Add your own
1. Donncha O Caoimh | March 25th, 2008 at 13:48
Mozilla Firefox 2.0.0.9 on
Linux
I knew that bit of code looked familiar! Thankfully I haven’t had to convert any wma files in a long time. It’s funny how you forget all these little things when you’re not dealing with Windows users any more. :)
2. thesraid | March 25th, 2008 at 14:43
Mozilla Firefox 2.0.0.12 on
Ubuntu Linux
lol. I couldn’t remember where I found it. I hope I haven’t infringed on any copyrights?
3. Donncha O Caoimh | March 25th, 2008 at 15:23
Mozilla Firefox 2.0.0.9 on
Linux
Hardly! Glad it came in useful!
4. Ann | March 26th, 2008 at 15:00
Mozilla Firefox 2.0.0.12 on
Windows Vista
Thnx it`s very useful. Cause my brother use Linux and he has a problem with it :) I use Vista so use MelodyCan converter (http://www.melodycan.com)
Leave a Comment
All comments are moderated and will not appear automaticallySome HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed