diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-05-22 23:40:07 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-05-22 23:40:07 +0700 |
commit | a609e61a90ad8f3b472e2e221f9f75c8408b65f2 (patch) | |
tree | fa841991f95d6f62fb5c90dff4757e647fe05b62 | |
parent | afdb387cd8f9f54ee666cf1f64416d877f4eba19 (diff) | |
download | youtube-dl-a609e61a90ad8f3b472e2e221f9f75c8408b65f2.zip youtube-dl-a609e61a90ad8f3b472e2e221f9f75c8408b65f2.tar.gz youtube-dl-a609e61a90ad8f3b472e2e221f9f75c8408b65f2.tar.bz2 |
[downloader/external] Pass -loglevel to ffmpeg downloader (closes #13183)
-rw-r--r-- | youtube_dl/downloader/external.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index e78169a..db018fa 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -212,6 +212,11 @@ class FFmpegFD(ExternalFD): args = [ffpp.executable, '-y'] + for log_level in ('quiet', 'verbose'): + if self.params.get(log_level, False): + args += ['-loglevel', log_level] + break + seekable = info_dict.get('_seekable') if seekable is not None: # setting -seekable prevents ffmpeg from guessing if the server |