logoalt Hacker News

Dav2d

512 pointsby dabinatyesterday at 5:32 PM145 commentsview on HN

Comments

jzebedeeyesterday at 6:19 PM

Project description:

  dav2d is the fastest AV2 decoder on all platforms :)
  Targeted to be small, portable and very fast.
If you're out of the loop like me:

  AV2 is the next-generation video coding specification from the Alliance for Open Media (AOMedia). Building on the foundation of AV1, AV2 is engineered to provide superior compression efficiency, enabling high-quality video delivery at significantly lower bitrates. It is optimized for the evolving demands of streaming, broadcasting, and real-time video conferencing. 
- from https://av2.aomedia.org/
show 2 replies
tensoryesterday at 6:30 PM

Not on topic, but wow the internet has very quickly devolved into: click -> "making sure you're not a bot", click -> "making sure you're a human", click -> "COOKIES COOKIES COOKIES", click -> "cloudflare something something"

show 8 replies
ZeroGravitastoday at 12:07 PM

A little extra context:

Dav1d was the surprisingly fast assembly implementation of AV1 decoding. Even for something in hand-coded platform-specific-assembly I think the general impression was that they'd done amazing work to really chase down out every last bit of potential performance.

It didn't initially exist when AV1 was first rolled oit and its arrival was a step change in powering adoption on devices without hardware decoding.

Dav2d is likely to play a similar role, but it exists from the start and can build on the work of dav1d, so should have an even bigger effect.

In a weird reverse chicken and egg scenario, having really good software decode that can be deployed will spur on hardware development and adoption.

infogulchyesterday at 11:46 PM

AV2 video codec delivers 30% lower bitrate than AV1, final spec due in late 2025 (videocardz.com) | Oct 2025 | 277 points | 223 comments | https://news.ycombinator.com/item?id=45547537

Telaneoyesterday at 7:30 PM

Glorious. Really looking forward to seeing how much better than AV1 it actually turns out to be. It's a shame it'll take a while before we'll have a decent encoder (it took an annoyingly long time until SVT-AV1 was usable).

amitbidlantoday at 3:29 AM

Mostly ASM for performance critical paths is a pattern that never gets old. The VideoLAN team did the same with dav1d and it paid off. Curious how much of dav2d ends up staying C as AV2 matures.

pkos98yesterday at 8:26 PM

off topic, but related to the recent github alternative discussion:

Wow, this gitlab instance looked so much cleaner/simpler and less clunky than my past experiences! Also loaded really fast on first page load as well as subsequent actions

rishoyesterday at 8:56 PM

is there any understanding of how big of an improvment av2 will be over av1?

show 1 reply
shmerltoday at 1:59 AM

Nice.

What's the current state of of Dolby trying too attack AV1 ecosystem (Snapchat more specifically)? I hope there is an organized fight back by AOM against these trolls.

snvzztoday at 9:42 AM

With the first RVA23 boards shipping this month, I find it a mistake to still focus on legacy ISAs like x86 or ARM rather than what will be dominant by the time AV2 is deployed.

0x0yesterday at 8:30 PM

Just recently noticed this got posted to deb-multimedia, although I think there is a typo in the package description....

https://www.deb-multimedia.org/dists/unstable/main/binary-am...

... it says "fast and small AV1 video stream decoder"

... should probably be "AV2" ?

sylwareyesterday at 7:24 PM

I would even remove the C code and lower the usage of the assembler pre-processor to a basic C pre-processor.

Happy, AV2 decoding already here.

:)

kk_morstoday at 10:55 AM

[dead]

Zopieuxyesterday at 6:34 PM

>video decoder implementation

>look inside

>it's C

show 2 replies
xnxyesterday at 6:32 PM

[flagged]

show 4 replies
kylecyesterday at 7:46 PM

I wonder if the author is a Dave2D fan?

https://www.youtube.com/@Dave2D

show 4 replies
arkensawyesterday at 11:09 PM

maybe not great naming. Sounds very similar to the rapper D4vd, who was just arrested for murdering a 14 year old girl

show 1 reply
abhishek03113today at 10:31 AM

Some dude at videolan be like, I've have a cool name idea

dcsommeryesterday at 6:58 PM

We must not continue to develop media codecs in memory unsafe languages. Small, auditable sections can opt-out perhaps, but choosing default-unsafe for this type of software is close to professional negligence.

show 4 replies