Rotate an avi or video file

Using linux we can rotate a video very easily using the command line.

mencoder -of avi -oac copy -ovc lavc -lavcopts vbitrate=7776000 -vf rotate=1 -ofps 25 -o output.avi input.avi
where 7776000 is the bitrate and 25 is the framerate, you can find out what your original files settings were by using:

ffmpeg -i input.avi
Note: that's a lowercase I

This rotates 90 degrees clockwise, to go anticlockwise use "rotate=2"

http://commacommacrash.com/2008/09/my-video-rotation-adventures.html?sho...