Friday, December 3, 2010

Convert OGV to AVI for youtube

Type this command in linux shell for converting OGV video files to AVI:

mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000

Converted video is directly uploadable for youtube.