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.15k stars 56 forks source link

scc profile 无法解码 #55

Closed ghost closed 1 year ago

StaZhu commented 1 year ago

Chrome 目前只支持解码 HEVC Main, Main10, REXT Profile,不支持 SCC Profile。

StaZhu commented 1 year ago

Chrome 目前只支持解码 HEVC Main, Main10, REXT Profile,不支持 SCC Profile。

有计划支持 SCC 吗

现在应该只有Intel特定显卡才支持SCC,另外两家 + Mac都不支持,支持这个有啥意义么?

StaZhu commented 1 year ago

cc @taste1981, Does Intel support this on Windows?

StaZhu commented 1 year ago

cc @taste1981, Does Intel support this on Windows?

Yes, Gen12+ GPU supports HEVC SCC decoding and encoding via QSV (Windows and Linux)

Chrome use D3D11 instead of QSV do decoding, so its unclear if intel support this feature via D3D interface.

taste1981 commented 1 year ago

We don't have SCC encoding support via HMFT, so corresponding decoding support in Chrome will not be added.

taste1981 commented 1 year ago

We only consider SCC decoding when this is enabled end-to-end in Chrome. Since there is no encoding support, we will not enable decoding support through D3D11 as well though Intel has private DXVA interface for it.

Besides, D3D12 encoding for SCC/HEVC is not yet defined by Microsoft; And Windows is not yet ready with supporting D3D12 capture/encode, so the encoding support for SCC/HEVC with D3D12 is still below horizon on Windows.

Decoding wise, latest DXVA (D3D11) spec for HEVC decoding does not include HEVC/SCC.