HowTo convert ogg to avi with mencoder

If I screencast something, than most of the time I do it with recordMyDesktop which produces .ogg-Videos. If you need to convert it so you can show it to your friend or upload it to a video hosting page like youtube or so you have to convert it into another format. I chose avi as format.

Simply fire up this command to convert your file:

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

  • out.ogg is the .ogg-file you want to convert
  • out.avi is the .avi-file you want to create
  • mp3lame is the used audio-codec (here mp3)
  • lavc is the used video-codec (here libavcodec)

For more information you can look at the MPlayer manual page.

Advertisements

23 Responses to “HowTo convert ogg to avi with mencoder”


  1. 1 Vincent October 13, 2007 at 9:24 pm

    Thanks, worked fine for me 🙂

  2. 2 Mike October 29, 2007 at 7:22 pm

    yeah, thanks for the tip

  3. 3 eric November 15, 2007 at 10:00 pm

    Works for me

  4. 4 Wisu January 20, 2008 at 4:48 am

    Simple yet effective… thanks… 😀

  5. 5 candtalan January 20, 2008 at 10:18 pm

    Many thanks!

  6. 6 Sérgio February 6, 2008 at 3:56 am

    Perfect ! Tank you so much !
    You are the man … man !

  7. 7 Sigizmund March 31, 2008 at 12:34 pm

    Merci, works fine for me.

  8. 8 Darkness.MKD April 7, 2008 at 9:47 am

    haha i love you man

  9. 9 mike April 24, 2008 at 4:30 pm

    kinda worked good for me. had a few errors in the terminal but it worked in the end. video quality was fairly low but worked. thanks.

  10. 10 em October 15, 2008 at 2:35 pm

    Yes, TQ v.much! Works like charms!

  11. 11 Dorito Style March 4, 2009 at 3:08 am

    Thanks a bunch

  12. 12 dieselp April 28, 2009 at 2:02 pm

    Thanks, for that. Was wondering what lavc meant. Most of the tutorials I’ve found go straight in at the deep end.

  13. 13 fausto May 2, 2009 at 3:53 pm

    thanks !!!
    that was easy and very helpful
    regards, fausto

  14. 14 Sharoon Thomas May 23, 2009 at 5:13 am

    Easy and helpful

    Thanks

    http://sharoonthomas.blogspot.com

  15. 15 johnbstroud May 25, 2009 at 10:31 pm

    mencoder out.ogv -o out.avi -oac mp3lame -ovc lavc -audiofile audio.wav

    you an all so do this .. worked for me.

  16. 16 Alex June 21, 2009 at 3:56 pm

    Thanks for this – exactly what I needed to know 🙂

  17. 17 Christian July 6, 2009 at 3:40 pm

    Hi,

    I did found mencoder, because sudo apt-get install mencoder didn’t work. After googeling I found out, that the multiverse repository had to be enabled and after a sudo apt-get update I only had to call the sudo apt-get install acidrip command.

    Christian

  18. 18 Manish September 29, 2009 at 8:09 pm

    Thanks a lot.

    I had to convert ogg files to avi so that I can watch podcasts on my Nokia 5800 when I am on move.
    Sadly 5800 XpressMusic doesn’t support ogg. 😦

  19. 20 Chris May 24, 2010 at 1:58 am

    try http://www.oggconvert.com nothing to download, it’s all online

  20. 21 Anonymous August 24, 2011 at 11:25 pm

    Danke worked like a charm

  21. 22 Pavel Vranka September 19, 2011 at 7:04 am

    That was exactly what I was looking for. Thank you very much


  1. 1 Grabar video del escritorio y convertir ogg a avi (istanbul y mencoder) para Linux (probado en Debian) « Richie Blog Trackback on October 14, 2008 at 6:08 am
Comments are currently closed.




%d bloggers like this: