mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +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,
|
'-y', outPath,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
appendFfmpegCommandLog(ffmpegArgs);
|
||||||
const result = await runFfmpegWithProgress({ ffmpegArgs, duration, onProgress });
|
const result = await runFfmpegWithProgress({ ffmpegArgs, duration, onProgress });
|
||||||
logStdoutStderr(result);
|
logStdoutStderr(result);
|
||||||
|
|
||||||
await transferTimestamps({ inPath: filePathArg, outPath, treatOutputFileModifiedTimeAsStart });
|
await transferTimestamps({ inPath: filePathArg, outPath, treatOutputFileModifiedTimeAsStart });
|
||||||
}, [treatOutputFileModifiedTimeAsStart]);
|
}, [appendFfmpegCommandLog, treatOutputFileModifiedTimeAsStart]);
|
||||||
|
|
||||||
// https://stackoverflow.com/questions/34118013/how-to-determine-webm-duration-using-ffprobe
|
// https://stackoverflow.com/questions/34118013/how-to-determine-webm-duration-using-ffprobe
|
||||||
const fixInvalidDuration = useCallback(async ({ fileFormat, customOutDir, onProgress }: {
|
const fixInvalidDuration = useCallback(async ({ fileFormat, customOutDir, onProgress }: {
|
||||||
|
Loading…
Reference in New Issue
Block a user