when trying to convert some audio files to Ogg Vorbis using Sound Converter I get the following error:

Python (v2.7) requires to install plugins to play media files of the following type: Windows Media Audio 8 decoder

Any idea where to get this codec or how to install it?

I'm using Ubuntu 14.04 LTS

  • What converter are you using? – Xweque Aug 8 '14 at 14:53
  • Sorry, that would have been helpful. It's called "Sound Converter". – tibsdoe Aug 9 '14 at 1:13
  • Does anyone have any ideas? – tibsdoe Aug 16 '14 at 22:05
  • I have the same problem trying to convert .wma to .mp3 your ...some audio files... are .wma? – blade19899 Aug 18 '14 at 13:40

No need to spend this ridiculous amount of money on some codecs! Use it to make a donation or buy some flowers instead. This is a free way:

Make sure to install both mplayer and lame. To do this open a terminal (Ctrl+Alt+T or Super+T) and paste (Ctrl+Shift+V) the following line and hit Enter to run:

sudo apt-get install mplayer lame

Enter your password when prompted.

Then navigate to the folder containing your WMAs and run the following command in the same terminal:

for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$i" && lame -m j -h --vbr-new -b 320 audiodump.wav -o "`basename "$i" .wma`.mp3"; done; rm -f audiodump.wav

This will create 320 kbps MP3s in the same directory, keeping the original files. These MP3s will not contain ID3 data (title, artist, album, etc). GMusicBrowser is excellent for modifying this information.

Thanks to Rory Alsop for the one-line script which needed a slight update. Here he also shows how to make it so that you can run this script in the future by typing a single word in the terminal.

| improve this answer | |
  • You have just saved me $25. I confirm this thing works well on ubuntu 14.04. Additionally, It's fast! – Vasyl Boroviak Feb 16 '15 at 3:51
  • Great, thanks! When I have some time, I will write the same script but traversing a whole library, including sub- and sub-sub-folders. – Deleplace Aug 3 '15 at 19:50

You probably will need the fluendo plugins package.

It is not free and has a price of $24.95.

This product contains plug-ins which allow you to play certain proprietary audio and video formats. These plug-ins are not included in the default Ubuntu distribution because they are not free software. Ubuntu is driven by strong support for the principles of free and open source software, and these principles govern what we can and will include in Ubuntu. However, we recognise the common need for plug-ins such as these, and offer them here to provide a safe and legal way for our users to play back video and audio in the formats they wish. These plug-ins automatically integrate with GStreamer, the multimedia framework that Ubuntu uses for video and sound applications.

The Fluendo Windows Media Pack provides plug-ins for all the common Windows Media formats. This pack includes:

  • Windows Media Audio Decoder (Windows Media 7, 8, 9, 10, Pro, Lossless and Speech)
  • Windows Media Video Decoder (Windows Media 7, 8, 9 and VC1)
  • Windows Media MMS Protocol Support
  • Windows Media ASF Demuxer MP3 Audio decoder LPCM Audio decoder
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.