The swiss army knife of lossless video/audio editing
fix concat command bug
Mikael Finstad260301eb2374
diff --git a/src/renderer/src/hooks/useFfmpegOperations.ts b/src/renderer/src/hooks/useFfmpegOperations.tsindex f8fa41f8..11034c3d 100644--- a/src/renderer/src/hooks/useFfmpegOperations.ts+++ b/src/renderer/src/hooks/useFfmpegOperations.ts@@ -221,7 +221,7 @@ function useFfmpegOperations({ filePath, treatInputFileModifiedTimeAsStart, treaconst ffmpegCommandLine = getFfCommandLine('ffmpeg', ffmpegArgs);- const fullCommandLine = `echo -e "${concatTxt.replace(/\n/, String.raw`\n`)}" | ${ffmpegCommandLine}`;+ const fullCommandLine = `echo -e "${concatTxt.replaceAll('\n', String.raw`\n`)}" | ${ffmpegCommandLine}`;console.log(fullCommandLine);appendLastCommandsLog(fullCommandLine);