-
-
Save usametov/e368819a00c5d03672fcc519c83c2e40 to your computer and use it in GitHub Desktop.
Rotate a video with FFmpeg (100% lossless, and quick)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$INPUTVIDEO='input.mp4' | |
$OUTPUTVIDEO='output.mp4' | |
ffmpeg -i $INPUTVIDEO -metadata:s:v rotate="-90" -codec copy $OUTPUTVIDEO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment