Created
January 12, 2024 13:55
-
-
Save joeyguerra/05b85e3c1a4adf52c1ef6e751f5d70a8 to your computer and use it in GitHub Desktop.
create a gif from a Mac OS screen cast
This file contains 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
#!/usr/bin/env bash | |
ffmpeg -i /Users/joeyguerra/Desktop/Screen\ Recording\ 2024-01-10\ at\ 1.37.01 PM.mov -vf "fps=10,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 out.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment