Converting an .ogg File to .avi in Ubuntu

Album Cover: The Future

"The maestro says it's Mozart, but it sounds like bubble gum."
Leonard Cohen / Waiting For The Miracle

Posted on November 10, 2007 5:28 PM in Computers
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Once I had figured out how to do this, I immediately wanted to figure out how to record my desktop in Ubuntu so I could show it off here on my blog. However, once I had made a recording of my desktop, I had an .ogg file to work with. Unfortunately for me, Viddler doesn't like .ogg files, so I realized I'd be better of re-encoding the file in a more ubiquitous format like .avi. But how to do it?

Yet another post at the Ubuntu Forums saved the day. That post recommended the use of mencoder (which sounds like some sort of futuristic DNA-based sex-change device), so I tried to run the recommended command from the command-line:

mencoder ubuntu_flipping.ogg -o ubuntu_flipping.avi -oac mp3lame -ovc lavc

When I tried that, Ubuntu surprised me yet again, letting me know that the application was not yet installed, but that I could install it using apt-get install mencoder. So that I did.

Once the application was installed, I tried the above command again, and this time my .ogg file was re-encoded as an .avi file that I could very easily upload to Viddler or any other similarly picky video sharing site.


Free Hearts Online on July 19, 2018 at 2:30 AM:

Buddies, hearts is the most popular and millions of people are played this game, it is the best place for free time spending. i am big fan for this cards online hearts because he was increasing my patience skill.


Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.


Email Address:



Check this box if you hate spam.