Convert WMA to MP3 in Ubuntu

mplayer logoIn order to convert WMA file into MP3 format in Ubuntu (or Debian) you should install the following requirements first:

1. mplayer (sudo aptitude install mplayer)
2. lame (sudo aptitude install lame)
3. win32 codecs (sudo aptitude install ubuntu-restricted-extras)

and then convert file.wma into file.mp3 using the following console command:

mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader file.wma;lame -m s -V 3 audiodump.wav;mv audiodump.wav.mp3 file.mp3;rm audiodump.wav

This also works for Fedora / Centos / Redhat family Linux distributions (requirements should be installed by yum package manager via third-party software repositories).

 
 
» You might also be interested in the following articles:
Convert Nero image (.nrg) to ISO9660 (.iso)
Two-way conversion of Unix time (seconds since 1970) and regular time
FAQ: How to open files .daa in Ubuntu
Download and convert YouTube video online and offline
Convert WMV into AVI with Ubuntu



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

3 Responses to “Convert WMA to MP3 in Ubuntu”


  1. 1 yo keller

    the script worked very well in my Ubuntu config – given the prerequisites (I had to install lame)

    thanks
    yo

  2. 2 nrg-1

    Actually start reading your blog it is actually really helpful i shall definately keep an eye on your blog, you have turned me into a frequent reader.Do you have a newsletter i can subscribe to ?

  3. 3 nrg-1

    Actually checked out your post it’s quite illuminating i shall certainly keep an eye on your blog, you have turned me into a constant reader.Do you have a newsletter i could sign up to ?

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››