logoalt Hacker News

initramfstoday at 11:45 AM2 repliesview on HN

for gifs? it seems an image format would be more backward compatible with older devices. Edit: by image format, i meant lightweight animation without a video codec.


Replies

Brybrytoday at 1:22 PM

The sites like tenor/giphy/klipy all convert to multiple media formats and then have meta embed properties with multiple formats.

Sites/apps like Discord sometimes consume the mp4 instead of gif or webp when embedding (and in Discord's case they're not hotlinking, I believe they're running it through their own media proxy service).

For example, <https://klipy.com/gifs/begone-witch> turns into <video> (with ARIA GIF label!) and src <https://images-ext-1.discordapp.net/external/kQT1eR3Sa6g3mZ_...>

7.1 MB gif => 679 KB mp4

fsiefkentoday at 12:47 PM

hi initramfs, i responded to robottoaster who referenced patent encumbered mp4, as alternatives there are vp9 and av1.

image formats are more backward compatible, but at some point one has to ask, how low do you want to go? vp9 plays on iphones from 2020 and android phones from 2010. I think animated avif files are basically av1 video files, like animated webp is vp8/9 video.

Animated gif is playable anywhere, but 10x bigger. For a wiggle blog or website I'd provide animated png alongside anaglyph, or anaglyph only.

There is also animated Jpeg XL *.jxl files for the bleeding edge. It's a pure image format but support is not there yet.

show 1 reply