From 512eb2e6a99e26e9138d38f05f5977f5690766a4 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sun, 26 May 2013 05:43:30 -0300 Subject: [PATCH] Set the ffmpeg loglevel to warning so that it doesn't spam SABnzbd postprocessing logs --- autoProcess/Transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcess/Transcoder.py b/autoProcess/Transcoder.py index fd8e8f77..59740d61 100644 --- a/autoProcess/Transcoder.py +++ b/autoProcess/Transcoder.py @@ -65,7 +65,7 @@ def Transcode_directory(dirName): outputVideoExtension = '-transcoded' + outputVideoExtension # adds '-transcoded.ext' newfilePath = os.path.normpath(name + outputVideoExtension) - command = [ffmpeg, '-i', filePath, '-map', '0'] + command = [ffmpeg, '-loglevel', 'warning', '-i', filePath, '-map', '0'] if len(outputVideoCodec) > 0: command.append('-c:v') command.append(outputVideoCodec)