Created
October 25, 2020 18:41
-
-
Save fquffio/7389297f853ca1f6185c9e9883fa1724 to your computer and use it in GitHub Desktop.
Convert video to GIF
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/sh | |
INPUT=myvideo.mov | |
OUTPUT=myvideo.gif | |
ffmpeg -y -i $INPUT -filter_complex "fps=10[x]; [x]split[x1][x2]; [x1]palettegen[p]; [x2][p]paletteuse" $OUTPUT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment