Implement proper level lookup tables for codec string generation

This commit is contained in:
Vanilagy
2024-11-30 17:59:00 +01:00
parent 266fcd473e
commit 25c271e4af
10 changed files with 534 additions and 217 deletions
+3 -3
View File
@@ -32,8 +32,8 @@
}
const canvas = document.createElement('canvas');
canvas.width = 1280;
canvas.height = 720;
canvas.width = 3840;
canvas.height = 3840;
const context = canvas.getContext('2d');
let format = new Metamuxer.WebMOutputFormat({ streamable: true });
@@ -80,7 +80,7 @@
*/
let videoSource = new Metamuxer.CanvasSource(canvas, {
codec: 'avc',
codec: 'av1',
bitrate: 1e6
});
let audioSource = new Metamuxer.AudioBufferSource({