Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to download live stream #9396

Closed
przemyslawpluta opened this issue May 4, 2016 · 1 comment
Closed

unable to download live stream #9396

przemyslawpluta opened this issue May 4, 2016 · 1 comment

Comments

@przemyslawpluta
Copy link

@przemyslawpluta przemyslawpluta commented May 4, 2016

Is there a way to download live stream? At the moment youtube-dl -v https://www.youtube.com/watch?v=y60wDzZt8yg fails ...

  • I've verified and I assure that I'm running youtube-dl 2016.05.01
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • [x ] Bug report (encountered problems with youtube-dl)
  • Question
dev:test user$ ../bin/youtube-dl -v https://www.youtube.com/watch?v=y60wDzZt8yg
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=y60wDzZt8yg']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 2.8.2, ffprobe 2.8.2
[debug] Proxy map: {}
[youtube] y60wDzZt8yg: Downloading webpage
[youtube] y60wDzZt8yg: Downloading video info webpage
[youtube] y60wDzZt8yg: Extracting video information
[youtube] y60wDzZt8yg: Downloading formats manifest
[youtube] y60wDzZt8yg: Downloading MPD manifest
[debug] Invoking downloader on u'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/y60wDzZt8yg.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D137/hls_chunk_host/r7---sn-cn3tc-ajte.googlevideo.com/gcr/gb/playlist_type/DVR/mm/32/mn/sn-cn3tc-ajte/ms/lv/mv/u/pl/22/dover/3/upn/WGl6l5k637A/sver/3/fexp/9405972,9406175,9406852,9416126,9416891,9418751,9421353,9422596,9424135,9425620,9426977,9428398,9431012,9431335,9432583,9433096,9433946,9434003,9434289,9434343,9435807/mt/1462391559/ip/90.211.49.251/ipbits/0/expire/1462413576/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,pl/signature/4127D661B71E3D1AE9649CD33B39E42F9F122DE1.2C86CF3DFE899E467544446B420272FAE7400158/key/dg_yt0/playlist/index.m3u8'
[download] Destination: Sky News Live-y60wDzZt8yg.mp4
[debug] avconv command line: avconv -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)
Accept-Language: en-us,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
' -i https://manifest.googlevideo.com/api/manifest/hls_playlist/id/y60wDzZt8yg.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D137/hls_chunk_host/r7---sn-cn3tc-ajte.googlevideo.com/gcr/gb/playlist_type/DVR/mm/32/mn/sn-cn3tc-ajte/ms/lv/mv/u/pl/22/dover/3/upn/WGl6l5k637A/sver/3/fexp/9405972,9406175,9406852,9416126,9416891,9418751,9421353,9422596,9424135,9425620,9426977,9428398,9431012,9431335,9432583,9433096,9433946,9434003,9434289,9434343,9435807/mt/1462391559/ip/90.211.49.251/ipbits/0/expire/1462413576/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,pl/signature/4127D661B71E3D1AE9649CD33B39E42F9F122DE1.2C86CF3DFE899E467544446B420272FAE7400158/key/dg_yt0/playlist/index.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Sky News Live-y60wDzZt8yg.mp4.part'
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
  built on Nov 21 2015 19:02:10 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/y60wDzZt8yg.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D137/hls_chunk_host/r7---sn-cn3tc-ajte.googlevideo.com/gcr/gb/playlist_type/DVR/mm/32/mn/sn-cn3tc-ajte/ms/lv/mv/u/pl/22/dover/3/upn/WGl6l5k637A/sver/3/fexp/9405972,9406175,9406852,9416126,9416891,9418751,9421353,9422596,9424135,9425620,9426977,9428398,9431012,9431335,9432583,9433096,9433946,9434003,9434289,9434343,9435807/mt/1462391559/ip/90.211.49.251/ipbits/0/expire/1462413576/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,pl/signature/4127D661B71E3D1AE9649CD33B39E42F9F122DE1.2C86CF3DFE899E467544446B420272FAE7400158/key/dg_yt0/playlist/index.m3u8: 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 "../bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "../bin/youtube-dl/youtube_dl/__init__.py", line 419, in main
    _real_main(argv)
  File "../bin/youtube-dl/youtube_dl/__init__.py", line 409, in _real_main
    retcode = ydl.download(all_urls)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1732, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 684, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 729, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1378, in process_video_result
    self.process_info(new_info)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1640, in process_info
    success = dl(filename, info_dict)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1582, in dl
    return fd.download(name, info)
  File "../bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "../bin/youtube-dl/youtube_dl/downloader/external.py", line 42, in real_download
    self.get_basename(), retval))
  File "../bin/youtube-dl/youtube_dl/downloader/common.py", line 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 547, in report_error
    self.trouble(error_message, tb)
  File "../bin/youtube-dl/youtube_dl/YoutubeDL.py", line 509, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

przemyslawpluta/node-youtube-dl#106

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 4, 2016

avconv was probably built without https support, you have to compile it with https support.

@jaimeMF jaimeMF closed this May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.