Last active
March 8, 2020 22:05
-
-
Save ollpu/8393a8485e1e6f96e683 to your computer and use it in GitHub Desktop.
giffer - Make a compressed GIF from any video file
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 | |
# First parameter describes the input video file | |
mplayer -ao null "$1" -vo jpeg:outdir=output | |
convert output/* fuzz 10% -layers Optimize output.gif | |
rm -r ./output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment