webcodecs

edit

WPT coverage of the tests of webcodecs at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable5389060%
Tentative000–
Reftests000–
Crash tests440100%
All5793061%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 3
  • NOT IMPLEMENTED: 35

Stable tests

TestResultSubtestsKindDescription
audio-data-copyTo.any.jsPass8 / 8
audio-data-copyto-offset.any.jsPass12 / 12
audio-data-copyto-oversized.any.jsPass16 / 16
audio-data-serialization.any.jsPass3 / 3
audio-data.any.jsPass44 / 44
audio-data.crossOriginIsolated.https.any.jsPass2 / 2
audio-decoder.crossOriginIsolated.https.any.jsFail0 / 4NOT IMPLEMENTEDthe AAC decoder (mp4a.40.2): the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
audio-decoder.https.any.jsFail64 / 68NOT IMPLEMENTEDthe Vorbis and FLAC decoders: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it, so the configurations that need a description are not supported
audio-encoder-aac-description.htmlFail0 / 3TEST BUG, NOT IMPLEMENTEDthe page is not a secure context (http), and AudioEncoder is [SecureContext]; the AAC encoder: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
audio-encoder-codec-specific.https.any.jsError1 / 4NOT IMPLEMENTEDthe Opus frame durations that are not Opus frame sizes (e.g. 7.5 ms, a packet of several frames) and the discontinuous transmission (usedtx): the Opus encoder of the WPT runner (Concentus) does not reduce the packets of silence; the AAC encoder: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
audio-encoder-config.https.any.jsFail100 / 102NOT IMPLEMENTEDthe Opus frame durations that are not Opus frame sizes (7.5 ms): the Opus encoder of the WPT runner (Concentus) encodes one frame per packet
audio-encoder.https.any.jsPass24 / 24
audio-serialization.crossAgentCluster.https.htmlPass7 / 7
audioDecoder-codec-specific.https.any.jsError162 / 262NOT IMPLEMENTEDthe AAC decoder: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: adts_aac, mp4_aac); the FLAC decoder: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: flac); the MP3 decoder: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: mp3); the Vorbis decoder: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vorbis)
audioDecoder-pcm-output.https.any.jsPass10 / 10
chunk-serialization.any.jsPass3 / 3
encoded-audio-chunk.any.jsPass4 / 4
encoded-audio-chunk.crossOriginIsolated.https.any.jsPass4 / 4
encoded-video-chunk.any.jsPass6 / 6
encoded-video-chunk.crossOriginIsolated.https.any.jsPass4 / 4
encodedVideoChunk-serialization.crossAgentCluster.https.htmlPass8 / 8
full-cycle-test.https.any.jsFail8 / 88NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the H.265 (HEVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h265); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
idlharness.https.any.jsPass630 / 630
image-decoder-animated-zero-delay.https.any.jsPass4 / 4
image-decoder-image-orientation-none.https.htmlFail2 / 16TEST BUGthe orientations other than top-left expect drawImage() of a VideoFrame to ignore its rotation and flip when the canvas has image-orientation: none (a behavior of Chromium): a VideoFrame is rendered with its rotation and flip (https://w3c.github.io/webcodecs/#videoframe-rendering), and image-orientation does not apply to the images drawn on a canvas
image-decoder.crossOriginIsolated.https.any.jsPass4 / 4
image-decoder.https.any.jsError60 / 94TEST BUG, NOT IMPLEMENTEDnew ImageDecoder({ type: 'junk/type' }) is expected not to throw and its decode() and tracks.ready to reject with a NotSupportedError, but the constructor throws a TypeError when the type is not a valid image MIME type (https://w3c.github.io/webcodecs/#valid-imagedecoderinit, step 1); Test ReadableStream of gif expects type to be the empty string after close(), but the Close ImageDecoder algorithm does not change [[type]] (https://w3c.github.io/webcodecs/#imagedecoder-close-imagedecoder), so the subtest fails before it handles its pending decode promise, rejected by close() (harness ERROR: unhandled rejection); the YUV pixel formats (I420, I422, I444 and their 10 and 12 bits variants) and the color spaces of the codecs: the image decoders of the rendering backend output RGBA pixels, so the frames are RGBA; the AVIF images with several tracks: the decoders of Meziantou.Framework.Imaging decode the image sequence of an AVIF image that also has a still image, so the image has one track
opus-multichannel.https.any.jsFail1 / 3NOT IMPLEMENTEDthe Opus streams of more than 2 channels (multistream, channel mapping family 1 and 255) in the codecs of the WPT runner
per-frame-qp-encoding.https.any.jsFail0 / 12NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
reconfiguring-encoder.https.any.jsFail2 / 12NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
serialization-to-shared-and-service-workers.https.htmlPass14 / 14
temporal-svc-encoding.https.any.jsFail4 / 16NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
transfering.https.any.jsPass28 / 28
video-decoder-no-size-in-configure.https.any.jsFail2 / 10NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
video-decoder.crossOriginIsolated.https.any.jsFail0 / 4NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
video-decoder.https.any.jsFail62 / 66NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
video-encoder-canvasImageSource.https.htmlPass6 / 6
video-encoder-config.https.any.jsFail82 / 86NOT IMPLEMENTEDthe H.264 and VP9 encoders: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
video-encoder-content-hint.https.any.jsPass2 / 2
video-encoder-flush.https.any.jsTimeout4 / 12NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264)
video-encoder-h264.https.any.jsFail0 / 8NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
video-encoder-h26x-annexb.https.any.jsFail0 / 8NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the H.265 (HEVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h265)
video-encoder-hbd.https.any.jsFail18 / 126NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
video-encoder-orientation.https.any.jsPass46 / 46
video-encoder-rescaling.https.any.jsError36 / 180NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
video-encoder.https.any.jsPass20 / 20
video-frame-serialization.any.jsPass14 / 14
videoColorSpace.any.jsPass2 / 2
videoDecoder-444-h264.https.any.jsFail0 / 2NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
videoDecoder-codec-specific-orientation.https.any.jsFail2 / 28NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the H.265 (HEVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h265); the delta frames of vp8.webm: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) decode the VP8 key frames only (the VP8 decoder of the lossy WebP images of Meziantou.Framework.Imaging), so the decoder is closed with an EncodingError (variants: vp8); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
videoDecoder-codec-specific.https.any.jsFail44 / 322NOT IMPLEMENTEDthe AV1 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: av1); the H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h264); the H.265 (HEVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: h265); the delta frames of vp8.webm: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) decode the VP8 key frames only (the VP8 decoder of the lossy WebP images of Meziantou.Framework.Imaging), so the decoder is closed with an EncodingError (variants: vp8); the VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it (variants: vp9)
videoDecoder-h264-sei.https.any.jsFail0 / 4NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
videoDecoder-interlaced-h264.https.any.jsFail0 / 2NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
videoFrame-alpha-discard.any.jsPass28 / 28
videoFrame-alpha-discard.window.jsPass8 / 8
videoFrame-alpha.any.jsPass4 / 4
videoFrame-canvasImageSource.htmlFail6 / 7NOT IMPLEMENTEDthe colors of the frames of the videos: the media backend of the WPT runner paints a test pattern, not the decoded frames of the video file
videoFrame-construction.any.jsPass104 / 104
videoFrame-construction.crossOriginIsolated.https.any.jsPass4 / 4
videoFrame-construction.crossOriginSource.sub.htmlPass13 / 13
videoFrame-construction.window.jsPass3 / 3
videoFrame-copyTo-canvas.window.jsPass2 / 2
videoFrame-copyTo-chroma-subsampling.any.jsPass16 / 16
videoFrame-copyTo-opaque-swizzle.https.any.jsPass20 / 20
videoFrame-copyTo-rgb.any.jsPass708 / 708
videoFrame-copyTo-rgbx.any.jsPass20 / 20
videoFrame-copyTo.any.jsPass44 / 44
videoFrame-copyTo.crossOriginIsolated.https.any.jsPass4 / 4
videoFrame-createImageBitmap.any.jsPass6 / 6
videoFrame-createImageBitmap.https.any.jsFail0 / 2NOT IMPLEMENTEDthe VP9 codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
videoFrame-drawImage-hbd.any.jsPass2 / 2
videoFrame-drawImage-rgbx.any.jsPass14 / 14
videoFrame-drawImage.any.jsPass14 / 14
videoFrame-encode-preserves-input.crossOrigin.https.htmlFail3 / 6NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
videoFrame-encode-preserves-input.https.any.jsFail6 / 12NOT IMPLEMENTEDthe H.264 (AVC) codec: the codecs of the WPT runner (WptMediaCodecBackend: PCM, G.711, Opus and VP8 key frames) have no managed implementation of it
videoFrame-metadata-rtpTimestamp.https.htmlFail0 / 1NOT IMPLEMENTEDWebRTC (RTCPeerConnection)
videoFrame-odd-size.any.jsPass4 / 4
videoFrame-orientation-drawImage.any.jsPass28 / 28
videoFrame-orientation-imageBitmap.any.jsPass16 / 16
videoFrame-orientation-webgl-i420.window.jsFail0 / 8NOT IMPLEMENTEDWebGL (getContext('webgl') returns null): the frames are uploaded with texImage2D()
videoFrame-orientation-webgl.window.jsFail0 / 8NOT IMPLEMENTEDWebGL (getContext('webgl') returns null): the frames are uploaded with texImage2D()
videoFrame-orientation.any.jsPass16 / 16
videoFrame-rgbx-imageBitmap.any.jsPass16 / 16
videoFrame-rgbx-webgl.window.jsFail0 / 25NOT IMPLEMENTEDWebGL (getContext('webgl') returns null): the frames are uploaded with texImage2D()
videoFrame-rotation.any.jsPass224 / 224
videoFrame-serialization.crossAgentCluster.https.htmlPass2 / 2
videoFrame-serialization.https.htmlPass12 / 12
videoFrame-texImage.any.jsFail0 / 12NOT IMPLEMENTEDWebGL (getContext('webgl') returns null): the frames are uploaded with texImage2D()
vp9-codec-string-profile-constraints.https.any.jsPass40 / 40

Crash tests

TestResultVariantsKindDescription
image-decoder-disconnect-readable-stream-crash.https.htmlPass1 / 1
image-decoder-transfer-nondetachable-crash.https.htmlPass1 / 1
imagedecoder-bmp-in-ico-crash.https.htmlPass1 / 1
imagedecoder-zero-length-crash.https.htmlPass1 / 1