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

404 error while HLS download from youtube #8909

Closed
sadono opened this issue Mar 20, 2016 · 1 comment
Closed

404 error while HLS download from youtube #8909

sadono opened this issue Mar 20, 2016 · 1 comment

Comments

@sadono
Copy link

@sadono sadono commented Mar 20, 2016

Hy guys.

I've faced an error during recording HLS stream. Please, check it out:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--ignore-errors', u'-v', u'-f', u'95', u'--hls-prefer-native', u'-o', u'AristocratsLive-2016-03-21_013247.%(ext)s', u'ezpBw1z8i1I']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.18
[debug] Python version 2.7.5 - Linux-3.10.0-123.8.1.el7.x86_64-x86_64-with-centos-7.1.1503-Core
[debug] exe versions: avconv 10.1, avprobe 10.1
[debug] Proxy map: {}
[youtube] ezpBw1z8i1I: Downloading webpage
[youtube] ezpBw1z8i1I: Downloading video info webpage
[youtube] ezpBw1z8i1I: Extracting video information
[youtube] ezpBw1z8i1I: Downloading formats manifest
[youtube] ezpBw1z8i1I: Downloading MPD manifest
[debug] Invoking downloader on u'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/ezpBw1z8i1I.131/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r2---sn-5hne6nld.googlevideo.com/gcr/nl/playlist_type/DVR/mm/32/mn/sn-5hne6nld/ms/lv/mv/m/nh/IgpwcjAzLmFtczE2Kgw3Mi4xNC4yMTYuODU/pl/18/dover/3/upn/v1O6JW8H_1k/sver/3/fexp/9405984,9416126,9417380,9420016,9420452,9422596,9423661,9423662,9425064,9425969,9427902,9428289,9428983,9429013,9429255,9429650,9429887,9431012,9432388/mt/1458516731/ip/178.62.219.217/ipbits/0/expire/1458538370/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,nh,pl/signature/1A080D63DAD35F1EB3A18982A58F96B89B0B17C4.0735BE8EB697F514A19F5FE961939ED1B7CCB34A/key/dg_yt0/playlist/index.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 2909
[download] Destination: AristocratsLive-2016-03-21_013247.mp4
[download] 7.3% of ~1.70GiB at 66.20MiB/s ETA 02:38ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1627, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1569, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 344, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/hls.py", line 49, in real_download
success = ctx['dl'].download(frag_filename, {'url': frag_url})
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 344, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1929, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

I use the latest version of youtube-dl. VLC also doesn't want to play stream from youtube.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 21, 2016

--hls-prefer-native does not support live streams.

@dstftw dstftw closed this Mar 21, 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.