Last active
November 9, 2021 13:11
-
-
Save nl5887/c0aeffc6b866ed3723a917584f7e1a9c to your computer and use it in GitHub Desktop.
Quicktime to Animated gif using FFMPEG
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
#!/bin/bash | |
# convert to gif (improved palette) and 5 second still at the end | |
ffmpeg -i sans.mov -filter_complex "fps=25,setpts=PTS/5,split[v1][v2]; [v1]palettegen=stats_mode=full,tpad=stop_mode=clone:stop_duration=5 [palette];[v2][palette]paletteuse=dither=sierra2_4a" -loop 0 sans4.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment