mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 19:33:51 +02:00
Remove media sinks, adapt conversion code and computePacketStats to use cursors, remove setTimestamp, setDuration and setDuration on samples, add sample clone override options, optimize async mutex
This commit is contained in:
+8
-2
@@ -56,6 +56,7 @@
|
||||
}),
|
||||
output,
|
||||
audio: (_, n) => ({
|
||||
codec: 'opus',
|
||||
discard: n > 1,
|
||||
//codec: 'opus',
|
||||
//codec: 'opus',
|
||||
@@ -100,7 +101,12 @@
|
||||
},
|
||||
*/
|
||||
video: () => ({
|
||||
//discard: true,
|
||||
allowRotationMetadata: false,
|
||||
forceTranscode: true,
|
||||
width: 320,
|
||||
frameRate: 3,
|
||||
//frameRate: 30,
|
||||
//width: 720,
|
||||
//frameRate: 30,
|
||||
//bitrate: Mediabunny.QUALITY_VERY_LOW,
|
||||
@@ -180,8 +186,8 @@
|
||||
}
|
||||
},
|
||||
trim: {
|
||||
start: 0,
|
||||
end: 4
|
||||
start: 590,
|
||||
//end: 590
|
||||
},
|
||||
});
|
||||
console.log(conversion);
|
||||
|
||||
Reference in New Issue
Block a user