I have a couple of videos on Google Photos. Now some of them were rotated automatically, others not.
How can I manually rotate them? I want to avoid download, rotate and re-upload!
I have a couple of videos on Google Photos. Now some of them were rotated automatically, others not.
How can I manually rotate them? I want to avoid download, rotate and re-upload!
Google plus is not available anymore.
The old Google+ Photos can rotate video's (seems like this functionality is still missing). Simply go to https://plus.google.com/photos. It will redirect you to photos.google.com but you'll have the option to go back to Google+ Photos. Click that option, open your video and use the rotate tools on top.
Thanks to this reddit post: https://www.reddit.com/r/google/comments/3d47pk/can_google_photos_rotate_videos/
One workaround is to add rotation metadata to the original video file using ffmpeg, which can be done without having to reencode the original video. Unfortunately as you can imagine this requires the original video to be re-uploaded to Google Photos.
e.g.
Rotate the video 90 degrees clockwise (https://stackoverflow.com/a/31683689/399105)
ffmpeg -i input.m4v -map_metadata 0 -metadata:s:v rotate="90" -codec copy output.m4v
Copy metadata (https://video.stackexchange.com/a/28599/34178)
(Note that exiftool is smart enough not to overwrite the newly-added rotation metadata)
exiftool -TagsFromFile input.m4v "-all:all>all:all" output.m4v
Share the video from google photos to google plus (you may have to create a collection to share it to.) Rotate it on google plus - it will rotate on photos too.
A hack, but if you can find the element in the middle of the page that displays the video, you can use the Chrome dev tools to apply a CSS transform to rotate it.
Locate the element using the dev tools then add this CSS:
transform: rotate(270deg);
You may need to adjust the number of degrees. Not ideal, but it works.