append html5ify to ffmpeg log too

pull/2119/head
Mikael Finstad 2 years ago
parent 0f8ba50d22
commit e84b9a8266
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -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 }: {

Loading…
Cancel
Save