Created
July 13, 2012 17:00
-
-
Save kanreisa/3105987 to your computer and use it in GitHub Desktop.
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 | |
EXT="gif" | |
PTAG="rgif" | |
ONAME=$1_$PTAG.$EXT | |
ffmpeg -i "$1" -an -r 15 -bt 1024k -f mpeg1video -vcodec pam -s 320x176 - | convert -delay 1x15 -loop 0 -limit memory 64 -limit map 128 mpg: - gif: "$ONAME" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment