Isn't this exactly what animated WebP [1] is supposed to address? [1]: https://en.wikipedia.org/wiki/WebP#Animation
Yes, and would Apple please support WebP in Safari as the only remaining holdout? Before we all just boycott Safari and go ahead and use WebP anyways.
Serve Videos Instead of GIFs
61–70 of 242 posts
Re: Serve Videos Instead of GIFs
#62Serve videos as videos. Photo data compresses better with Jpeg. But gifs are still a better option for animated illustrated graphics.
Why is JPEG the de facto lossy compression format for photos? It always bugs me that video formats get something new every 5 or so years yet photos are in JPEGs for decades.
1. widespread support
2. "good enough" compression
Formats that compress better, like HEIC and webp, are only ~2x better, have sparse software/hardware support, and are likely to be patent-encumbered.
If I had to guess, formats that support HDR or other features haven't seen adoption due to a lack of widespread display support (in the case of HDR) and a lack of user interest.
See https://en.wikipedia.org/wiki/Comparison_of_graphics_file_fo... for a bunch of examples.
Re: Serve Videos Instead of GIFs
#63I already said that before and I'll do it again: it won't work until we make videos act like gifs, which act like images. The video per se won't loop if I save it in my computer or phone. I can't drag and drop, right click, long tap. To have anything replacing gif you need THE EXACT SAME BEHAVIOUR, EVERYWHERE. It doesn't matter for the consumer whose fault it is: encoding, the app, how the file is created. The user u…
Re: Serve Videos Instead of GIFs
#64The ffmpeg command will default produce one that can only be decoded on Chrome. You should specify a codec supported by most browsers (`-c:v libx264`).
Re: Serve Videos Instead of GIFs
#65Re: Serve Videos Instead of GIFs
#66Earlier quoted context omitted.
iOS has been slowly making HEIF more common. It’s just that it takes a long time for the entire tooling chain to support it.
HEIF is patent-encumbered and a non-starter.
Re: Serve Videos Instead of GIFs
#67Earlier quoted context omitted.
Why is JPEG the de facto lossy compression format for photos? It always bugs me that video formats get something new every 5 or so years yet photos are in JPEGs for decades.
iOS has been slowly making HEIF more common. It’s just that it takes a long time for the entire tooling chain to support it.
Re: Serve Videos Instead of GIFs
#68the videos don't play in safari, also there is no way to play them for me. They need a click handler with play().
Re: Serve Videos Instead of GIFs
#69If videos looped seamlessly I'd happily serve videos. Sadly, they do not.
They can, and they do. This article shows you an example at the end. What's the issue?
gif just works. Drag and drop anywhere, any browser, any app, and it works. (Ok, almost anywhere, but still way more accepted than video).
Re: Serve Videos Instead of GIFs
#70The ffmpeg command will default produce one that can only be decoded on Chrome. You should specify a codec supported by most browsers (`-c:v libx264`).
Thank you very much for posting that. I've been trying to figure out how to do that for a while.
The full git gist (not mine): https://gist.github.com/ingramchen/e2af352bf8b40bb88890fba4f...