mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Fix incorrectly processed timestamps for fragmented MP4
This commit is contained in:
+4
-4
@@ -21,7 +21,7 @@
|
||||
chunked: true,
|
||||
chunkSize: 2**20
|
||||
});
|
||||
const outputFormat = new Metamuxer.Mp4OutputFormat();
|
||||
const outputFormat = new Metamuxer.Mp4OutputFormat({ fastStart: 'fragmented' });
|
||||
|
||||
const button = document.createElement('button');
|
||||
button.textContent = 'Cancel';
|
||||
@@ -41,7 +41,7 @@
|
||||
//numberOfChannels: 1,
|
||||
//sampleRate: 4000
|
||||
//discard: true
|
||||
forceReencode: true,
|
||||
//forceReencode: true,
|
||||
},
|
||||
/*
|
||||
video: {
|
||||
@@ -72,7 +72,7 @@
|
||||
//width: 1280,
|
||||
//discard: true,
|
||||
//width: 640
|
||||
forceReencode: true,
|
||||
//forceReencode: true,
|
||||
//rotate: 90
|
||||
//width: 720 ?? 2160,
|
||||
//height: 1280 ?? 3840,
|
||||
@@ -85,7 +85,7 @@
|
||||
},
|
||||
trim: {
|
||||
start: 0,
|
||||
end: 40
|
||||
end: 3
|
||||
},
|
||||
});
|
||||
console.log(conversion);
|
||||
|
||||
Reference in New Issue
Block a user