Allow fractional frame rates in track metadata, document frameRate better, other small doc adjustments

This commit is contained in:
Vanilagy
2025-04-28 15:48:51 +02:00
parent cf19e0dcf1
commit e527fe1484
10 changed files with 113 additions and 41 deletions
+3 -3
View File
@@ -111,7 +111,7 @@
Example entry 1: Hello <b>world</b>.
`;
if (false) simpleWebvttFile =
if (false) simpleWebvttFile =
`WEBVTT
1
@@ -127,7 +127,7 @@ We are looking straight down 5th Avenue.
Testing... <00:17.350>One... <00:18.125>Two...
`
simpleWebvttFile =
simpleWebvttFile =
`WEBVTT
00:00:01.000 --> 00:00:01.500 align:start line:1
@@ -178,5 +178,5 @@ Testing... <00:17.350>One... <00:18.125>Two...
await output.finalize();
console.log(target);
download(new Blob([target.buffer]), 'test' + format.fileExtension);
//download(new Blob([target.buffer]), 'test' + format.fileExtension);
</script>