Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I just recorded a video on my phone, but when I play it on my Mac it's in the wrong orientation.

How can I rotate the video by 90 degrees so that I can upload it to youtube?

Free solutions are preferred.


I just found out how to do it using YouTube's Video Editor which has rotate left/right buttons.

But this is not an answer how to rotate on Mac.

share|improve this question

3 Answers

up vote 5 down vote accepted

You can use MPEG Stream Clip: http://www.squared5.com/svideo/mpeg-streamclip-mac.html

Simply open the file and choose to export it from the file menu in a format of your choosing, selecting the appropriate rotation in the selection box.

You can find out the current format of the video by choosing File > Show Stream Info as to match the export to the input settings if required.

share|improve this answer
MPEG Streamclip is one of the best applications! +1 for an awesome recommendation! – daviesgeek Sep 19 '11 at 1:33
2  
It may be great but it's totally unnecessary for this task. QuickTime is fully capable of this. – Samuel Mikel Bowles Sep 19 '11 at 1:41

Use QuickTime to Rotate Videos

You don't need to use any 3rd party tools to do this. It's built right in to QuickTime Player.

Any file that can be opened in QuickTime can be rotated by choosing Edit > Rotate Left (or Right) or by typing Command-Shift-L / R.

If you alter a movie file in this way and attempt to close the file (Command-W) you will be prompted to save your changes. Save them to a new file and you will have a newly rotated video.

Share your Video on YouTube with QuickTime

QuickTime also has a built-in way to share your video on YouTube. With the video open (and correctly rotated now) select Share > YouTube...

share|improve this answer

Using ffmpeg you have a few techniques:

ffmpeg -i in.avi -vf "transpose=1" out.avi
ffmpeg -vfilters "rotate=90" -i input.mp4 output.mp4

You might need to build a recent version from source to get some of those options to work.

Using mencoder:

mencoder -oac copy -ovc lavc -vf rotate=1 original.mp4 -o 90_CW_rotated.mp4 
mencoder -oac copy -ovc lavc -vf rotate=2 original.mp4 -o 90_CCW_rotated.mp4

Sources: ffmpeg, mencoder

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.