Sega Mega Drive and other gaming hardware on a cluttered workbench.

A Sega Mega Drive sits among stacked consoles, exposed cables, and electronics on a workbench.

Recently my iPhone has been doing that thing where it doesnโ€™t realise it is actually in landscape mode and captures my 4K video in portrait mode so everything is sideways. How fun! Thankfully Phil Harvey has created ExifTool that lets me change the display rotation metadata in MP4/MOV videos without re-encoding them or losing video quality. Playback software still needs to honour that metadata. I just wanted QuickTime to make this easyโ€ฆ Apple?

The following reports the current rotation metadata, in degrees:

exiftool -rotation FileName.mp4

Resetting it to 0 worked for my files; that angle is not a universal fix for every sideways video:

exiftool -rotation=0 FileName.mp4

Works a charm, if you find it useful throw the man some cash!

Sources