Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bunch of OGG files that I would like to convert to WMA (v9) format.

Is there a native Ubuntu tool I can use for this? (Since WMA is a proprietary format, I'm guessing that there won't be a tool that does this in the repos.)

share|improve this question
but why that's like converting wine in to water – Allan Mar 16 '11 at 19:38
@Allan: We had better get a good answer... this is already climbing up in the search results for 'ubuntu convert ogg wma' :) – Nathan Osman Mar 16 '11 at 19:51
@allan: I'd say gold into mud (to not say sh*t). – jokoon Mar 17 '11 at 10:05
up vote 8 down vote accepted

I have found a way to convert OGG files to WMA (v8) files using VLC:

  1. Launch VLC and go to File->Convert / Save

    enter image description here

  2. Add the files you want to convert by clicking 'Add...' and then click 'Convert / Save'

    enter image description here

  3. Select the destination file, remembering to append the .wma extension

    enter image description here

  4. Click the button to create a new profile (this only needs to be done once)

    enter image description here

  5. Give the new profile a name, and select 'ASF / WMV' for encapsulation

    enter image description here

  6. Click the 'Audio' tab and change the settings to match this image (or make any changes if you want a different bitrate or something):

    enter image description here

  7. Click 'Save' and select your new format

    enter image description here

  8. Now simply click 'Start' and your files will be transcoded

share|improve this answer

ffmpeg -i file.ogg -ac 2 -ab 128k file.wma

share|improve this answer

I really don't know enough about encapsulation and audio formats, and I have no idea why you'd want to take something good and make it worse, BUT...

VLC appears to have the functionality you required.

VLC convert dialogue

Not a full answer, but hopefully something to start you off.

share|improve this answer
Lol... I just finished a long tutorial answer with screenshots saying the exact same thing :P – Nathan Osman Mar 16 '11 at 20:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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