Take the 2-minute tour ×
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
add comment

6 Answers

up vote 7 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
add comment

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
add comment

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
    
For further reference: use ffmpeg -vf –  nbubis Oct 18 '13 at 22:59
add comment

If you are willing to trust a web-based solution you can do the following:

  1. Go to video.online-convert.com.
  2. From left menu, choose what is your desired file format (select avi or mp4 if you don’t know much about this)
  3. Choose your file, it can be of any size and format
  4. Without changing or entering any settings, just choose to which angle you want to rotate your video
  5. Press “Convert button” and wait for the file to upload and convert.
  6. Converted file will be automatically downloaded

Source

share|improve this answer
1  
Answers should be more than just a link, can you please summarize the video in your answer? –  patrix Aug 28 '13 at 4:32
    
Sorry, it's not a video, it's a tutorial. This tutorial is simple as compared to Wikihow's method where they tell you to download software and other complex methods that are difficult for basic users. I've edited and simplified my answer. –  user55955 Aug 28 '13 at 5:14
1  
The idea is to make answers stand on their own. Links may break rendering link-only answers useless. –  patrix Aug 28 '13 at 5:49
add comment

Use the ⌘ Cmd+Shift+L, R, etc. when you open the video in Quicktime. That should do the trick.

share|improve this answer
add comment

Just open QT and it automatically rotates it. Then simply export it.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Mark Jul 20 '13 at 20:07
add comment

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

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.