Closed konstantin-paulus closed 7 months ago
This sounds like an implementation bug, please file a bug in the vendor's bug tracker at https://new.crbug.com/ (Google account needed), this tracker is for the specification of the Web Codecs API, not a particular implementation in a browser.
The snippet to reproduce is usually very appreciated by browser folks, but I'm sure the Chromium developers there will need information about your computer, such as its CPU / GPU (the thing that does the hardware encoding), and the graphics driver version. To me, it smells like an over-use of graphics resources.
cc @Djuffin for Chromium.
This sounds like an implementation bug, please file a bug in the vendor's bug tracker at https://new.crbug.com/ (Google account needed), this tracker is for the specification of the Web Codecs API, not a particular implementation in a browser.
The snippet to reproduce is usually very appreciated by browser folks, but I'm sure the Chromium developers there will need information about your computer, such as its CPU / GPU (the thing that does the hardware encoding), and the graphics driver version. To me, it smells like an over-use of graphics resources.
cc @Djuffin for Chromium.
For reference: https://bugs.chromium.org/p/chromium/issues/detail?id=1504122
I'm trying to encode/decode a large amount of frames using the canvas and webcodecs api. This works fine on MacOs (Chrome), but when I run the same code on Windows (also Chrome) the browser window turns black, minimizes and maximizes again after encoding/decoding a few hundred frames. This also halts the execution of all functions.
It can be replicated with just the encoding part using the following code:
If you open up the console it should log
DONE!!!
after encoding all frames but it never does. In some cases it displays the errorDOMException: Encoding error.
orDOMException: Decoding error.
.Now if you decrease the
totalFrames
from2 * 60 * 30
to10 * 30
the error doesn't appear. This is also the case with a smaller canvas (width & height).The Browser version that I've experienced this on is
Version 119.0.6045.160 (Official Build) (64-bit)