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: