Browse Source

[downloader/hls] Encode filename (Fixes #2609)

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
75f2e25ba9
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      youtube_dl/downloader/hls.py

+ 4
- 2
youtube_dl/downloader/hls.py View File

@ -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:


Loading…
Cancel
Save