Created
August 4, 2017 08:27
-
-
Save e1himself/8e0d806d87d9490b267b86817e5d7ce9 to your computer and use it in GitHub Desktop.
gifify
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 | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: gifify INPUT OUTPUT" | |
exit 1 | |
fi | |
ffmpeg -i "$1" -r 10 -f image2pipe -vcodec ppm - | convert -delay 10 - "$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment