17

I need to rotate a MP4 video by 90 degrees. There is software like Free Video Flip and Rotate available that does this but produces an AVI file.

Do you have any suggestions for a software to produce a MP4 that is in the same quality (and file size) as the original, just 90 degrees rotated? Does not have to be free software ;-)

quack quixote
  • 43,504
thegate
  • 173

8 Answers8

9
  1. Open Avidemux (free video editing software)
  2. Open your mp4 file.
  3. Choose a "Video Output" other than "Copy" [I chose "Mpeg4 ASP (ff)"]
  4. Choose Video > Filters (or in Windows, press Ctrl+Alt+F)
  5. Double-click "Rotate" to add that filter
  6. Choose 90 degrees
  7. Press "Close" to exit "Video Filter Manager"
  8. Save

(Thanks to @secret for getting me started, but his/her list of steps weren't complete.)

Raymundus
  • 103
Ryan
  • 2,388
8

If you actually recorded video in landscape mode, but phone erroneously saved in metadata that it is 90 degrees rotated (it happen to me today during helicopter flight) just download ffmpeg and use this command (completely lossless as it just writes new header - metadata):

ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=0 output.mp4
7

I used Avidemux, a free video editor.

This software allows you to rotate any movie.

In a drop-down list you can select the desired output format (e.g. MP4, AVI, FLV, etc.).

If using the MPEG-4 ASP setting in the video drop-down list, you will have to fiddle around with Quantizer setting (A higher number means reduced file size and less quality).

This tool is great when you capture a movie on your cell phone and want to send the movie to friends!

7
  1. Open Avidemux
  2. Press Ctrl+Alt+F (for Windows)
  3. Select Rotate
  4. Save
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
secret
  • 87
2

You can rotate an MP4 video using VLC and some awesome nice guy wrote a detailed set of instructions with screenshots here: http://www.wintips.org/how-to-rotate-and-save-a-video-using-vlc-media-player/ (Disclaimer: This post isn't spam, I have no connection at all to the site or the dude who wrote the instructions. I merely used the instructions to rotate a video of my baby daughter and so I'm just really grateful for it.)

1

The easiest method I've seen is with QuickTime (Pro), open Movie Properties, click Video Track, then go to Visual Settings and use the arrows to rotate as needed. Then close the Movie Properties, then do a File Save As.

Syclone0044
  • 1,328
1

I had many .mov files that needed rotation. I used Square 5 Streamclip and did not loose any quality. Super easy to save as in many file formats: http://www.squared5.com/svideo/mpeg-streamclip-win.html

larry
  • 11
0

There's no way to rotate a video without re-encoding it. So you can only appoximate the size and quality.

I recommend VirtualDub to do the rotation. It's free and fast.

fretje
  • 10,732