practicalli / practicalli/practicalli.github.io

Article: generate animated gifs

Open
#26 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Animated gifs are a convenient way to show features of a tool.

The art of a great animated gif is to clearly demonstrate information, so the gif should

  • not be too fast (or incredibly slow) - Emacs
  • should be obvious what is being shown (commands and key bindings used should be clearly understood)
  • should be easy to see on all devices (ensure text is big enough, good contrast between text and background)
Desktop tools
  • https://github.com/phw/peek#ubuntu - looks very good, although Ubuntu PPA version not installable on my Linux setup (Regolith Linux) - TODO: try peek flatpack or appimage install
Command line tools
GifSki

Convert any video to an animated gif.

Create a screen capture video using any tool, e.g. OBS, simplescreenrecorder. Save the video. Carry out any edits required using a video editor, e.g. Blender. Convert the final video into an animated gif.

Installed as a debian package (other options available) using dpkg -i package-name.deb

Does a good job by default

gifski -o animated-gif-name.gif video-screencast.mkv  

Set frames per second to reduce size of gif

gifski --fps 10 -o screengrab-fps10.gif screengrab-2022-03-06_15.51.41.mkv  
Emacs projects
Emacs Director - automating screencasts

Automate Spacemacs using Emacs in a terminal (GUI not supported).
Write a script that types out actions at a consistent pace
https://www.philnewton.net/blog/emacs-animated-gifs/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue's guidance on GIF pacing, readability, and key bindings, then test the referenced GifSki and Emacs Director workflows. The article is done when it documents a reproducible animated-GIF workflow, including the shown commands and relevant Emacs or terminal limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs
Domain
content, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.