Browse Source

[downloader/external] Pass -loglevel to ffmpeg downloader (closes #13183)

master
Sergey M․ 7 years ago
parent
commit
a609e61a90
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 5 additions and 0 deletions
  1. 5
      youtube_dl/downloader/external.py

5
youtube_dl/downloader/external.py

@ -212,6 +212,11 @@ class FFmpegFD(ExternalFD):
args = [ffpp.executable, '-y'] 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') seekable = info_dict.get('_seekable')
if seekable is not None: if seekable is not None:
# setting -seekable prevents ffmpeg from guessing if the server # setting -seekable prevents ffmpeg from guessing if the server

Loading…
Cancel
Save