mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-24 19:32:29 +01:00
append html5ify to ffmpeg log too
This commit is contained in:
parent
0f8ba50d22
commit
e84b9a8266
@ -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…
Reference in New Issue
Block a user