Thursday, February 12, 2009

How to Rotate a Video Taken by a Camera Using Mencoder

It was really essential to rotate a video before you post on to your blog or somewhere else if the video is taken in the other orientation from your camera. If you have mencoder, you can fire this command on the command line (I am considering Linux) from the place that you have your video file that you want to rotate.

mencoder -vf rotate=1 -ovc lavc -oac copy name_of_your_video_file.avi -o new_name_of_the_converted_file.avi

Change the names of the video file as described. Write the command continuously on the command line with relevant spaces.

If you don't have MPlayer or Mencoder you can download it from here.
http://www.mplayerhq.hu/design7/dload.html

No comments: