Live data from Hacker News

AV1 video codec gains broader hardware support

fullystacked.net

91–100 of 210 posts

Re: AV1 video codec gains broader hardware support

#91

How much silicon does it take to add an AV1 decoder to a chip? The areas Apple highlighted in their A17 release looked pretty substantial, but I wasnt sure if it was to scale. https://b3148424.smushcdn.com/3148424/wp-content/uploads/202...

> How much silicon does it take to add an AV1 decoder to a chip?

The die area is very modest, but the hard part is building it in the first place.

Encoding is more area, but should still be peanuts for Apple SoCs.

Re: AV1 video codec gains broader hardware support

#92
post #48

According to the article, it's supported by every browser except Edge. It will be interesting to see who ultimately ends up making a better IE, Safari or Microsoft. So far, it seems Safari is winning, given the ever growing set of standards they don't support, but maybe this is Edge trying to catch up?

[flagged]

Edge and Safari (and Firefox) have reader mode, which automatically makes them better than Chrome.

Re: AV1 video codec gains broader hardware support

#93
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?

Its Apple and Qualcomm that have been slow.

Intel, AMD, Nvidia, and other ARM chipmakers for phones, TVs, streaming sticks and such were quicker to pick it up.

Re: AV1 video codec gains broader hardware support

#94

Is it really _that_ hard to create a generic video decoding DSP whose firmware could be updated? Most codecs are very similar to each other. IIRC Texas Instruments used multicore DSP to decode MPEG back in the 90s. Or maybe we should have written codecs to be amenable towards GPU shader implementation...

AOM already wrote a GPU shader-assisted decoder for the Xbox One:

https://aomedia.googlesource.com/av1-xbox-one/

Re: AV1 video codec gains broader hardware support

#95
post #34

Is AV1 better than HEVC? Or is it about the same, just freely licensed?

HEVC isn't widely supported by web browsers: https://caniuse.com/hevc AV1 is supported by almost all web browsers: https://caniuse.com/av1

Notable exceptions are Safari and Safari on iOS (unless you have an iPhone 15 Pro).

Re: AV1 video codec gains broader hardware support

#96

Is it really _that_ hard to create a generic video decoding DSP whose firmware could be updated? Most codecs are very similar to each other. IIRC Texas Instruments used multicore DSP to decode MPEG back in the 90s. Or maybe we should have written codecs to be amenable towards GPU shader implementation...

I wonder if encode could run on the iGPU? I think, at least, that one of the biggest use-cases for encode is game streamers (is this right?), they should have decent dGPUs anyway, so their iGPU is just sitting there.

Elemental wrote a GPU shader h264 encoder for the Radeon 5870 back in the day, marketed towards broadcasters who needed quality and throughput: https://www.anandtech.com/show/2586

Intel used to write hybrid encoders (that used some fixed function and some iGPU shader) for their older iGPUs.

So the answer is yes... if you can fund the right group. But video encoders are hard. The kind of crack developer teams that can pull this off don't grow on trees.

Re: AV1 video codec gains broader hardware support

#97

Earlier quoted context omitted.

That looks like a pure marketing slide to me. I don't think it would make sense to actually have separate dedicated silicon for these.

It is a pure marketing slide. The M3 variants floorplans don't look anything like that, as can be seen on other pictures of the dies. That being said, it's pretty common to have dedicated silicon for video codecs. It normally takes the form of a little DSP with custom instructions to accelerate operations specific to the codec.

I agree that is how I'd expect it to be implemented, but I'm not sure how small it would be given the processing bandwidth we are talking about for 4k video.

I'm guessing this is a distinct region of the chip and not integrated with CPU/GPU since they scale up by replicating those blocks and wouldn't want to redundantly place that hardware. Having it separate also allows a team to work on it independently.

I think the relative size of the media engines is accurate in that slide, so then it comes down to how large the ProRes parts are in other chips. They are probably a couple of the unlabeled regions next to the performance cores in the M1 Pro die shot below, but I don't know which.

https://images.anandtech.com/doci/17019/M1PRO.jpg Taken from: https://www.anandtech.com/show/17024/apple-m1-max-performanc...

Re: AV1 video codec gains broader hardware support

#98

Earlier quoted context omitted.

What are the "ever growing set of standards" that Safari doesn't support?

This was discussed here not too long ago. I assume not much has changed since then. https://news.ycombinator.com/item?id=31902707

Most of those that were discussed have been implemented. The new list is here [1].

What you see is that they implement different features with Google obviously wanting the browser to be a full blown OS. So they added things like MIDI support and web pages being able to access the battery.

The problem with many of those features is that they have been shown by researchers to either (a) be insecure or (b) allow web pages to uniquely fingerprint your device. This is obviously an anathema to everything Apple believes in.

[1] https://caniuse.com/?compare=chrome+121,edge+118,safari+17.2...

Re: AV1 video codec gains broader hardware support

#99

How much silicon does it take to add an AV1 decoder to a chip? The areas Apple highlighted in their A17 release looked pretty substantial, but I wasnt sure if it was to scale. https://b3148424.smushcdn.com/3148424/wp-content/uploads/202...

> How much silicon does it take to add an AV1 decoder to a chip? The die area is very modest, but the hard part is building it in the first place. Encoding is more area, but should still be peanuts for Apple SoCs.

Dumb question, is this not a readily available IP block that you can buy? Better yet, why haven't industry partners licensed royalty-free IP for this?

Re: AV1 video codec gains broader hardware support

#100
post #34

Is AV1 better than HEVC? Or is it about the same, just freely licensed?

HEVC isn't widely supported by web browsers: https://caniuse.com/hevc AV1 is supported by almost all web browsers: https://caniuse.com/av1

Most of those browsers are just skins over the Chromium engine.

And iOS Safari is arguably the most important browser at all since iPhones are disproportionally used amongst video content creators.

Post reply on HN