From: Philipp Hagemeister Date: Mon, 24 Mar 2014 20:23:05 +0000 (+0100) Subject: [downloader/hls] Encode filename (Fixes #2609) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=75f2e25ba9aac4b9bd41fddd4bfc843e086a3288;p=youtube-dl [downloader/hls] Encode filename (Fixes #2609) --- diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index fa983462b..9d407fe6e 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -13,8 +13,10 @@ class HlsFD(FileDownloader): self.report_destination(filename) tmpfilename = self.temp_name(filename) - args = ['-y', '-i', url, '-f', 'mp4', '-c', 'copy', - '-bsf:a', 'aac_adtstoasc', tmpfilename] + args = [ + '-y', '-i', url, '-f', 'mp4', '-c', 'copy', + '-bsf:a', 'aac_adtstoasc', + encodeFilename(tmpfilename, for_subprocess=True)] for program in ['avconv', 'ffmpeg']: try: