Live data from Hacker News

Gifski: Optimized GIF Encoder

github.com

31–40 of 65 posts

Re: Gifski: Optimized GIF Encoder

#31
post #9

Earlier quoted context omitted.

webm seems to be the modern replacement for GIFs in browsers. I would suspect gifs.com supports them. Somehow their site is buggy for me atm so I could not test it.

I wish WebM could be the standard. GIFs shouldn't even be used in 2024. It's a format of the past, with no upsides. I usually only need GIFs for GitHub readmes. GitHub doesn't support WebM autoplay videos. In texting, Telegram has introduced WebM stickers so there's at least a choice there.

WebM is just a container format, though it's usually used with VP9 and opus, and is functionally equivalent to using any other kind of actual video.

Animated GIFs remain quite useful for non-video animations where you don't want lossy compression, and want to use other GIF features like transparency. Animated PNGs are a potential replacement, and support all of the features of GIFs along with 24-bit color, but software support remains lackluster.

Re: Gifski: Optimized GIF Encoder

#32
post #6

I've used this for years and it's the best out there. Definitely use it for converting videos for Google Slides and such. But it's such a travesty that we're in 2024 and still using GIFs in place of videos. I guess it's not necessary on the web directly anymore, but so many other platforms, like Google, support GIFs but not videos. So we're all stuck encoding into an insanely space/cpu inefficient format just to get…

Many platforms already stopped using gifs, for precisely those reasons. Tumblr silently converts to animated webp when uploading a gif, imgur converts it to mp4, etc.

Re: Gifski: Optimized GIF Encoder

#33
post #26
post #6

I've used this for years and it's the best out there. Definitely use it for converting videos for Google Slides and such. But it's such a travesty that we're in 2024 and still using GIFs in place of videos. I guess it's not necessary on the web directly anymore, but so many other platforms, like Google, support GIFs but not videos. So we're all stuck encoding into an insanely space/cpu inefficient format just to get…

I think Google Slides supports video, the downside is that you need to upload them to Google Drive first

It does - or YouTube. But they will not auto play like a gif and take over the screen when playing.

feature requests for Google:

- inline video that auto plays and loops. This is like 1 line of html. Please do this!

- let me drag a video into the slide and just upload it for me and embed it

- or just convert videos to gifs for me when I drag in!!

Re: Gifski: Optimized GIF Encoder

#34

While on the subject of gifs, I'd like to recommend ScreenToGif. As the name suggests it supports screen recording, but the editor is nice for other gifs as well. It's easy to remove duplicate frames, change timing for all or some frames, etc. It can use ffmpeg and gifski for the gif encoding. https://www.screentogif.com/ Also, I just learnt this, gifski has integrated gifsicle for lossy gif compression.

I use it for Documentation (when interactive), for Teams with integrated short clips, for Powerpoint Presentations when I'm doing a live demo (having a second slide with the gif as a backup, when the live demo doesn't work).

The editor is minimal and has a non existent learning curve.

AFAIK screentogif even has the gifsky encoder plus a few others.

Re: Gifski: Optimized GIF Encoder

#35
post #24

Earlier quoted context omitted.

Are they actually GIFs? Some websites use looping videos and call them GIFs, even though they’re H.264 in MP4 or something like that.

> Some websites use looping videos and call them GIFs That’s exactly what they’re doing. Just used the web inspector on one of their GIFs. Imgur does the same thing.

Not from here. Here's one I got from their front page. https://j.gifs.com/qjOKXp.gif

The content-type response header is image/gif.

Re: Gifski: Optimized GIF Encoder

#36

Earlier quoted context omitted.

I wish WebM could be the standard. GIFs shouldn't even be used in 2024. It's a format of the past, with no upsides. I usually only need GIFs for GitHub readmes. GitHub doesn't support WebM autoplay videos. In texting, Telegram has introduced WebM stickers so there's at least a choice there.

Note that Github does support the slightly better animated WebP... as long as you change the file extension to .gif :)

Whoa! Really!? I gotta try that!

Re: Gifski: Optimized GIF Encoder

#37
post #24

Earlier quoted context omitted.

> Some websites use looping videos and call them GIFs That’s exactly what they’re doing. Just used the web inspector on one of their GIFs. Imgur does the same thing.

Not from here. Here's one I got from their front page. https://j.gifs.com/qjOKXp.gif The content-type response header is image/gif.

Interestingly you can change the `.gif` to `.mp4` and you get a video _with_ audio.

Re: Gifski: Optimized GIF Encoder

#38
post #6

I've used this for years and it's the best out there. Definitely use it for converting videos for Google Slides and such. But it's such a travesty that we're in 2024 and still using GIFs in place of videos. I guess it's not necessary on the web directly anymore, but so many other platforms, like Google, support GIFs but not videos. So we're all stuck encoding into an insanely space/cpu inefficient format just to get…

One example is Stack Exchange (Stack Overflow) - supports GIFs up to 2 MB, but not videos.

Re: Gifski: Optimized GIF Encoder

#39
ImageOptim is a really good desktop tool. Whatever scripts I write to optimise images on the server, nothing gets to the level of optimisation that ImageOptim does, even though it uses the same tools under the hood.

Re: Gifski: Optimized GIF Encoder

#40
post #6

I've used this for years and it's the best out there. Definitely use it for converting videos for Google Slides and such. But it's such a travesty that we're in 2024 and still using GIFs in place of videos. I guess it's not necessary on the web directly anymore, but so many other platforms, like Google, support GIFs but not videos. So we're all stuck encoding into an insanely space/cpu inefficient format just to get…

Many platforms already stopped using gifs, for precisely those reasons. Tumblr silently converts to animated webp when uploading a gif, imgur converts it to mp4, etc.

This is really annoying when trying to share gifs across platforms. I can't export a "gif" (.mp4) from telegram and upload it to Discord and display it like a gif instead of a click-to-play video, even though discord uses .mp4 under the hood as well...
Post reply on HN