mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
make ffmpeg verbose
This commit is contained in:
parent
b82fef4afc
commit
522a5c755f
1 changed files with 2 additions and 2 deletions
|
@ -1276,6 +1276,7 @@ class OtherCog(commands.Cog):
|
||||||
target = file.with_name(file.name + '.compressed' + file.suffix)
|
target = file.with_name(file.name + '.compressed' + file.suffix)
|
||||||
ffmpeg_command = [
|
ffmpeg_command = [
|
||||||
"ffmpeg",
|
"ffmpeg",
|
||||||
|
"-hide_banner",
|
||||||
"-i",
|
"-i",
|
||||||
str(file),
|
str(file),
|
||||||
"-c",
|
"-c",
|
||||||
|
@ -1292,7 +1293,6 @@ class OtherCog(commands.Cog):
|
||||||
partial(
|
partial(
|
||||||
subprocess.run,
|
subprocess.run,
|
||||||
ffmpeg_command,
|
ffmpeg_command,
|
||||||
capture_output=True,
|
|
||||||
check=True
|
check=True
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -1313,7 +1313,7 @@ class OtherCog(commands.Cog):
|
||||||
round(st_r, 2),
|
round(st_r, 2),
|
||||||
units[0],
|
units[0],
|
||||||
MAX_SIZE_MB,
|
MAX_SIZE_MB,
|
||||||
', compressing failed' if COMPRESS_FAILED else ''
|
', compressing failed' if COMPRESS_FAILED else ', compressed fine.'
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue