mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-16 14:34:31 +01:00
[downloader/external] Pass -loglevel to ffmpeg downloader (closes #13183)
This commit is contained in:
parent
afdb387cd8
commit
a609e61a90
@ -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…
Reference in New Issue
Block a user