Created
August 12, 2019 11:37
-
-
Save kumamotone/e6602f89b1d32ad0c26ff081247da4c5 to your computer and use it in GitHub Desktop.
Making GIF Animation by ffmpeg
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
osascript -e 'display notification "start" with title "GIF Encode"' | |
/usr/local/bin/ffmpeg -i "${@}" -filter_complex "[0:v] fps=8,scale=600:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" "${@}".gif | |
osascript -e 'display notification "Gif encode end"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
As a shell script
As a QuickAction of Automator
Ensure that
Pass input:
is set toas arguments
.