add log to track ffmpeg

This commit is contained in:
an-lee
2024-01-10 15:47:16 +08:00
parent 0426c51ddc
commit cf29bc3775

View File

@@ -15,8 +15,10 @@ export default class FfmpegWrapper {
const config = settings.ffmpegConfig();
if (config.commandExists) {
logger.info("Using system ffmpeg");
this.ffmpeg = Ffmpeg();
} else {
logger.info("Using downloaded ffmpeg");
const ff = Ffmpeg();
ff.setFfmpegPath(config.ffmpegPath);
ff.setFfprobePath(config.ffprobePath);