Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ubild a gif from a screencast in linux
sudo apt-get install imagemagick mplayer gtk-recordmydesktop
mplayer -ao null output.ogv -vo jpeg:outdir=output
convert output/* output.gif
convert output.gif -coalesce -repage 0x0 -crop 1200x630+22+60 +repage output-crop.gif
convert output-crop.gif -fuzz 10% -layers Optimize output-crop-opt.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment