Skip to content

Instantly share code, notes, and snippets.

@TiagoTi
Created February 3, 2017 11:28
Show Gist options
  • Save TiagoTi/25b8887dc3b5b631dc502e07ca41579c to your computer and use it in GitHub Desktop.
Save TiagoTi/25b8887dc3b5b631dc502e07ca41579c to your computer and use it in GitHub Desktop.
How to create animated GIF images of a screencast?
sudo apt-get install imagemagick mplayer gtk-recordmydesktop
#Then use Desktop Recorder to capture a portion of the screen/application to use as the screencast.
mplayer -ao null <video file name> -vo jpeg:outdir=output
#Use ImageMagick to convert the screenshots into an animated gifs.
convert output/* output.gif
#you can optimize the screenshots this way:
convert output.gif -fuzz 10% -layers Optimize optimised.gif
#Referencê
#http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment