Last active
April 8, 2023 00:37
-
-
Save thomashollier/a026111c04b60087681a1fbb996b79cd to your computer and use it in GitHub Desktop.
ffmpeg recipes
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
| # ffmpeg filter, force landscape (or keep as is if already landscape) and | |
| # rotate so top left and bottom right corner line up in the middle of the final frame | |
| -vf 'transpose=2:passthrough=landscape,rotate=atan2(iw\,ih):ow=sqrt(iw*iw+ih*ih)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment