mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-13 14:44:49 -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",
|
"ffmpeg",
|
||||||
"-i",
|
"-i",
|
||||||
self.filename,
|
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:
|
if self.show_progress:
|
||||||
command.append("-stats")
|
command.append("-stats")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue