Rotating a movie with mencoder

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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: