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 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).







0 Responses to “Convert WMA to MP3 in Ubuntu”