[downloader/ffmpeg] Hide FFmpeg banner unless in verbose mode (#372)

Authored by: fstirlitz
This commit is contained in:
felix 2021-05-02 21:10:14 +02:00 committed by pukkandan
parent e2efe599aa
commit 2ec1759f9d
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -359,6 +359,8 @@ def _call_downloader(self, tmpfilename, info_dict):
if self.params.get(log_level, False): if self.params.get(log_level, False):
args += ['-loglevel', log_level] args += ['-loglevel', log_level]
break break
if not self.params.get('verbose'):
args += ['-hide_banner']
seekable = info_dict.get('_seekable') seekable = info_dict.get('_seekable')
if seekable is not None: if seekable is not None: