diff --git a/src/backend/model/threading/VideoConverterWorker.ts b/src/backend/model/threading/VideoConverterWorker.ts index ab37a81c..f67d1658 100644 --- a/src/backend/model/threading/VideoConverterWorker.ts +++ b/src/backend/model/threading/VideoConverterWorker.ts @@ -52,6 +52,10 @@ export class VideoConverterWorker { }) .on('error', (e: any) => { reject('[FFmpeg] ' + e.toString() + ' executed: ' + executedCmd); + }) + .on('stderr', function (line: string) { + // Although this is under `stderr` event, all of ffmpeg output come here. + Logger.debug('[FFmpeg] ' + line); }); // set custom input options diff --git a/src/common/config/private/PrivateConfig.ts b/src/common/config/private/PrivateConfig.ts index ed145bd7..065afcd8 100644 --- a/src/common/config/private/PrivateConfig.ts +++ b/src/common/config/private/PrivateConfig.ts @@ -768,7 +768,7 @@ export class VideoTranscodingConfig { tags: { name: $localize`Custom Output Options`, priority: ConfigPriority.underTheHood, - hint: '-pass 2; -minrate 1M; -maxrate 1M; -bufsize 2M', + hint: '-pass 2;-minrate 1M;-maxrate 1M;-bufsize 2M', uiAllowSpaces: true }, description: $localize`It will be sent to ffmpeg as it is, as custom output options.`,