-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool to rotate video files #76
Comments
Thank you for submitting this! - However... could it be simpler just as a ffmpeg command line? Is the python code required? If it were an ffmpeg command line I'd be happy to include it in the docs. |
I've used both ffmpeg and exiftool to accomplish adding the rotation metadata to a file when I forgot to unlock the orientation lock on the gopro, and recorded with it upside down. Note this just adds the rotation metadate which many players will support. Neither of these actually re-encodes the file with a rotation applied to the video stream. If you need to do that, the commands below are not what you need. ffmpeg command: exiftool (this will make a copy of the file with the metadata applied: |
Add this filter line to an ffmpeg profile will rotate the source video 180 deg during the gopro-dashboard.py rendering step:
Adjust the "rotate=PI" argument for other rotation angles (e.g. PI/2) |
Hi,
I made a little tool to rotate video files as the orientatation sometimes is wrong. I mount my gopro upside down on my bike.
It rotates the video by setting metadata in the file.
main...kfhdk:gopro-dashboard-overlay:rotate
The text was updated successfully, but these errors were encountered: