mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-18 10:26:48 +01:00
[downloader/ffmpeg] Hide FFmpeg banner unless in verbose mode (#372)
Authored by: fstirlitz
This commit is contained in:
parent
e2efe599aa
commit
2ec1759f9d
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue