Live data from Hacker News

It's time to replace GIFs with AV1 video

singhkays.com

111–120 of 327 posts

Re: It's time to replace GIFs with AV1 video

#111
post #50

Earlier quoted context omitted.

I'd support that (as if anyone's asking me...) on three conditions: 1) Maximum duration of, say, 10 s (with mandatory looping) 2) Maximum display size of, say, 25% viewport area 3) Browsers must enforce "Click to stop" on these "video-img" elements even if there are other DOM elements on top.

If none of these conditions apply to gifs, why should they apply to videos in img tags?

Because we can't change the past, but we can improve the future.

Re: It's time to replace GIFs with AV1 video

#112
post #103

Earlier quoted context omitted.

That's still not accurate. Load up 20-30 gifs on a page and I can pretty much guarantee you'll see your browser saturate a core.

Challenge accepted. https://www.hampsterdance.com/classics/originaldance.htm Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

Do things change if each gif is different?

Re: It's time to replace GIFs with AV1 video

#113
post #103

Earlier quoted context omitted.

That's still not accurate. Load up 20-30 gifs on a page and I can pretty much guarantee you'll see your browser saturate a core.

Challenge accepted. https://www.hampsterdance.com/classics/originaldance.htm Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

Try again using a gallery page on a site like giphy which is going to be more representative of the use case op was talking about.

edit: such as https://giphy.com/sports/2019-stanley-cup-playoffs which seems to be entirely gifs if you view page resources in the debugger.

Re: It's time to replace GIFs with AV1 video

#114
post #103

Earlier quoted context omitted.

That's still not accurate. Load up 20-30 gifs on a page and I can pretty much guarantee you'll see your browser saturate a core.

Challenge accepted. https://www.hampsterdance.com/classics/originaldance.htm Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

Giphy manages to consume a much larger fraction of my modern desktop's CPU. I think it may have something to do with the small size and multiple copies of the gifs on the page you chose.

Re: It's time to replace GIFs with AV1 video

#115

Earlier quoted context omitted.

But why is this tolerated, for lack of a better word? There's no barrier to adding support, a decoder ships with ffmpeg. Youtube has been serving webm/vp9 video for years, so does that mean VP9 Youtube is unavailable on Apple platforms?

> Youtube has been serving webm/vp9 video for years, so does that mean VP9 Youtube is unavailable on Apple platforms? Youtube serves h.264 to Apple platforms.

Well not if users force VP9 using something like youtube-dl and pipe to a compatible player. But I looked it up and the reason Apple refuses to adopt VP9 is not so arbitrary but rather because they're part of MPEG LA, with HEVC being the competitor to VP9. It's unfortunate that there's so much fragmentation with standards simply because of corporate interests.

Re: It's time to replace GIFs with AV1 video

#117
post #103

Earlier quoted context omitted.

That's still not accurate. Load up 20-30 gifs on a page and I can pretty much guarantee you'll see your browser saturate a core.

Challenge accepted. https://www.hampsterdance.com/classics/originaldance.htm Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

For best results, use a Slack channel, or a forum reply page with an array of animated smileys.

Re: It's time to replace GIFs with AV1 video

#118
post #48
post #31

AV1 will never work on Safari, so it's dead in the water.

Apple is a member of the Alliance for Open Media, the group behind AV1: https://aomedia.org/membership/members/ . I'd suspect apple will roll out support at some point.

Apple is also a member of MPEG LA, and has refused to adopted VP9. With AV1 perhaps they changed their tune and/or had no choice industry wise.

Re: It's time to replace GIFs with AV1 video

#119
post #27

What ever happened to the APNG format? I remember dabbling with it years ago but seems to have never caught on. https://en.wikipedia.org/wiki/APNG

It's fine, but it's lossless so it's not good for most video use cases.

So is animated gif, though.

Re: It's time to replace GIFs with AV1 video

#120
post #113

Earlier quoted context omitted.

Challenge accepted. https://www.hampsterdance.com/classics/originaldance.htm Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

Try again using a gallery page on a site like giphy which is going to be more representative of the use case op was talking about. edit: such as https://giphy.com/sports/2019-stanley-cup-playoffs which seems to be entirely gifs if you view page resources in the debugger.

Most animated images on giphy are vp8 videos.
Post reply on HN