I checked out this demo from the webcodecs repo and I was playing around with the HEVC decoding, which works from Chrome 107 I believe.
However, when I tried with an HEVC that utilizes transparency, the transparent part is drawn with black. I played the same video using the video element and it was transparent. I'm wondering, is it possible to preserve the transparent using the VideoDecoder?