Browse Source
[downloader/external] Add temp fix ffmpeg m3u8 downloads (Closes #9394)
master
Sergey M․
9 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/downloader/external.py
|
|
@ -224,7 +224,7 @@ class FFmpegFD(ExternalFD): |
|
|
|
args += ['-rtmp_live', 'live'] |
|
|
|
|
|
|
|
args += ['-i', url, '-c', 'copy'] |
|
|
|
if protocol == 'm3u8': |
|
|
|
if protocol in ('m3u8', 'm3u8_native'): |
|
|
|
if self.params.get('hls_use_mpegts', False) or tmpfilename == '-': |
|
|
|
args += ['-f', 'mpegts'] |
|
|
|
else: |
|
|
|