Last modified on 4 March 2009, at 03:52

User:Rama/video commands

To convert from the MOV of the camera to the OGG of Commons, one needs

  • mplayer/mencoder
  • ffmpeg2theora


Mencoder is used to convert the file to AVI and apply transformations

  • Convert from MOV to AVI
mencoder -o film.avi -ovc lavc -oac pcm
  • Convert from MOV to AVI without sound
mencoder -o film.avi -ovc lavc -nosound
  • Rotating the thing by 90°
mencoder -o film.avi -vf rotate=2 -ovc lavc -nosound
  • Rotating the thing by 90° where intial file is avi
mencoder film1.avi -o film2.avi -vf rotate=2 -ovc lavc -nosound

(note names must differ)


Converts from avi to ogg.

ffmpeg2theora film.avi

outputs film.avi.ogg

Possible problems:

0:00:04.00 audio: 0kbps video: 507kbps                  
*** glibc detected *** double free or corruption (!prev): 0x0853dda0 ***