WebCodecs VideoDecoder test page. Requires running Chrome with
--enable-blink-features=WebCodecs or running with "Experimental Web Platform Features" enabled in chrome://flags. Decodes 5000 frames in a window or
worker.
Set 'worker=true' to use a worker
Set 'window=true' to use a window
Set 'codec=h264|av1|vp9' to select the codec
Set 'hw=deny|require' to force hardware or software codec, default is allow
Set 'busy=true' to add a sine-shaped busy wait of up to 50ms on the
main thread (make sure to keep the window in the foreground when running
tests).