From 7d106a65ca30cc3201f147cb96aa98a15a48d6d2 Mon Sep 17 00:00:00 2001 From: Jaime Marquínez Ferrándiz Date: Sat, 30 Jan 2016 12:26:40 +0100 Subject: Add --hls-use-mpegts option When using the mpegts container hls vidoes can be played while being downloaded (useful if you are recording a live stream). VLC and mpv play them file, but QuickTime doesn't. --- youtube_dl/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'youtube_dl/__init__.py') diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 9f131f5db..f5f064241 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -369,6 +369,7 @@ def _real_main(argv=None): 'no_color': opts.no_color, 'ffmpeg_location': opts.ffmpeg_location, 'hls_prefer_native': opts.hls_prefer_native, + 'hls_use_mpegts': opts.hls_use_mpegts, 'external_downloader_args': external_downloader_args, 'postprocessor_args': postprocessor_args, 'cn_verification_proxy': opts.cn_verification_proxy, -- cgit 1.4.1