Aug 14, 2020 Gifsicle. Gifsicle manipulates GIF image files. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency; add delays, disposals, and looping to animations; add and remove comments; flip and rotate; optimize animations for space. Here you will find my Windows binaries of Gifsicle, a command-line utility for working with GIF images. Gifsicle-1.92-win32.zip - Gifsicle 1.92 for 32-bit Windows versions gifsicle-1.92-win64.zip - Gifsicle 1.92 for 64-bit Windows versions.
Gifsicle Gui
# Author: @vitovalov |
# Description: pass it a mp4 and you will have a gif |
# Dependencies: ffmpeg, gifsicle |
if [ '$#'-le 1 ];then |
echo'nUsage: sh gifit.sh <source path to original mp4> <delay between frames>' |
echo'Warning! filenames shouldn't contain the extensionn' |
exit 1 |
fi |
ffmpeg -i $1.mp4 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=$2>$1.gif |
commented Jul 10, 2018
Great stuff. Your second argument is undocumented. I passed zero as the second argument like |
commented Feb 14, 2019
Here is my version which I tried to optimise ~ hovever Gifsicle seems to not reduce the file size much when already using a palette. This script can be used as a service in Mac Automator for a quick right click action. Outside of mac you'll have to either remove |