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

Youtube: support hlsvp videos (was: [YouTube] [bug] no conn or url_encoded_fmt_stream_map information found in video info) #1083

Closed
wlk opened this issue Jul 19, 2013 · 6 comments
Assignees
Labels
bug

Comments

@wlk
Copy link

@wlk wlk commented Jul 19, 2013

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', '%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=TGi3HqYrWHE', '--verbose']
[debug] youtube-dl version 2013.07.18
[debug] Python version 2.7.3 - Linux-3.2.0-48-generic-pae-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] TGi3HqYrWHE: Downloading video webpage
[youtube] TGi3HqYrWHE: Downloading video info webpage
[youtube] TGi3HqYrWHE: Extracting video information
ERROR: no conn or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/w/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
    ie_result = ie.extract(url)
  File "/home/w/bin/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
    return self._real_extract(url)
  File "/home/w/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 635, in _real_extract
    raise ExtractorError(u'no conn or url_encoded_fmt_stream_map information found in video info')
ExtractorError: no conn or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 19, 2013

Thanks for the report.
This kind of videos is download by parts, using the info in a .m3u8manifest, its url is in the hlsvp field of the video info dictionary.
We need to support multipart videos (#1012 or #995) and add helper methods for m3u8 manifests.

@strex
Copy link

@strex strex commented Jul 19, 2013

@jaimeMF
There is no need to download this as a multipart video
You can just remove the range parameter from the URL which you can find inside the .m3u8 and you will get the full file.
(6,5GB for 1080p in this case.)

@ghost ghost assigned jaimeMF Jul 19, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 19, 2013

@strex This doesn't work for me, the file that it's downloaded isn't recognized by ffprobe and it can't be played. Also the parts themselves are not playable, while for other m3u8 downloads (like dailymotion) can be played.

@ghost ghost assigned jaimeMF Jul 31, 2013
@jaimeMF jaimeMF closed this in 1d043b9 Jul 31, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 31, 2013

They are supported now, but it needs ffmpeg for downloading.
@strex The videos are encrypted, so the file cannot be played directly.

@sedrubal
Copy link

@sedrubal sedrubal commented Jul 25, 2014

I detected, that recording a youtube live stream still doesn't work. I tested it with https://www.youtube.com/watch?v=-m7VVgaRFio

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
5 participants
You can’t perform that action at this time.