w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
953 stars 135 forks source link

In ubuntu, the webcodecs don't support 'prefer-hardware' #621

Closed yangfangfang1204 closed 1 year ago

yangfangfang1204 commented 1 year ago

In ubuntu, i find if i set webcodecs config(hardwareAcceleration) is 'prefer-hardware',it report a error: hardDecode reportError:Unsupported configuration. Check isConfigSupported() prior to calling configure().,state:closed,frameRate:25

and it could play 264-video by 'prefer-software'.and it still could not play 265-video until ChromeVV108.0.5359.98.

the report of chrome://gpu : ChromeV108.0.5359.98-GTX10603gb.txt

so why linux-chrome could not hard decode 264-video?

And when webcodecs could hard decode 265-video in linux-chrom?

dalecurtis commented 1 year ago

Linux chrome doesn't support hardware video decoding in many cases. Please file Chromium bugs at https://crbug.com/new

webpawn commented 10 months ago

@yangfangfang1204 i had the same question,did you resolve it?