Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 2014856 - Out-of-order timecode in WebM</title>
</head>
<body>
<video id="v"></video>
<script>
const webm = new Uint8Array([
0x1a, 0x45, 0xdf, 0xa3, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f,
0x42, 0x86, 0x81, 0x01, 0x42, 0xf7, 0x81, 0x01, 0x42, 0xf2, 0x81, 0x04,
0x42, 0xf3, 0x81, 0x08, 0x42, 0x82, 0x84, 0x77, 0x65, 0x62, 0x6d, 0x42,
0x87, 0x81, 0x02, 0x42, 0x85, 0x81, 0x02, 0x18, 0x53, 0x80, 0x67, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x4d, 0x9b, 0x88, 0x42,
0x82, 0x84, 0x77, 0x65, 0x62, 0x6d, 0x42, 0x87, 0x81, 0x02, 0x42, 0x85,
0x81, 0x02, 0x1f, 0x43, 0xb6, 0x75, 0x95, 0x2a, 0xd7, 0xb1, 0x83, 0x0f,
0x42, 0x40, 0x4d, 0x80, 0x85, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x53,
0xac, 0x81, 0x66, 0xe7, 0x81, 0x00, 0xe3, 0x83, 0xff, 0xff, 0xff
]);
const blob = new Blob([webm], { type: 'video/webm' });
const url = URL.createObjectURL(blob);
v.src = url;
</script>
</body>
</html>