Live data from Hacker News

It's time to replace GIFs with AV1 video

singhkays.com

311–320 of 327 posts

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

#311

Well let's get one thing straight, VP9 does not achieve 50% more compression compared to H.264... Second the demo videos were cherry picked to support their argument - using full motion panning...

Netflix disagrees with you:

https://medium.com/netflix-techblog/optimized-shot-based-enc...

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

#312
post #303

Terry Davis was extremely talented. He also had his demons. I dunno if there was anything he could do about them. But let's not pretend he didn't have them. He said some terrible stuff: https://wiki.installgentoo.com/wiki/Terry_Davis .

" Eschew flamebait. Don't introduce flamewar topics unless you have something genuinely new to say. Avoid unrelated controversies and generic tangents. " https://news.ycombinator.com/newsguidelines.html We detached this subthread from https://news.ycombinator.com/item?id=19875516 and marked it off-topic.

I respectfully disagree that my comment was unrelated. I want the community of programmers and technology enthusiasts to be as diverse as possible. While maybe not his fault, Mr. Davis said some things that were very much not welcoming to a diverse audience. My fear is that venerating him with comments like "RIP brother" sends a negative message about what is acceptable in the community.

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

#313
post #306

Earlier quoted context omitted.

Please don't attack another user like you did here and below, regardless of how wrong or bad a comment is. The site guidelines ask us all to Be kind. That's always important, but surely even more so when you're arguing for treating someone better. https://news.ycombinator.com/newsguidelines.html

Sorry, dang. I didn't mean to attack them. I got really offended at their hateful comment but next time I'll just flag and move on.

I take strong exception to your characterization of my comment as "hateful". I don't hate Terry Davis. He was brilliant. Fostering a diverse, inclusive, and welcoming environment is really important to me. Some of the things that Mr. Davis said did the opposite of encouraging that goal. And that may not have been his fault. But, he did say those things and if we venerate his abilities while not also acknowledging his faults, I think that sends a negative message about what the community is willing to tolerate.

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

#314

Earlier quoted context omitted.

Sorry, dang. I didn't mean to attack them. I got really offended at their hateful comment but next time I'll just flag and move on.

I take strong exception to your characterization of my comment as "hateful". I don't hate Terry Davis. He was brilliant. Fostering a diverse, inclusive, and welcoming environment is really important to me. Some of the things that Mr. Davis said did the opposite of encouraging that goal. And that may not have been his fault. But, he did say those things and if we venerate his abilities while not also acknowledging his…

Please stop.

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

#315
post #303

Earlier quoted context omitted.

" Eschew flamebait. Don't introduce flamewar topics unless you have something genuinely new to say. Avoid unrelated controversies and generic tangents. " https://news.ycombinator.com/newsguidelines.html We detached this subthread from https://news.ycombinator.com/item?id=19875516 and marked it off-topic.

I respectfully disagree that my comment was unrelated. I want the community of programmers and technology enthusiasts to be as diverse as possible. While maybe not his fault, Mr. Davis said some things that were very much not welcoming to a diverse audience. My fear is that venerating him with comments like "RIP brother" sends a negative message about what is acceptable in the community.

It's not only a tedious topic about which no one has anything new to say, but has been a distasteful one for years, using a suffering human being as a mascot in an internet cage match. If you care about welcoming diverse audiences, as opposed to scoring points on an obscure insider topic, this is the last thing you should be commenting about. Please don't do it on HN.

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

#316

This is fine for real world videos crammed into gifs. But please think of animated pixel art, which is antithetical to many the assumptions that DCT-block based codecs make. Doubly so when you consider that most encoders default to 4:2:0 and ignore transparency. APNG or similar image formats are better for this purpose

Good:

- AV1 has a palette predictor designed to improve on pixel art by storing individual pixels as indexes into a palette.

- Chroma from luma helps preserve exact colors in pixel art, assuming color is lonely related to brightness (won't work as well for color-only changes, possibly not when brightness and color vary separately, or multiple colors and brightness are mixed)

Bad:

- AV1 takes seconds to minutes per frame. I let my laptop chug for half to several hours, running Manjaro AUR with bleeding-edge ffmpeg-git, encoding multicore tiled AV1, and it managed to encode under 3 seconds of video. (Did it link to an older libaom-av1 or is it bundled statically with ffmpeg?)

- When chroma subsampling and CfL (chroma from luma) mix, the brightness is subsampled to create a color prediction, instead of being used to add extra color resolution.

- Youtube's sample AV1 encodes have 4:2:0 subsampling (aka color channels have halved width and height resolution).

Rav1e may be faster, but apparently disabling chroma subsampling breaks CfL and inter-frames.

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

#317

Earlier quoted context omitted.

... That’s far from what I would call an acceptable ux.

So make an add-on which does the same thing with whatever UX you want. It's a good project for you. I look forward to using it when you're finished. Alternatively, use one of the media downloading add-ons which already exist.

Mass adoption doesn’t want to use addons or go in to the developer tools. That’s my point. I know how to do it but even for me it is not intuitive.

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

#318

Earlier quoted context omitted.

Yah rav1e is a bit faster, only a few weeks ago I tried to transcode large test movie was around 8 gbps of h264. I was using a big 20 core e5 and was doing almost 1/2 a frame per second. I seem to recall working out the estimated time to encode to AV1 was about 3 weeks...

Use Intel's AV1 encoder for more speed: https://www.phoronix.com/scan.php?page=news_item&px=SVT-AV1-... https://github.com/OpenVisualCloud/SVT-AV1

Thanks, it compiling this was a bit of a pain but I got it and do see some performance increase but wow slow. Still though, I know this is outside the scope of the article but I don't see AV1 catching on anytime soon and I half laugh to point out that 2027 when h264's patents expire isn't that far out! Everyone talks about hardware encoding options for h264 being available, let's not forget how crappy the output from h264 hardware encoding is compared to software encoding.

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

#319

Earlier quoted context omitted.

So make an add-on which does the same thing with whatever UX you want. It's a good project for you. I look forward to using it when you're finished. Alternatively, use one of the media downloading add-ons which already exist.

Mass adoption doesn’t want to use addons or go in to the developer tools. That’s my point. I know how to do it but even for me it is not intuitive.

Your point doesn't address the fact that you can have the same right-click problems with GIFs as with video files. The file type doesn't matter, the page structure does.

The great mass of people don't care about saving media assets from a page. There will never be mass adoption of this, no matter how easy it is.

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

#320

Earlier quoted context omitted.

Use Intel's AV1 encoder for more speed: https://www.phoronix.com/scan.php?page=news_item&px=SVT-AV1-... https://github.com/OpenVisualCloud/SVT-AV1

Thanks, it compiling this was a bit of a pain but I got it and do see some performance increase but wow slow. Still though, I know this is outside the scope of the article but I don't see AV1 catching on anytime soon and I half laugh to point out that 2027 when h264's patents expire isn't that far out! Everyone talks about hardware encoding options for h264 being available, let's not forget how crappy the output from…

> I don't see AV1 catching on anytime soon

YouTube already has many of its videos encoded in AV1 up to 720p. Try it yourself with Firefox 67 beta, or any other browser which uses the dav1d decoder.

Turn on AV1 on YouTube (set it to "Always prefer AV1"): https://www.youtube.com/testtube

Try the AV1 playlist: https://www.youtube.com/playlist?list=PLyqf6gJt7KuHBmeVzZteZ...

Pick any popular video on YouTube (like a music video) and play it. Check the format with right-click -> Stats for Nerds. If it's AV1 the codec will be "av01".

On my 5-year old laptop, AV1 in Firefox 67 beta is fast enough for 1080p30 and almost fast enough for 1080p60.

Post reply on HN