mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Fixed missing mipmapping in the VideoSample transform case, now guaranteed via a manual mipmap algo
This commit is contained in:
+3
-2
@@ -129,6 +129,7 @@
|
||||
},
|
||||
*/
|
||||
video: {
|
||||
height: 320,
|
||||
//codec: 'avc',
|
||||
//bitrate: new Mediabunny.Quality({
|
||||
// quality: Infinity,
|
||||
@@ -157,7 +158,7 @@
|
||||
}
|
||||
},
|
||||
trim: {
|
||||
end: 0.5,
|
||||
end: 5,
|
||||
//start: -2,
|
||||
//end: 10,
|
||||
//start: 300.14984567374756 - 100,
|
||||
@@ -197,7 +198,7 @@
|
||||
document.body.append(video);
|
||||
video.play();
|
||||
|
||||
download(new Blob([target.buffer]), 'converted' + outputFormat.fileExtension);
|
||||
//download(new Blob([target.buffer]), 'converted' + outputFormat.fileExtension);
|
||||
|
||||
function download(blob, filename) {
|
||||
const url = URL.createObjectURL(blob);
|
||||
|
||||
Reference in New Issue
Block a user