<!DOCTYPE html >
<html >
<head >
<title >Test 10 /12 -bit video files</title >
<script src="/tests/SimpleTest/SimpleTest.js" ></script >
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<script type="application/javascript" >
/** This test checks if 10 - and 12 -bit video plays. */
const videos = ["av1-yuv444p10.webm" , "av1-yuv422p10.webm" , "av1-yuv444p12.webm" ,
"vp9-yuv420p10.webm" ];
// Windows HW decoder doesn't support 12-bit VP9. TODO: fallback to SW decoder.
if (SpecialPowers.Services.appinfo.OS != "WINNT" ) {
videos.push("vp9-yuv420p12.webm" );
}
add_task(async function testPlayAll() {
for (const filename of videos) {
let video = document.createElement("video" );
document.body .appendChild(video );
video .src = filename;
video .addEventListener("error" , () =>
info(`${filename}: error event code =${video .error?.code } message=${video .error?.message}`));
video .addEventListener("playing" , () => info(`${filename}: playing`));
await video .play().then(
() => ok(true, `${filename} played`),
(e) => ok(false, `${filename} play() rejected: ${e}`));
}
});
</script >
</head >
<body >
</body >
</html >
Messung V0.5 in Prozent C=93 H=100 G=96
¤ Dauer der Verarbeitung: 0.22 Sekunden
(vorverarbeitet am 2026-09-28)
¤
*© Formatika GbR, Deutschland