diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-03-24 21:23:05 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-03-24 21:23:05 +0100 |
commit | 75f2e25ba9aac4b9bd41fddd4bfc843e086a3288 (patch) | |
tree | c21b8bf90ddecd6fdac323eb77c97a467e387609 /youtube_dl/downloader | |
parent | 0d466d34a3e23ca6f84e37eca7003f4d762dc65e (diff) |
[downloader/hls] Encode filename (Fixes #2609)
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/hls.py | 6 |
1 files changed, 4 insertions, 2 deletions
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: |