Get the latest tech news
Gifski: Optimized GIF Encoder
GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format. - ImageOptim/gifski
gifski converts video frames to GIF animations using pngquant's fancy features for efficient cross-frame palettes and temporal dithering. The tool optionally supports decoding video directly, but unfortunately it relies on ffmpeg 4.x, which may be very hard to get working, so it's not enabled by default. Details depend on the platform and version, but you usually need to install packages such as libavformat-dev, libavfilter-dev, libavdevice-dev, libclang-dev, clang.
Or read this on Hacker News