Hacker News new | ask | show | jobs
by clouddrover 2747 days ago
I tried it out in Firefox 65 beta. You can enable dav1d via about:config by setting "media.av1.use-dav1d" to true.

dav1d seems to perform worse than libaom for me on some videos I tried. I have a 2014 MacBook Pro with a 2.2ghz Haswell i7 (i.e. with AVX2).

Firefox using libaom struggles to play YouTube AV1 video at 1080p60 on my system. It gets to a point where it drops too many frames and the video becomes unwatchable. For example:

https://www.youtube.com/watch?v=Fmdb-KmlzD8

I hoped dav1d would perform better than libaom on that particular video at 1080p60, but if anything it performs worse.

I'm not clear if that video is 8-bit or 10-bit color. If it's 10-bit color then that would explain it because dav1d is not optimized for 10-bit video yet.

1 comments

> dav1d seems to perform worse than libaom for me on some videos I tried.

As far as I know, the Firefox buildsystem does not compile dav1d with asm yet. So, that is expected, for now.

Ah, that explains it then. Thanks.

Hopefully they'll enable the asm code during Firefox 65 beta.