Rotate a video 90 degrees

Joined
Jan 3, 2006
Messages
2,283
Location
Ohio
Okay, I may have to turn in my geek badge on this one, because it seems like it should be simple, and it's driving me nuts. Shot a video on a Pixel phone. Brought it over to the computer, and it's in portrait mode, but it's turned 90 degrees. Google says Canva can do it. Okay, so I've turned it, except it lops off the sides. Tried it in Quicktime on my old iMac, and it just shows a black screen. I just want to turn the video 90 degrees. That's all.
 
The best way to do this is simply note a 90 degree rotation in the metadata of the file; this way nothing is re-encoded. FFMPEG is the way to go here but I am not sure that there is a GUI or even a Windows implementation. The command'd be:

Code:
ffmpeg -i /path/to/the/file.mp4 -c copy -metadata:s:v:0 rotate=90 /path/to/the/output.mp4

EDIT: LosslessCut is a FFMPEG GUI for Windows. https://losslesscut.net/

Your old iMac would not know what to do with the video that is most likely using the h265 codec. VLC and Handbrake will each re-encode the file; VLC will even "stream" it as I recall and that can lead to some sync and muxing issues, not to mention the artefacts of another encode.
 
Last edited:
Back
Top Bottom