mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-12 22:26:16 -04:00
Turn on ffmpeg log in debug mode
Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
parent
2600779d11
commit
6f379312ca
1 changed files with 6 additions and 4 deletions
|
@ -98,11 +98,13 @@ class Converter:
|
|||
"ffmpeg",
|
||||
"-i",
|
||||
self.filename,
|
||||
"-loglevel",
|
||||
"panic",
|
||||
"-c:a",
|
||||
self.codec_lib,
|
||||
]
|
||||
|
||||
if logger.getEffectiveLevel() != logging.DEBUG:
|
||||
command.extend(("-loglevel", "panic"))
|
||||
|
||||
command.extend(("-c:a", self.codec_lib))
|
||||
|
||||
if self.show_progress:
|
||||
command.append("-stats")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue