April 11, 2007 Leave a comment
Brigette recently took a movie and it was saved sideways. This is how to rotate it using mencoder.
$mencoder -vf rotate=2 -o outputmovie.avi -oac copy -ovc lavc origmovie.AVI
oac copy didn’t seem to work for me. Also, youtube wouldn’t take the output of this, but for some reason it would take the mpg below.
$mencoder -oac mp3lame origmovie.AVI -ovc lavc -lavcopts vcodec=mpeg4 -vf rotate=2 -o outputmovie.mpg
oh. rotate=2 will rotate counter clockwise. For more options or explanations on options, use my man friend.