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.

9 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… :D

  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.

Leave a Reply