Add cslg box

This commit is contained in:
Vanilagy
2025-01-04 14:43:26 +01:00
parent b8c0d76503
commit 3487bae4fe
3 changed files with 49 additions and 7 deletions
+1 -2
View File
@@ -51,7 +51,6 @@
console.log(await videoTrack.computeSampleStats())
document.body.textContent = performance.now() - start;
return;
const decoderConfig = await videoTrack.getDecoderConfig();
const sampleSource = new Metamuxer.EncodedVideoSampleSource(await videoTrack.getCodec());
@@ -81,7 +80,7 @@
a.click();
URL.revokeObjectURL(url);
}
//download(new Blob([target.buffer]), 'converted.mp4');
download(new Blob([target.buffer]), 'converted.mp4');
const input2 = new Metamuxer.Input({
formats: Metamuxer.ALL_FORMATS,