GIFs on the terminal
The terminal output is actual text
You can simply install it by running
$ make
Just make sure to have installed and setup the minimum required version of Go. You can find it in the go.mod file
$ gifterm <input.gif>
- cd: Character Density. Default ".,:-=i|%O#@$X"
- far: Font Aspect Ratio. Default 2.1
- fps: FPS. Default 12
- randomBlank: Set if a random character from CD should be picked for a blank pixel
The Font Aspect Ratio changes from terminal to terminal, this value works in mine, so make sure to play a round to find yours
$ gifterm -cd ".,:-=i|%O#@$X" -far 2.1 -fps 12 -randomBlank <input.gif>
Will produce something like this
Make sure to have installed ffmpeg and imagemagick and then run
$ ffmpeg -i <input.mp4> -vf "fps=12" -c:v pam -f image2pipe - | convert - input.gif