Add packet type derivation logic, new verifyKeyPackets options, new determinePacketType method

This commit is contained in:
Vanilagy
2025-07-24 16:09:01 +02:00
parent 904ac2e366
commit 5e933d9362
12 changed files with 581 additions and 204 deletions
+4 -2
View File
@@ -21,7 +21,7 @@
chunked: true,
chunkSize: 2**20
});
const outputFormat = new Mediabunny.WavOutputFormat({ large: true });
const outputFormat = new Mediabunny.Mp4OutputFormat({});
const button = document.createElement('button');
button.textContent = 'Cancel';
@@ -70,6 +70,8 @@
},
*/
video: {
forceTranscode: true,
codec: 'av1',
//discard: true,
//width: 1280,
//discard: true,
@@ -87,7 +89,7 @@
},
trim: {
start: 0,
end: 10
end: 20
},
});
console.log(conversion);