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 play YouTube live stream (Did not get any data blocks) #21756

Closed
saintus opened this issue Jul 12, 2019 · 0 comments
Closed

Unable to play YouTube live stream (Did not get any data blocks) #21756

saintus opened this issue Jul 12, 2019 · 0 comments
Labels

Comments

@saintus
Copy link

@saintus saintus commented Jul 12, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.07.12
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

youtube-dl -v 'https://www.youtube.com/watch?v=qHIk_qdNFy0'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=qHIk_qdNFy0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.12
[debug] Python version 2.7.12 (CPython) - Linux-4.15.0-50-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1
[debug] Proxy map: {}
[youtube] qHIk_qdNFy0: Downloading webpage
[youtube] qHIk_qdNFy0: Downloading video info webpage
[youtube] qHIk_qdNFy0: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://r1---sn-a5msen7l.googlevideo.com/videoplayback?expire=1562967542&ei=lqkoXbeXBaKEsfIP_qm_0AY&ip=65.49.44.102&id=qHIk_qdNFy0.1&itag=136&aitags=133%2C134%2C135%2C136%2C160&source=yt_live_broadcast&requiressl=yes&mm=44%2C29&mn=sn-a5msen7l%2Csn-a5meknsy&ms=lva%2Crdu&mv=u&mvi=0&pl=20&live=1&hang=1&noclen=1&mime=video%2Fmp4&gir=yes&mt=1562945674&fvip=1&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=ALgxI2wwRQIgNC9Y-4JPO4yGHQ2PCkyP92-zB4ZF28dK8FyH9Auvv0cCIQDHyOgl_UUUrmJDoeDXt4Q4QfUKj3vig5A3Ca9-ONC9-g%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AHylml4wRQIhALnsPUTdM9BsHVfaTarIS6aU-ier_rIPtErdByNwtW6NAiAKbL6fOf14V_-ZARzalnb5gfrDFCLR6JLuuymGE_gVrA%3D%3D&ratebypass=yes'
[download] Resuming download at byte 523264
[download] Unable to resume

ERROR: Did not get any data blocks
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/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
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 474, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 464, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2008, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 861, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1909, in process_info
partial_success = dl(fname, new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1854, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 342, in real_download
return download()
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 312, in download
self.report_error('Did not get any data blocks')
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
self.ydl.report_error(*args, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 624, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 586, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

Description

WRITE DESCRIPTION HERE

Before 2019/07/10, youtube-dl worked well on "https://www.youtube.com/watch?v=qHIk_qdNFy0".

However, it seems YouTube changed something in the live stream. The live stream can play correctly in browser, but youtube-dl failed to download it.

Please help. Thank you!

@dstftw dstftw closed this Jul 12, 2019
@dstftw dstftw added the duplicate label Jul 12, 2019
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.