The swiss army knife of lossless video/audio editing
Preserve timestamp also for merged export files #487
Mikael Finstad19087eedd181
diff --git a/src/ffmpeg.js b/src/ffmpeg.jsindex 6c2dc5ad..454e2784 100644--- a/src/ffmpeg.js+++ b/src/ffmpeg.js@@ -513,8 +513,10 @@ export async function mergeFiles({ paths, outPath, allStreams, outFormat, ffmpegstringToStream(concatTxt).pipe(process.stdin);- const result = await process;- console.log(result.stdout);+ const { stdout } = await process;+ console.log(stdout);++ await transferTimestamps(paths[0], outPath);}export async function autoMergeSegments({ customOutDir, sourceFile, isCustomFormatSelected, outFormat, segmentPaths, ffmpegExperimental, onProgress }) {