Live data from Hacker News

AV1 video codec gains broader hardware support

fullystacked.net

21–30 of 210 posts

Re: AV1 video codec gains broader hardware support

#21
post #5

Perhaps this might seem like a basic question, but why has it taken so long for processors to support AV1, given that it has been out for years?

Chicken & egg problem.

No AV1 videos -> no pressure to add hardware support -> difficult to justify encoding videos in AV1

Re: AV1 video codec gains broader hardware support

#22

Now supported by the Apple M3 chips.

Only decode, not encode. Intel ARC GPUs also do encode.

As far as I can tell, Apple has always only supported decoding for non-MPEG codecs.

And their encoders (at least on macOS in the past) usually don’t yield results comparable to software or dedicated quality-optimized encoding ASICs, so if I wanted high quality at low bitrates I’d have to reencode offline anyway.

It would be nice to have it available for video conferencing or game streaming, though.

Re: AV1 video codec gains broader hardware support

#23
post #15
post #5

Perhaps this might seem like a basic question, but why has it taken so long for processors to support AV1, given that it has been out for years?

Two big SoC manufacturers, Apple and Qualcomm, have patents for competitors like HEVC

Apple has a tiny sliver of the patents in HEVC, and while we don't have the numbers I feel pretty certain they pay far more into the pool to ship HEVC in their devices than they get out of it. The same is doubly true of Qualcomm who aren't even a part of the pool.

HEVC was finalized in 2013. AV1 was finalized in 2018, and has just finally started getting a robust ecosystem of software and hardware.

Re: AV1 video codec gains broader hardware support

#24
post #5

Perhaps this might seem like a basic question, but why has it taken so long for processors to support AV1, given that it has been out for years?

Keep in mind that standards are moving slow, CODEC standards more so. The golden standard is still h264/AVC, which dates back to the nineties. This is primarily due to many appliances (set top boxes, cameras, phones, TVs) using the absolute cheapest hardware stack they can get their hands on.

+1 Indeed.

Compared to other standards in streaming media, I'd say that AOMedia has found adoption a lot quicker. h265 (HEVC) was all but DoA until years after it's introduction Apple finally decided to embrace it. It is still by no means ubiquitous, mostly due to patent licensing, which significantly drives up the price of hardware in single digit dollars price range.

Anecdotally, consider that Apple's HTTP Live Streaming protocol (till version 6) relied on MPEG2TS, even though Apple lay the groundwork for ISO/IEC 14496-12 Base Media File Format aka MP4. The reason was that chips in the initial Iphones had only support for h264 using mpeg2 transport streams, and even mp4 -> mp2 transmuxing was considered too resource intensive.

Re: AV1 video codec gains broader hardware support

#25

Earlier quoted context omitted.

Design cycles of hardware is long. The person who benefits from a more efficient codec tends to be netflix/youtube (lower bandwidth costs), and they are far far removed from the chipmaker - market forces get very weak at that distance.

Also, specialized hardware for a specific format feels like a really good way to have a useless part of a cpu if the format stops being used.

People never stopped using VP8. In fact, your screen sharing is probably wasting excessive amounts of CPU every day because there is no hardware support.

Re: AV1 video codec gains broader hardware support

#26
post #8

Earlier quoted context omitted.

Only decode, not encode. Intel ARC GPUs also do encode.

Also the AMD Phoenix CPUs for laptops (7640/7840/7940), the AMD RDNA 3 GPUs and the NVIDIA RTX 4000 GPUs support AV1 encoding.

The Snapdragon 8 Gen 3 and X Elite have AV1 encoding too

Re: AV1 video codec gains broader hardware support

#27
Microsoft Edge does support AV1, but weirdly only through a Microsoft Store extension [1], even though Chrome has support built-in. This actually really sucks because in practice hardly any normal consumers would bother to install a strangely named extension, and so web developers have to assume it's largely unsupported in Edge. Safari ties support to a hardware decoder, which I suppose is understandable to avoid accidental battery drain from using a software codec, and means eventually in some year's time support can generally be relied upon when enough new hardware is in use. But that won't happen with Edge as things stand!

I think it's high time the web had a single audio and video codec choice that is both open and widely supported, which is why I've proposed support for AV1 and Opus for the Interop 2024 effort [2] [3].

[1] https://apps.microsoft.com/detail/av1-video-extension/9MVZQV...

[2] https://github.com/web-platform-tests/interop/issues/485

[3] https://github.com/web-platform-tests/interop/issues/484

Re: AV1 video codec gains broader hardware support

#28
post #19

What was the situation on its efficiency compared to H.265 and similar?

It's about 30% more efficient.

Wow that was unexpected. I checked online and it does say production encoders are faster and the result is somewhat smaller (for same quality). What a time to be alive.

Re: AV1 video codec gains broader hardware support

#29
post #15

Earlier quoted context omitted.

Two big SoC manufacturers, Apple and Qualcomm, have patents for competitors like HEVC

Apple has a tiny sliver of the patents in HEVC, and while we don't have the numbers I feel pretty certain they pay far more into the pool to ship HEVC in their devices than they get out of it. The same is doubly true of Qualcomm who aren't even a part of the pool. HEVC was finalized in 2013. AV1 was finalized in 2018, and has just finally started getting a robust ecosystem of software and hardware.

In context of format war, winning means that they earn patent fee from every device. I don't think it's Apple's intension, but possibly Qualcomm's.
Post reply on HN