Converting video in Ubuntu 10.04

So my problem was simple, I have an OGV file (OGG Video and Audio) recorded from a screencast by GTK-Record my desktop.

What I wanted was a simple MPG file to upload to the internet, etc. How did I manage it… read on

First things first – install Mplayer/mencoder

sudo apt-get install mplayer mencoder

Then you can proceed to do the conversion. Open up the Terminal application from “Applications, Accessories, Terminal”

Then change to the location of your original file using something similar to:

cd Desktop

Then enter the following command:

mencoder -idx input.ogv -ovc lavc -oac mp3lame -o output.avi

This will convert your original (in this case input.ogv) to the output file as an AVI (output.avi in this example) using an MP3 codec for the audio.

Once it completes test the file to ensure it still plays correctly.

That’s all you need do!

Related posts:

  1. Ubuntu – Stuck In Grub Command On Boot
  2. Ubuntu 10.04 Coming Soon!
  3. Remove and reinstall xserver on Ubuntu 9.10

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>