[downloader/external] Add temp fix ffmpeg m3u8 downloads (Closes #9394)
This commit is contained in:
parent
5c24873a9e
commit
f5436c5d9e
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class FFmpegFD(ExternalFD):
|
||||||
args += ['-rtmp_live', 'live']
|
args += ['-rtmp_live', 'live']
|
||||||
|
|
||||||
args += ['-i', url, '-c', 'copy']
|
args += ['-i', url, '-c', 'copy']
|
||||||
if protocol == 'm3u8':
|
if protocol in ('m3u8', 'm3u8_native'):
|
||||||
if self.params.get('hls_use_mpegts', False) or tmpfilename == '-':
|
if self.params.get('hls_use_mpegts', False) or tmpfilename == '-':
|
||||||
args += ['-f', 'mpegts']
|
args += ['-f', 'mpegts']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue