diff --git a/src/renderer/src/hooks/useFfmpegOperations.ts b/src/renderer/src/hooks/useFfmpegOperations.ts index 9035adf5..b7a39d9f 100644 --- a/src/renderer/src/hooks/useFfmpegOperations.ts +++ b/src/renderer/src/hooks/useFfmpegOperations.ts @@ -595,11 +595,12 @@ function useFfmpegOperations({ filePath, treatInputFileModifiedTimeAsStart, trea '-y', outPath, ]; + appendFfmpegCommandLog(ffmpegArgs); const result = await runFfmpegWithProgress({ ffmpegArgs, duration, onProgress }); logStdoutStderr(result); await transferTimestamps({ inPath: filePathArg, outPath, treatOutputFileModifiedTimeAsStart }); - }, [treatOutputFileModifiedTimeAsStart]); + }, [appendFfmpegCommandLog, treatOutputFileModifiedTimeAsStart]); // https://stackoverflow.com/questions/34118013/how-to-determine-webm-duration-using-ffprobe const fixInvalidDuration = useCallback(async ({ fileFormat, customOutDir, onProgress }: {