The swiss army knife of lossless video/audio editing
Fix merging code #96
Mikael Finstad8ee924529e15
diff --git a/src/ffmpeg.js b/src/ffmpeg.jsindex 5736e0f6..78f8be1e 100644--- a/src/ffmpeg.js+++ b/src/ffmpeg.js@@ -292,11 +292,10 @@ function getOutFileExtension({ isCustomFormatSelected, outFormat, filePath }) {}export async function cutMultiple({- customOutDir, filePath, segments: segmentsUnsorted, videoDuration, rotation,+ customOutDir, filePath, segments, videoDuration, rotation,onProgress, keyframeCut, copyFileStreams, outFormat, isCustomFormatSelected,appendFfmpegCommandLog, shortestFlag, ffmpegExperimental, preserveMovData, avoidNegativeTs,}) {- const segments = sortBy(segmentsUnsorted, 'cutFrom');const singleProgresses = {};function onSingleProgress(id, singleProgress) {singleProgresses[id] = singleProgress;