Pages

How to fix *.OGV file to upload on YouTube (for Ubuntu 10.04 LTS users)

Hi Guys,
Just sharing my experience with *.ogv, while I was trying to upload a video on YouTube.
I was using Ubuntu 10.04 LTS and used gtk-recordMyDesktop to record a screencast and uploaded the video on YouTube, I found that youtube is showing completely gabbled video.

I could not figure out the problem but i simply converted the video to avi and uploaded on youtube, problem solved!!

How to convert to avi?
Basically you have 3 options.

  1. Using mencoder.
  2. Using ffmpeg.
  3. Using DeVeDE.



The only option which worked really nice with me is mencoder (use following command)

mencoder input.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi

Problem with other 2 options ( i observed)

  1. DeVeDe was converting correctly, but messing up with the length of video.
  2. ffmpeg completely failed to convert (was gabbling the video like Youtube).

To install mencoder use ubuntu software center.

3 comments:

  1. I converted it to a Flash file on 10.10 using PiTiVi. Did a few settings and now it seems ok. The AVI option did not work for me. Also, the AVI file is about 10 times more larger than the OGV equivalent.

    ReplyDelete
  2. Dude. You are the man, you are the man, you are the MAN! Great fix, loving it for my Khan Academy-style stats videos. I'm heyandy889 on YouTube, if you're interested. :D

    ReplyDelete
  3. Thanks a lot! This is exactly what I needed - same OS, SW and setup you describe here. Using mencoder works great for me, and the .avi files are always smaller than the .ogv files.

    ReplyDelete

Your comment will inspire me, Please leave your comment