Home » Distros » Centos » Convert Wma To Mp3 In Ubuntu
In 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
;lame -m s -V 3 audiodump.wav;mv audiodump.wav.mp3
This also works for Fedora / Centos / Redhat family Linux distributions (requirements should be installed by yum package manager via third-party software repositories).
My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.