]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/downloader/hls.py
[postprocessor/ffmpeg] Always use the 'file:' protocol for filenames (fixes #6874)
[youtube-dl.git] / youtube_dl / downloader / hls.py
index b2436e732cf501fd12a0189a0110e938d05924c6..7743e176a82023301ff388229b4e306c7e9b8137 100644 (file)
@@ -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)