StaZhu / enable-chromium-hevc-hardware-decoding

A guide that teach you enable hardware HEVC decoding & encoding for Chrome / Edge, or build a custom version of Chromium / Electron that supports hardware & software HEVC decoding and hardware HEVC encoding.
MIT License
1.24k stars 60 forks source link

HEIC #81

Closed Andarwinux closed 2 months ago

Andarwinux commented 2 months ago

It looks like all platforms now support SP decoding, but there is no HEIC demuxer, so it would be nice to add support for that.

StaZhu commented 2 months ago

My understanding is that HEIC is always 4:4:4 chroma sampling, however most of the existing hardware video decoder can only handle 4:2:0, so unless chromium bundled a SW HEVC decoder, otherwise there is no possibility to add HEIC support for now.

Andarwinux commented 2 months ago

As far as I know most common HEIC images are still 4:2:0, as produced by smartphone cameras. Even if HW doesn't support 4:4:4, the opportunistic support for 4:2:0 is still very valuable.

StaZhu commented 2 months ago

For now, I have no interest to implement HEIC support, thanks for the information.