Live data from Hacker News

Serve Videos Instead of GIFs

dannyguo.com

1–10 of 242 posts

Re: Serve Videos Instead of GIFs

#7

Serve videos as videos. Photo data compresses better with Jpeg. But gifs are still a better option for animated illustrated graphics.

Proper tool for the proper job. You don't shovel snow with a hammer. That doesn't mean a hammer is not useful when engaging in carpentry.

(Just to close the loop, you can use a shovel to do carpentry, but a hammer would be much better.)

Re: Serve Videos Instead of GIFs

#8
Serving videos instead of GIFs is easy to do now with the HTML video element, which is supported almost universally

I respectfully disagree.

Loading videos instead of GIFs is easy to do now.

Serving videos is a nightmarish mess of trying to match divergent, incompatible, sometimes patent-encumbered "standards" against an ever-changing range of browser support taking into account the hardware capabilities of a vast range of different devices and the corresponding rendering costs, decoding costs and bandwidth considerations based on incomplete and sometimes contradictory documentation from dozens of different sources that will be out of date by the time you've finished reading this paragraph.

One of these is not like the other, and that's why GIFs are still so prevalent.

Re: Serve Videos Instead of GIFs

#10

Serve 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.
Post reply on HN