Hi! I'm trying to use Youtube-DL to download episodes of The Late Show With Steven Colbert. This problem happens with every episode of the show that I have tried, but for the sake of documentation, one such episode can be found here.
As of version 2015.11.27.1, Youtube-DL passes an https URL to ffmpeg before beginning the download process. Because my version of ffmpeg has not been compiled with openssl support, however, this results in an error: "https protocol not found, recompile with openssl or gnutls enabled."
While the obvious solution to this problem would be to recompile ffmpeg with openssl support, I'm using a prebuilt, static binary from http://ffmpegmac.net. Compiling static binaries of ffmpeg is a fairly labor-intensive process, and substantially outside of my skill level.
This problem does NOT occur as of version 2014.12.17.2, which downloads the video perfectly and does not appear to use ffmpeg at all. I have not tested any in-between versions.
Full output from version 2015.11.27.1:
$ youtube-dl http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/GGtCz99eZSaQEMPQ7kWcaheiojH71B5a/the-late-show-11-25-2015-gloria-estefan-navy-seal-eric-greitens-former-marine-sergeant-jake-wood-chef-daniel-boulud-/ -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/GGtCz99eZSaQEMPQ7kWcaheiojH71B5a/the-late-show-11-25-2015-gloria-estefan-navy-seal-eric-greitens-former-marine-sergeant-jake-wood-chef-daniel-boulud-/', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.27.1
[debug] Python version 2.7.10 - Darwin-15.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.5.1, rtmpdump 2.4
[debug] Proxy map: {}
[CBS] the-late-show-11-25-2015-gloria-estefan-navy-seal-eric-greitens-former-marine-sergeant-jake-wood-chef-daniel-boulud-: Downloading webpage
[ThePlatform] _B1GDlKcRVaE: Downloading SMIL data
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading m3u8 information
[ThePlatform] _B1GDlKcRVaE: Downloading JSON metadata
[debug] Invoking downloader on u'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2015/11/23/572820035888/CBS_COLBERT_0052_CONTENT_CIAN_steamclip_692934_,548,3596,2596,1848,1248,848,298,158,000.mp4.csmil/index_1_av.m3u8?null=&id=AgBJ2+xbaGEO31okWVZRLvZqgDRnU2Aau28EnR8doHKtSxomPXxiBp19iA5drLdmvD0Gsv%2f0qIUi4w%3d%3d'
[download] Destination: The Late Show - 11_25_2015 (Gloria Estefan, Navy SEAL Eric Greitens & former Marine Sergeant Jake Wood, Chef Daniel Boulud)-_B1GDlKcRVaE.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Language: en-us,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=1bpNxegPSbVt+RJxVPP5tA==; hdntl=exp=1448768986~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2015%2f11%2f23%2f572820035888%2fCBS_COLBERT_0052_CONTENT_CIAN_steamclip_692934_*~data=hdntl~hmac=50ea0f0eec2d3d6d10bd2378465b19e16298ad5119c36b7e242fa284314528a6
' -i 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2015/11/23/572820035888/CBS_COLBERT_0052_CONTENT_CIAN_steamclip_692934_,548,3596,2596,1848,1248,848,298,158,000.mp4.csmil/index_1_av.m3u8?null=&id=AgBJ2+xbaGEO31okWVZRLvZqgDRnU2Aau28EnR8doHKtSxomPXxiBp19iA5drLdmvD0Gsv%2f0qIUi4w%3d%3d' -f mp4 -c copy -bsf:a aac_adtstoasc 'file:The Late Show - 11_25_2015 (Gloria Estefan, Navy SEAL Eric Greitens & former Marine Sergeant Jake Wood, Chef Daniel Boulud)-_B1GDlKcRVaE.mp4.part'
ffmpeg version 2.5.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 17 2014 09:50:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
https protocol not found, recompile with openssl or gnutls enabled.
https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2015/11/23/572820035888/CBS_COLBERT_0052_CONTENT_CIAN_steamclip_692934_,548,3596,2596,1848,1248,848,298,158,000.mp4.csmil/index_1_av.m3u8?null=&id=AgBJ2+xbaGEO31okWVZRLvZqgDRnU2Aau28EnR8doHKtSxomPXxiBp19iA5drLdmvD0Gsv%2f0qIUi4w%3d%3d: Protocol not found
ERROR: ffmpeg exited with code 1
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 410, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1669, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 674, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 745, in process_ie_result
new_result, download=download, extra_info=extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 720, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1339, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1601, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1543, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/hls.py", line 61, in real_download
self.report_error('%s exited with code %d' % (ffpp.basename, retval))
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 155, in report_error
self.ydl.report_error(*args, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 538, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 500, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
Edit: One more thing: the problem does NOT occur when using --simulate, which somewhat defeats the purpose of the flag (to see if a video WOULD be downloadable without actually downloading it).
Hi! I'm trying to use Youtube-DL to download episodes of The Late Show With Steven Colbert. This problem happens with every episode of the show that I have tried, but for the sake of documentation, one such episode can be found here.
As of version 2015.11.27.1, Youtube-DL passes an https URL to ffmpeg before beginning the download process. Because my version of ffmpeg has not been compiled with openssl support, however, this results in an error: "https protocol not found, recompile with openssl or gnutls enabled."
While the obvious solution to this problem would be to recompile ffmpeg with openssl support, I'm using a prebuilt, static binary from http://ffmpegmac.net. Compiling static binaries of ffmpeg is a fairly labor-intensive process, and substantially outside of my skill level.
This problem does NOT occur as of version 2014.12.17.2, which downloads the video perfectly and does not appear to use ffmpeg at all. I have not tested any in-between versions.
Full output from version 2015.11.27.1:
Full (working) output from 2014.12.17.2:
Edit: One more thing: the problem does NOT occur when using --simulate, which somewhat defeats the purpose of the flag (to see if a video WOULD be downloadable without actually downloading it).