mirror of https://github.com/yt-dlp/yt-dlp.git
[downloader/ffmpeg] Hide FFmpeg banner unless in verbose mode (#372)
Authored by: fstirlitz
This commit is contained in:
parent
e2efe599aa
commit
2ec1759f9d
|
@ -359,6 +359,8 @@ class FFmpegFD(ExternalFD):
|
||||||
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:
|
||||||
|
|
Loading…
Reference in New Issue