Hacker News new | ask | show | jobs
by geokon 1938 days ago
Yeah but this actually not very good. The good GIFs don't redraw the static areas of the image. You can see it in the keyboard gif

As far as I know there is no automated tool to do it though. It's done manually by the meme lords

Also dialing in the quality is some black magic and not only about adjusting the fps. You can adjust the image size and bitdepth and other parans. This is also not automated and ffmpeg makes it very cumbersome to dial in the right parameters to get decent quality and small file size

I'd actually be really interested to know if there is a better reference out there

1 comments

There has been an automated tool to not redraw stuff for ages. It's called gifsicle, and you should absolutely give it a try. It also does very good lossy compression.

    https://www.lcdf.org/gifsicle/
    https://kornel.ski/lossygif (merged into gifsicle)
Even imagemagick's convert can the static stuff.

As for the palette stage, that depends on ffmpeg to get things right. I find the guide at https://superuser.com/a/556031 a lot more comprehensive.