From 8a7bbd160641dbbc13f68aaa26dfa49b71483a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 17 Sep 2015 15:22:19 +0200 Subject: [postprocessor/ffmpeg] Always use the 'file:' protocol for filenames (fixes #6874) If the filename contains ':' it is interpreted as a protocol. It also handles filenames starting with '-'. --- youtube_dl/downloader/hls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube_dl/downloader') diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index b2436e732..7743e176a 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -31,7 +31,7 @@ class HlsFD(FileDownloader): args = [ encodeArgument(opt) for opt in (ffpp.executable, '-y', '-i', url, '-f', 'mp4', '-c', 'copy', '-bsf:a', 'aac_adtstoasc')] - args.append(encodeFilename(tmpfilename, True)) + args.append(encodeFilename(ffpp._ffmpeg_filename_argument(tmpfilename), True)) self._debug_cmd(args) -- cgit v1.2.3