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

MPD manifest cannot be downloaded #17551

Closed
beta2k opened this issue Sep 12, 2018 · 0 comments
Closed

MPD manifest cannot be downloaded #17551

beta2k opened this issue Sep 12, 2018 · 0 comments
Labels

Comments

@beta2k
Copy link

@beta2k beta2k commented Sep 12, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.09.10

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


Description of your issue, suggested solution and other information

I would like to download live videos from the ITF tennis page: http://live.itftennis.com/en/live-streams/

Right now, for instance, the following live stream is online: http://live.itftennis.com/en/live-streams/video.php?vid=15626692

youtube-dl does not support the page right now, so the typical procedure yields an error:

youtube-dl.exe -f best http://live.itftennis.com/en/live-streams/video.php?vid=15626692
[generic] video: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video: Downloading webpage
[generic] video: Extracting information
ERROR: Unsupported URL: http://live.itftennis.com/en/live-streams/video.php?vid=15626692

As a next step, I tracked down the URL to the manifest file via my browser's dev tools. The URL is http://live.itftennis.com/en/live-streams/video.php?vid=15626692.

Hence, I tried the following statement:

youtube-dl.exe -v -f best "https://sportradar-lco.akamaized.net/14879/15626692/dash/desktop/Tennis_ITFMen_SpainF27SinglesQualifying_delayed_15626692.mpd?cid=14879&mid=15626692&ecid=&hdnts=ip=188.21.12.146~exp=1536829286~acl=%2F14879%2F15626692%2Fdash%2Fdesktop%2F%2A~hmac=54060236f2144ffad6441eda263ac92ce4178c5f23b4189472e80bb8c457c46d"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', 'best', 'https://sportradar-lco.akamaized.net/14879/15626692/dash/desktop/Tennis_ITFMen_SpainF27SinglesQualifying_delayed_15626692.mpd?cid=14879&mid=15626692&ecid=&hdnts=ip=188.21.12.146~exp=1536829286~acl=%2F14879%2F15626692%2Fdash%2Fdesktop%2F%2A~hmac=54060236f2144ffad6441eda263ac92ce4178c5f23b4189472e80bb8c457c46d']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.09.10
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-90306-g688060fbb7, ffprobe N-90306-g688060fbb7
[debug] Proxy map: {}
[generic] Tennis_ITFMen_SpainF27SinglesQualifying_delayed_15626692.mpd?cid=14879&mid=15626692&ecid=&hdnts=ip=188.21.12: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Tennis_ITFMen_SpainF27SinglesQualifying_delayed_15626692.mpd?cid=14879&mid=15626692&ecid=&hdnts=ip=188.21.12: Downloading webpage
[generic] Tennis_ITFMen_SpainF27SinglesQualifying_delayed_15626692.mpd?cid=14879&mid=15626692&ecid=&hdnts=ip=188.21.12: Extracting information
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0icdbhzn\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0icdbhzn\build\youtube_dl\extractor\common.py", line 502, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0icdbhzn\build\youtube_dl\extractor\generic.py", line 2346, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0icdbhzn\build\youtube_dl\extractor\common.py", line 1281, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

If I download the manifest file via the browser by entering the URL in the address bar, an XML file is downloaded. The XML file looks like this.

The following ffmpeg command works and records the stream:

ffmpeg -i "https://sportradar-lco.akamaized.net/14879/15626692/dash/desktop/Tennis_ITFMen_SpainF27SinglesQualifying_delayed_15626692.mpd?cid=14879&mid=15626692&ecid=&hdnts=ip=188.21.12.146~exp=1536829286~acl=%2F14879%2F15626692%2Fdash%2Fdesktop%2F%2A~hmac=54060236f2144ffad6441eda263ac92ce4178c5f23b4189472e80bb8c457c46d" -c copy output.ts

The best case would be that youtube-dl supports this page out of the box. I think it cannot be that difficult, because the above ffmpeg command already works. So somehow youtube-dl should corrreclty find the manifest file and then pass it to ffmpeg. The next best case would be that youtube-dl would support this page by using the manifest file url.

To reproduce the issue, a live stream needs to be running. You can find the URL of a live stream by visiting the page http://live.itftennis.com/en/live-streams/ and then choosing one of the live streams linked at the top (if there are any). The url should look like this: http://live.itftennis.com/en/live-streams/video.php?vid=15626692

Thank you very much!

@dstftw dstftw closed this Sep 14, 2018
@dstftw dstftw added the duplicate label Sep 14, 2018
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.