mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Allow negative trim ranges for conversion, add OutputFormat.supportsTimestampedMediaData
This commit is contained in:
+7
-4
@@ -24,7 +24,7 @@
|
||||
chunked: true,
|
||||
chunkSize: 2**20
|
||||
});
|
||||
const outputFormat = new Mediabunny.Mp4OutputFormat({});
|
||||
const outputFormat = new Mediabunny.WavOutputFormat({});
|
||||
|
||||
const button = document.createElement('button');
|
||||
button.textContent = 'Cancel';
|
||||
@@ -100,8 +100,9 @@
|
||||
},
|
||||
*/
|
||||
video: () => ({
|
||||
forceTranscode: true,
|
||||
allowRotationMetadata: false,
|
||||
width: 320,
|
||||
//forceTranscode: true,
|
||||
//allowRotationMetadata: false,
|
||||
//width: 720,
|
||||
//frameRate: 30,
|
||||
//bitrate: Mediabunny.QUALITY_VERY_LOW,
|
||||
@@ -181,7 +182,9 @@
|
||||
}
|
||||
},
|
||||
trim: {
|
||||
start: 0,
|
||||
start: -2,
|
||||
end: 5,
|
||||
//start: 0,
|
||||
//end: 4
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user