Live data from Hacker News

It's time to replace GIFs with AV1 video

singhkays.com

71–80 of 327 posts

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

#72

The article claims that AV1 works since FF 65 but the examples do not work on FF 66.

Are you on Linux? https://caniuse.com/#feat=av1 says that FF 66 has it enabled by default only for Windows and macOS users.

I'm on Firefox 66 on Mac and the last couple AV1 videos don't play.

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

#73

The most important part of GIFs for me is that they behave like images in browsers. They are always auto-playing with no concept of play and pause. You can drag and drop them from a browser to your desktop to save them. You can save an entire page and have all the image files save with it. I've never had this work for webm or other video formats. You could even argue that GIFs not being a video with no video decoding…

Strong agree. Just as HEIF is a video format adapted to be a still image format, the GIF successor should fit in an img tag and be guaranteed not to have sound. Perhaps it could be a different sort of container with the same compressed bitstreams.

There is an AV1 "image" format too, which supports "image sequences" but not, oddly, animation.

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

#74

Earlier quoted context omitted.

> The most important part of GIFs for me is that they behave like images in browsers. They are always auto-playing with no concept of play and pause. You can drag and drop them from a browser to your desktop to save them. You can save an entire page and have all the image files save with it. I've never had this work for webm or other video formats. The saving bit is the only part which doesn't work right with videos…

I understand that they can be made to autoplay with no controls, but I don't even want the possibility of them being paused. This way the format has no choice but to behave as expected across everything.

> I don't even want the possibility of them being paused

That's downright hostile to the end user…

https://www.w3.org/TR/UNDERSTANDING-WCAG20/time-limits-pause...

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

#75
post #23

AV1 is an open and free format, but if people really wanted to replace GIFs they could've done it with H.264 or VP9 or VP8. Notwithstanding any issues about video codec support in browsers, GIFs will continue to have value until browser-vendors, spec-writers, and webmasters accidentally or deliberately coalesce around a sane ruleset for embedded motion picture completely devoid of audio . Today, browser-makers have c…

> AV1 is an open and free format, but if people really wanted to replace GIFs they could've done it with H.264 or VP9 or VP8. They have. The "gifs" on reddit or imgur are generally h.264, even if you upload gifs they'll get converted to video files. TFA's just saying those should be switched to AV1, or an AV1 source should be provided. I'm not sure they're right though. h.264 will be larger and of lower quality espec…

... and it is a complete mess. They try to to decide which format you want based on your client. Thus if you hotlink an image directly you don't know anymore if it will load or even if the format the next guy will see has sound.

I've linked "images" purely because of the sound and other viewers got a version without it. And many times it just won't load. This is supposed to be simple...

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

#76
post #51

Earlier quoted context omitted.

> why isn't gif replaced by webm/vp9 yet? Apple has significant market penetration, and you can't get VP9 to easily work in safari/iOS/tvOS

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.

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

#77

The most important part of GIFs for me is that they behave like images in browsers. They are always auto-playing with no concept of play and pause. You can drag and drop them from a browser to your desktop to save them. You can save an entire page and have all the image files save with it. I've never had this work for webm or other video formats. You could even argue that GIFs not being a video with no video decoding…

> It may take longer to load, but I can have 100+ GIFs playing at once with no impact to my CPU.

I don't know what you're talking about really... I was just using Google Slides today and both Firefox and Chrome went to 250% CPU usage, only because there was one slide with a 5 seconds full screen recording GIF. I begged to the person who added it to turn that to a video.

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

#78

Earlier quoted context omitted.

I understand that they can be made to autoplay with no controls, but I don't even want the possibility of them being paused. This way the format has no choice but to behave as expected across everything.

There's nothing about allowing play/pause that prevents videos from behaving exactly like gifs. I've seen browsers with play/pause options for gifs, even.

Can you tell me of one, please? I'd like to check their implementation, most play/pausable gifs I see are only converted webms.

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

#79
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

Chrome didn't support it until 2017 [1], with the release of Chrome 59 [2].

[1] https://news.ycombinator.com/item?id=13871809 [2] https://www.chromestatus.com/feature/6691520493125632

Post reply on HN