Add -stats flag to preserve progress updates with custom log level

- FFmpeg suppresses progress output (fps, time, bitrate) when loglevel is set to error
- Add -stats flag to force progress updates regardless of log level
- Fixes dashboard not showing transcode info (codec, progress, etc.)
This commit is contained in:
mani
2026-01-06 02:37:54 +01:00
parent 28854ebf2e
commit 7cc33291f5

View File

@@ -7110,7 +7110,7 @@ namespace MediaBrowser.Controller.MediaEncoding
// Apply FFmpeg log level from configuration
if (!string.IsNullOrEmpty(encodingOptions.FfmpegLogLevel))
{
inputModifier = $"-loglevel {encodingOptions.FfmpegLogLevel}";
inputModifier = $"-loglevel {encodingOptions.FfmpegLogLevel} -stats";
}
var analyzeDurationArgument = string.Empty;