News for hackers. Stuff that matters.
Re:Show HN: AV1 and WebRTC by Sean-Der on Tuesday April 12, 2022 @10:23AM (#31003145)
I just finished adding AV1 support to Pion WebRTC. What AV1 is able to do is pretty amazing! I spent a lot of my time with H264 because of legacy devices/hardware acceleration. Seeing the jump in quality + reduction in bandwidth usage it is going to be hard to go back.
Re:Show HN: AV1 and WebRTC by out_of_protocol on Tuesday April 12, 2022 @11:34AM (#31004069)
Did you try VP9? Huge jump in quality as well. Slightly worser than AV1, available for ages (not apple though?)
Re:Show HN: AV1 and WebRTC by judge2020 on Tuesday April 12, 2022 @11:43AM (#31004197)
As far as I can tell, vp9 hardware decoding should be available[0][1], but safari will fallback to software decoding[2]. I can't find much of a definitive source for Apple's supported codecs.

0: https://9to5mac.com/2020/06/24/apple-adds-webp-hdr-support-a...

1: https://en.wikipedia.org/wiki/Apple_M1#Other_features

2: https://trac.webkit.org/changeset/284523/webkit/

Re:Show HN: AV1 and WebRTC by alphabettsy on Tuesday April 12, 2022 @12:37PM (#31004958)
VP9 isn’t better than HEVC though is it? And HEVC has hardware encoding and decoding support on most modern devices.
Re:Show HN: AV1 and WebRTC by ww520 on Tuesday April 12, 2022 @01:31PM (#31005744)
HEVC is loaded with patents. VP9 is Google’s response to avoid the minefield.
Re:Show HN: AV1 and WebRTC by giantrobot on Tuesday April 12, 2022 @02:14PM (#31006371)
The device's hardware encoders/decoders have licenses already. Unless you're shipping your own you're not likely have to pay any royalties. If you're so successful the MPEG-LA comes a' knockin' you should have the money to pay the royalties.

The whole purpose of the MPEG-LA is to be a single entity to approach about licenses held by a bunch of companies. Avoiding paying licenses means avoiding codecs well supported by mobile hardware.

Re:Show HN: AV1 and WebRTC by out_of_protocol on Tuesday April 12, 2022 @03:23PM (#31007147)
1. For HEVC it's not a single patent pool but many, most of them don't have clearly defined pricing

2. Firefox don't support hevc nor it will be in the future

P.S. https://developer.mozilla.org/en-US/docs/Web/Media/Formats/V... VP9 is supported by all major browsers

Re:Show HN: AV1 and WebRTC by alphabettsy on Tuesday April 12, 2022 @03:54PM (#31007503)
Sure, but few devices have VP9 hardware encoding which means re-encoding to view or less efficient software decoding.
Re:Show HN: AV1 and WebRTC by cma on Tuesday April 12, 2022 @04:55PM (#31008138)
You end up with artificially limited numbers of encode streams and stuff with that, at least with nvenc (I think they doubled the limit at the beginning of the pandemic though).