From 522a5c755f778acc91bb62d8f9fd249d8ba5b43b Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Thu, 11 May 2023 19:06:17 +0100 Subject: [PATCH] make ffmpeg verbose --- cogs/other.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/other.py b/cogs/other.py index ae29504..1e4a1e5 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1276,6 +1276,7 @@ class OtherCog(commands.Cog): target = file.with_name(file.name + '.compressed' + file.suffix) ffmpeg_command = [ "ffmpeg", + "-hide_banner", "-i", str(file), "-c", @@ -1292,7 +1293,6 @@ class OtherCog(commands.Cog): partial( subprocess.run, ffmpeg_command, - capture_output=True, check=True ) ) @@ -1313,7 +1313,7 @@ class OtherCog(commands.Cog): round(st_r, 2), units[0], MAX_SIZE_MB, - ', compressing failed' if COMPRESS_FAILED else '' + ', compressing failed' if COMPRESS_FAILED else ', compressed fine.' ) continue else: