[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 @@ class FFmpegFD(ExternalFD):
if self.params.get(log_level, False):
args += ['-loglevel', log_level]
break
if not self.params.get('verbose'):
args += ['-hide_banner']
seekable = info_dict.get('_seekable')
if seekable is not None: