{ "about": "platform-decode \u00a72: the query a sink reads from an entry's payload, and \u00a72.3: the chunks it gives the decoder. payload_file names a WAI1 envelope under wai/ whose payload is the entry's; payload_raw a file whose bytes are the payload; sps_hex is an HEVC SPS NAL unit, header included, as an Annex B stream carries it. rate is the presentation rate a sink gives a payload that states none. mutate is a planted fault: [byte offset, bits flipped] edits of the payload before it is read. expect holds members of the query's JSON form (platform_decode::query_json), chunks the summary of its chunks (platform_decode::chunks_json), and refused: true a payload that gives no query or no chunks. The two AV1 objects are floor objects of the packaging corpus (SPEC \u00a75's AV1 framing); their codec string is the one the packager wrote into the pack's HLS master. The SPS is the one the platform's HEVC encoder wrote through WebCodecs, configured as hvc1.1.6.L93.B0 for 640x360 with prefer-hardware (a hint the user agent may ignore, so nothing here says which encoder ran): it states general_level_idc 63 (level 2.1), and the codec string the encoder declared for its output repeated the configured one. The other payloads were written by real encoders and muxers: identify-conformance/ext/ (its tools/make_external.sh), encode-conformance/streams/ (the platform's and a software encoder), and payloads/ (payloads/make.sh; payloads/prober.tsv is what an independent media prober read of each).", "cases": [ { "id": "corpus-floor-object-60-units", "capability": "wai.video.av1", "payload_file": "pack-conformance/packs/video-base-01/package/objects/35c7a45323b7afe979c123fa885f35cc55fabd2a1954759aebe4b95dbc76361f.wai", "expect": { "codec": "av01.0.00M.08", "width": 64, "height": 36, "codedWidth": 64, "codedHeight": 36, "framerate": [ 25, 1 ], "bitrate": 7230, "bitDepth": 8 } }, { "id": "corpus-floor-object-40-units", "capability": "wai.video.av1", "payload_file": "pack-conformance/packs/video-base-01/package/objects/761c4649427c51796a2b699568775765b209ee80d2f4fc1cf040838c6724aa2d.wai", "expect": { "codec": "av01.0.00M.08", "width": 64, "height": 36, "codedWidth": 64, "codedHeight": 36, "framerate": [ 25, 1 ], "bitrate": 8715, "bitDepth": 8 } }, { "id": "platform-encoder-sps", "capability": "wai.video.hevc", "sps_hex": "420101016000000300b0000003000003003fa005020171f2e206ee45914bff2e7f13fa9b8086808040", "expect": { "codec": "hev1.1.6.L63.B0", "width": 640, "height": 360, "codedWidth": 640, "codedHeight": 368, "bitDepth": 8 } }, { "id": "vp9-profile-0", "capability": "wai.video.vp9", "payload_raw": "identify-conformance/ext/vp9.ivf", "expect": { "media": "video", "codec": "vp09.00.10.08", "width": 32, "height": 32, "codedWidth": 32, "codedHeight": 32, "framerate": [ 10, 1 ], "bitrate": 21627, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"vp09.00.10.08\"", "width": 32, "height": 32, "bitrate": 21627, "framerate": 10.0 } } }, "chunks": { "chunks": 3, "keys": 1, "firstKey": true, "bytes": 743, "samples": null, "descriptionBytes": null } }, { "id": "vp9-profile-1-444", "capability": "wai.video.vp9", "payload_raw": "platform-decode-conformance/payloads/vp9-444.ivf", "expect": { "media": "video", "codec": "vp09.01.10.08.03.01.01.01.00", "width": 48, "height": 32, "codedWidth": 48, "codedHeight": 32, "framerate": [ 30000, 1001 ], "bitrate": 110983, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"vp09.01.10.08.03.01.01.01.00\"", "width": 48, "height": 32, "bitrate": 110983, "framerate": 29.97002997002997 } } }, "chunks": { "chunks": 9, "keys": 3, "firstKey": true, "bytes": 4026, "samples": null, "descriptionBytes": null } }, { "id": "vp9-profile-2-10-bit-bt2020-full-range", "capability": "wai.video.vp9", "payload_raw": "platform-decode-conformance/payloads/vp9-10bit.ivf", "expect": { "media": "video", "codec": "vp09.02.10.10.01.01.01.09.01", "width": 64, "height": 36, "codedWidth": 64, "codedHeight": 36, "framerate": [ 25, 1 ], "bitrate": 57440, "bitDepth": 10, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"vp09.02.10.10.01.01.01.09.01\"", "width": 64, "height": 36, "bitrate": 57440, "framerate": 25.0 } } }, "chunks": { "chunks": 10, "keys": 2, "firstKey": true, "bytes": 2720, "samples": null, "descriptionBytes": null } }, { "id": "vp8", "capability": "wai.video.vp8", "payload_raw": "platform-decode-conformance/payloads/vp8.ivf", "expect": { "media": "video", "codec": "vp8", "width": 64, "height": 36, "codedWidth": 64, "codedHeight": 36, "framerate": [ 25, 1 ], "bitrate": 73220, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"vp8\"", "width": 64, "height": 36, "bitrate": 73220, "framerate": 25.0 } } }, "chunks": { "chunks": 10, "keys": 2, "firstKey": true, "bytes": 3509, "samples": null, "descriptionBytes": null } }, { "id": "avc-constrained-baseline", "capability": "wai.video.avc", "payload_raw": "identify-conformance/ext/avc.h264", "rate": [ 10, 1 ], "expect": { "media": "video", "codec": "avc1.42C00A", "width": 32, "height": 32, "codedWidth": 32, "codedHeight": 32, "framerate": [ 10, 1 ], "bitrate": 35387, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"avc1.42C00A\"", "width": 32, "height": 32, "bitrate": 35387, "framerate": 10.0 } } }, "chunks": { "chunks": 3, "keys": 1, "firstKey": true, "bytes": 1327, "samples": null, "descriptionBytes": null } }, { "id": "avc-high-b-frames-cropped", "capability": "wai.video.avc", "payload_raw": "platform-decode-conformance/payloads/avc-high.h264", "rate": [ 25, 1 ], "expect": { "media": "video", "codec": "avc1.64000A", "width": 64, "height": 36, "codedWidth": 64, "codedHeight": 48, "framerate": [ 25, 1 ], "bitrate": 45920, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"avc1.64000A\"", "width": 64, "height": 36, "bitrate": 45920, "framerate": 25.0 } } }, "chunks": { "chunks": 10, "keys": 2, "firstKey": true, "bytes": 2296, "samples": null, "descriptionBytes": null } }, { "id": "avc-platform-encoder", "capability": "wai.video.avc", "payload_raw": "encode-conformance/streams/platform-avc.h264", "rate": [ 30, 1 ], "expect": { "media": "video", "codec": "avc1.64000C", "width": 256, "height": 144, "codedWidth": 256, "codedHeight": 144, "framerate": [ 30, 1 ], "bitrate": 611260, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"avc1.64000C\"", "width": 256, "height": 144, "bitrate": 611260, "framerate": 30.0 } } }, "chunks": { "chunks": 12, "keys": 3, "firstKey": true, "bytes": 30563, "samples": null, "descriptionBytes": null } }, { "id": "avc-software-encoder-128x72", "capability": "wai.video.avc", "payload_raw": "encode-conformance/streams/software-avc-128x72.h264", "rate": [ 30, 1 ], "expect": { "media": "video", "codec": "avc1.640C0C", "width": 128, "height": 72, "codedWidth": 128, "codedHeight": 80, "framerate": [ 30, 1 ], "bitrate": 204280, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"avc1.640C0C\"", "width": 128, "height": 72, "bitrate": 204280, "framerate": 30.0 } } }, "chunks": { "chunks": 12, "keys": 3, "firstKey": true, "bytes": 10214, "samples": null, "descriptionBytes": null } }, { "id": "hevc-stream", "capability": "wai.video.hevc", "payload_raw": "identify-conformance/ext/hevc.h265", "rate": [ 10, 1 ], "expect": { "media": "video", "codec": "hev1.1.6.L30.90", "width": 32, "height": 32, "codedWidth": 32, "codedHeight": 32, "framerate": [ 10, 1 ], "bitrate": 14827, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"hev1.1.6.L30.90\"", "width": 32, "height": 32, "bitrate": 14827, "framerate": 10.0 } } }, "chunks": { "chunks": 3, "keys": 1, "firstKey": true, "bytes": 556, "samples": null, "descriptionBytes": null } }, { "id": "hevc-platform-encoder", "capability": "wai.video.hevc", "payload_raw": "encode-conformance/streams/platform-hevc.h265", "rate": [ 30, 1 ], "expect": { "media": "video", "codec": "hev1.1.6.L60.B0", "width": 256, "height": 144, "codedWidth": 256, "codedHeight": 144, "framerate": [ 30, 1 ], "bitrate": 632520, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"hev1.1.6.L60.B0\"", "width": 256, "height": 144, "bitrate": 632520, "framerate": 30.0 } } }, "chunks": { "chunks": 12, "keys": 3, "firstKey": true, "bytes": 31626, "samples": null, "descriptionBytes": null } }, { "id": "opus-mono-ogg", "capability": "wai.audio.opus", "payload_raw": "identify-conformance/ext/opus.ogg", "expect": { "media": "audio", "codec": "opus", "sampleRate": 48000, "numberOfChannels": 1, "bitrate": 40280, "bitDepth": null, "description": "4f707573486561640101380180bb0000000000", "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"opus\"", "channels": "1", "samplerate": 48000, "bitrate": 40280 } }, "decoderConfig": { "codec": "opus", "sampleRate": 48000, "numberOfChannels": 1 } }, "chunks": { "chunks": 11, "keys": 11, "firstKey": true, "bytes": 848, "samples": 10560, "descriptionBytes": 19 } }, { "id": "opus-stereo-ogg", "capability": "wai.audio.opus", "payload_raw": "platform-decode-conformance/payloads/opus-stereo.ogg", "expect": { "media": "audio", "codec": "opus", "sampleRate": 48000, "numberOfChannels": 2, "bitrate": 75712, "bitDepth": null, "description": "4f707573486561640102380180bb0000000000", "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"opus\"", "channels": "2", "samplerate": 48000, "bitrate": 75712 } }, "decoderConfig": { "codec": "opus", "sampleRate": 48000, "numberOfChannels": 2 } }, "chunks": { "chunks": 13, "keys": 13, "firstKey": true, "bytes": 2205, "samples": 12480, "descriptionBytes": 19 } }, { "id": "opus-one-packet", "capability": "wai.audio.opus.packet", "payload_raw": "platform-decode-conformance/payloads/opus-packet.opus", "expect": { "media": "audio", "codec": "opus", "sampleRate": 48000, "numberOfChannels": 2, "bitrate": 94400, "bitDepth": null, "description": null, "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"opus\"", "channels": "2", "samplerate": 48000, "bitrate": 94400 } }, "decoderConfig": { "codec": "opus", "sampleRate": 48000, "numberOfChannels": 2 } }, "chunks": { "chunks": 1, "keys": 1, "firstKey": true, "bytes": 236, "samples": 960, "descriptionBytes": null } }, { "id": "flac-mono-16-bit", "capability": "wai.audio.flac", "payload_raw": "identify-conformance/ext/a.flac", "expect": { "media": "audio", "codec": "flac", "sampleRate": 48000, "numberOfChannels": 1, "bitrate": 468040, "bitDepth": 16, "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"flac\"", "channels": "1", "samplerate": 48000, "bitrate": 468040 } }, "decoderConfig": { "codec": "flac", "sampleRate": 48000, "numberOfChannels": 1 } }, "chunks": { "chunks": 10, "keys": 10, "firstKey": true, "bytes": 3445, "samples": 9600, "descriptionBytes": 8256 } }, { "id": "flac-stereo-24-bit", "capability": "wai.audio.flac", "payload_raw": "platform-decode-conformance/payloads/flac-stereo-24.flac", "expect": { "media": "audio", "codec": "flac", "sampleRate": 44100, "numberOfChannels": 2, "bitrate": 540096, "bitDepth": 24, "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"flac\"", "channels": "2", "samplerate": 44100, "bitrate": 540096 } }, "decoderConfig": { "codec": "flac", "sampleRate": 44100, "numberOfChannels": 2 } }, "chunks": { "chunks": 11, "keys": 11, "firstKey": true, "bytes": 8622, "samples": 11025, "descriptionBytes": 8256 } }, { "id": "aac-lc-mono", "capability": "wai.audio.aac", "payload_raw": "identify-conformance/ext/a.aac", "expect": { "media": "audio", "codec": "mp4a.40.2", "sampleRate": 48000, "numberOfChannels": 1, "bitrate": 34364, "bitDepth": null, "description": null, "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"mp4a.40.2\"", "channels": "1", "samplerate": 48000, "bitrate": 34364 } }, "decoderConfig": { "codec": "mp4a.40.2", "sampleRate": 48000, "numberOfChannels": 1 } }, "chunks": { "chunks": 11, "keys": 11, "firstKey": true, "bytes": 1008, "samples": 11264, "descriptionBytes": null } }, { "id": "aac-lc-stereo", "capability": "wai.audio.aac", "payload_raw": "platform-decode-conformance/payloads/aac-stereo.aac", "expect": { "media": "audio", "codec": "mp4a.40.2", "sampleRate": 44100, "numberOfChannels": 2, "bitrate": 63710, "bitDepth": null, "description": null, "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"mp4a.40.2\"", "channels": "2", "samplerate": 44100, "bitrate": 63710 } }, "decoderConfig": { "codec": "mp4a.40.2", "sampleRate": 44100, "numberOfChannels": 2 } }, "chunks": { "chunks": 12, "keys": 12, "firstKey": true, "bytes": 2219, "samples": 12288, "descriptionBytes": null } }, { "id": "vp9-fourcc-changed", "capability": "wai.video.vp9", "payload_raw": "identify-conformance/ext/vp9.ivf", "mutate": [ [ 11, 1 ] ], "refused": true, "why": "IVF FourCC" }, { "id": "vp9-first-frame-not-key", "capability": "wai.video.vp9", "payload_raw": "identify-conformance/ext/vp9.ivf", "mutate": [ [ 44, 4 ] ], "refused": true, "why": "the first frame is not a key frame" }, { "id": "vp9-profile-bit-changed", "capability": "wai.video.vp9", "payload_raw": "identify-conformance/ext/vp9.ivf", "mutate": [ [ 44, 32 ] ], "expect": { "media": "video", "codec": "vp09.01.11.08.03.01.01.01.00", "width": 249, "height": 252, "codedWidth": 249, "codedHeight": 252, "framerate": [ 10, 1 ], "bitrate": 21627, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"vp09.01.11.08.03.01.01.01.00\"", "width": 249, "height": 252, "bitrate": 21627, "framerate": 10.0 } } }, "chunks": { "chunks": 3, "keys": 1, "firstKey": true, "bytes": 743, "samples": null, "descriptionBytes": null } }, { "id": "vp8-version-past-3", "capability": "wai.video.vp8", "payload_raw": "platform-decode-conformance/payloads/vp8.ivf", "mutate": [ [ 44, 8 ] ], "refused": true, "why": "a VP8 version past 3" }, { "id": "avc-level-byte-changed", "capability": "wai.video.avc", "payload_raw": "identify-conformance/ext/avc.h264", "rate": [ 10, 1 ], "mutate": [ [ 7, 1 ] ], "expect": { "media": "video", "codec": "avc1.42C00B", "width": 32, "height": 32, "codedWidth": 32, "codedHeight": 32, "framerate": [ 10, 1 ], "bitrate": 35387, "bitDepth": 8, "decodingConfiguration": { "type": "media-source", "video": { "contentType": "video/mp4; codecs=\"avc1.42C00B\"", "width": 32, "height": 32, "bitrate": 35387, "framerate": 10.0 } } }, "chunks": { "chunks": 3, "keys": 1, "firstKey": true, "bytes": 1327, "samples": null, "descriptionBytes": null } }, { "id": "opus-ogg-page-byte-changed", "capability": "wai.audio.opus", "payload_raw": "identify-conformance/ext/opus.ogg", "mutate": [ [ 30, 1 ] ], "refused": true, "why": "an Ogg CRC" }, { "id": "flac-frame-byte-changed", "capability": "wai.audio.flac", "payload_raw": "identify-conformance/ext/a.flac", "mutate": [ [ 9000, 1 ] ], "refused": true, "why": "a frame whose CRC-16 never matches" }, { "id": "flac-streaminfo-rate-changed", "capability": "wai.audio.flac", "payload_raw": "identify-conformance/ext/a.flac", "mutate": [ [ 19, 16 ] ], "expect": { "media": "audio", "codec": "flac", "sampleRate": 47744, "numberOfChannels": 1, "bitrate": 465544, "bitDepth": 16, "decodingConfiguration": { "type": "media-source", "audio": { "contentType": "audio/mp4; codecs=\"flac\"", "channels": "1", "samplerate": 47744, "bitrate": 465544 } }, "decoderConfig": { "codec": "flac", "sampleRate": 47744, "numberOfChannels": 1 } }, "chunks": { "chunks": 10, "keys": 10, "firstKey": true, "bytes": 3445, "samples": 9600, "descriptionBytes": 8256 } }, { "id": "aac-channel-configuration-0", "capability": "wai.audio.aac", "payload_raw": "identify-conformance/ext/a.aac", "mutate": [ [ 3, 64 ] ], "refused": true, "why": "an ADTS configuration" }, { "id": "aac-first-frame-another-rate", "capability": "wai.audio.aac", "payload_raw": "identify-conformance/ext/a.aac", "mutate": [ [ 2, 4 ] ], "refused": true, "why": "another configuration" } ] }