Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
..
META.yml 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
README.md 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-data-serialization.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-data.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-data.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-data.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-decoder.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-decoder.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-decoder.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-encoder-config.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audio-encoder.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
audioDecoder-codec-specific.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
av1.mp4 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
chunk-serialization.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
encoded-audio-chunk.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
encoded-audio-chunk.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
encoded-audio-chunk.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
encoded-video-chunk.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
encoded-video-chunk.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
encoded-video-chunk.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-flip.avif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-flip.gif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-full-range-bt2020-pq-444-10bpc.avif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-limited-range-420-8bpc.avif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-limited-range-420-8bpc.jpg 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-limited-range-420-8bpc.webp 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-limited-range-422-8bpc.avif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors-limited-range-444-8bpc.avif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors.avif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors.gif 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors.jpg 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors.mp4 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors.png 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
four-colors.webp 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
full-cycle-test.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
h264.annexb 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
h264.mp4 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
image-decoder-disconnect-readable-stream-crash.https.html 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
image-decoder-image-orientation-none.https.html 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
image-decoder-utils.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
image-decoder.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
image-decoder.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
image-decoder.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
pattern.png 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
reconfiguring-encoder.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
sfx-aac.mp4 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
sfx-alaw.wav 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
sfx-mulaw.wav 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
sfx-opus.ogg 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
sfx.adts 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
sfx.mp3 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
temporal-svc-encoding.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
utils.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-decoder.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-decoder.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-decoder.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-encoder-config.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-encoder-utils.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-encoder.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
video-frame-serialization.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoDecoder-codec-specific.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-alpha.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-canvasImageSource.html 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-construction.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-construction.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-construction.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-construction.window.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-copyTo.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-copyTo.crossOriginIsolated.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-copyTo.crossOriginIsolated.https.any.js.headers 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-createImageBitmap.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-createImageBitmap.https.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-drawImage.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-texImage.any.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
videoFrame-utils.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
vp8.webm 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
vp9.mp4 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve
webgl-test-utils.js 4762b62e7d Publish DEPS for 106.0.5249.13 1 éve

README.md

WebCodecs Test Files

[TOC]

Instructions

To add, update or remove a test file, please update the list below.

Please provide full reference and steps to generate the test file so that any people can regenerate or update the file in the future.

Notes

  • When updating the sample offsets and descriptions for tests using mp4 files, it’s easiest to use mp4box.js.
    • Sample offsets can be copied from the «Sample View» tab after unchecking all but offset and size. Use a multi-line edit mode and clang-format to quickly format entries.
    • Description entries can be found under moov.trak.mdia.minf.stbl.stsd in box view.
    • avc1.avcC has an offset, size in the same view. Add 8 to offset and subtract 8 from the size to get the values the tests want.
    • If you use ffprobe -show_packets to get sample offsets, you may need to add 4 to each pos value. You can tell if you need to by whether or not tests pass.

List of Test Files

four-colors.png

Generated using MSPaint like a true professional.

four-colors.avif

Lossless encoding must be used to ensure colors are perfect.

avifenc -l four-colors.png -o four-colors.avif

four-colors.webp

Lossless encoding must be used to ensure colors are perfect.

ffmpeg -i four-colors.png -lossless 1 -y four-colors.webp

four-colors-limited-range-420-8bpc.webp

ffmpeg -i four-colors.png -pix_fmt yuv420p four-colors-limited-range-420-8bpc.webp

four-colors.gif

High quality encoding must be used to ensure colors are perfect.

cp four-colors.png four-colors2.png
gifski -o four-colors.gif four-colors*.png

four-colors-flip.gif

High quality encoding must be used to ensure colors are perfect.

ffmpeg -i four-colors.png -vf "rotate=PI" four-colors2.png
gifski -o four-colors-flip.gif four-colors*.png

four-colors-flip.avif

ffmpeg -i four-colors-flip.gif -vcodec libaom-av1 -crf 16 four-colors-flip.mp4
mp4box -add-image ref:primary:tk=1:samp=1 -ab avis -ab avif -ab miaf -brand avis four-colors-flip.mp4 -out four-colors-flip.avif

four-colors-limited-range-(420|422|444)-8bpc.avif

avifenc -r l -d 8 -y 420 -s 0 four-colors.png four-colors-limited-range-420-8bpc.avif
avifenc -r l -d 8 -y 422 -s 0 four-colors.png four-colors-limited-range-422-8bpc.avif
avifenc -r l -d 8 -y 444 -s 0 four-colors.png four-colors-limited-range-444-8bpc.avif

four-colors-full-range-bt2020-pq-444-10bpc.avif

avifenc -r f -d 10 -y 444 -s 0 --nclx 9/16/9 four-colors.png four-colors-full-range-bt2020-pq-444-10bpc.avif

four-colors.jpg

Used Sqoosh.app with MozJPEG compression and RGB channels. exiftool was then used to add an orientation marker.

exiftool -Orientation=1 -n four-colors.jpg

four-colors-limited-range-420-8bpc.jpg

Used Sqoosh.app with MozJPEG compression and YUV channels. exiftool was then used to add an orientation marker.

exiftool -Orientation=1 -n four-colors-limited-range-420-8bpc.jpg

four-colors.mp4

Used a custom tool to convert four-colors.avif into a .mp4 file.

h264.mp4

ffmpeg -f lavfi -i testsrc=rate=10:n=1 -t 1 -pix_fmt yuv420p -vcodec h264 -tune zerolatency h264.mp4

h264.annexb

ffmpeg -i h264.mp4 -codec copy -bsf:v h264_mp4toannexb -f h264 h264.annexb

sfx.adts

sox -n -r 48000 sfx.wav synth 1 sine 480
ffmpeg -i sfx.wav -frames:a 10 -acodec aac -b:a 96K sfx.adts

sfx-alaw.wav

sox -n -r 48000 sfx.wav synth 1 sine 480
ffmpeg -i sfx.wav -frames:a 10 -acodec pcm_alaw sfx-alaw.wav

sfx.mp3

sox -n -r 48000 sfx.wav synth 1 sine 480
ffmpeg -i sfx.wav -frames:a 10 -acodec libmp3lame -b:a 96K sfx.mp3

sfx-aac.mp4

sox -n -r 48000 sfx.wav synth 1 sine 480
ffmpeg -i sfx.wav -frames:a 10 -acodec aac -b:a 96K sfx-aac.mp4

sfx-mulaw.wav

sox -n -r 48000 sfx.wav synth 1 sine 480
ffmpeg -i sfx.wav -frames:a 10 -acodec pcm_mulaw sfx-mulaw.wav

sfx-opus.ogg

sox -n -r 48000 sfx.wav synth 1 sine 480
ffmpeg -i sfx.wav -frames:a 10 -acodec libopus -b:a 96K sfx-opus.ogg

av1.mp4

ffmpeg -f lavfi -i testsrc=rate=10:n=1 -t 1 -pix_fmt yuv420p -vcodec libaom-av1 av1.mp4

vp8.webm

ffmpeg -f lavfi -i testsrc=rate=10:n=1 -t 1 -pix_fmt yuv420p -vcodec vp8 vp8.webm

vp9.mp4

ffmpeg -f lavfi -i testsrc=rate=10:n=1 -t 1 -pix_fmt yuv420p -vcodec vp9 vp9.mp4