ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.67k stars 10.06k forks source link

No video formats found: vodafone.hu MPD file #30886

Open vbela0 opened 2 years ago

vbela0 commented 2 years ago

Checklist

Verbose log

D:\Movies\_temp>youtube-dl "https://vtvmag1es3.vodafone.hu/vtvrrscs1.vodafone.hu/LIVE/4014/sfmt=sdash/2.mpd?start=2022-04-22T09:32:00Z&end=2022-04-22T10:35:00Z&device=DASH_STB_NGRSSP_LIVE_HD_ONLY&from=4&validdev=258,254&hms_devid=254,258&pbf=2_5_1_2546239560" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://vtvmag1es3.vodafone.hu/vtvrrscs1.vodafone.hu/LIVE/4014/sfmt=sdash/2.mpd?start=2022-04-22T09:32:00Z&end=2022-04-22T10:35:00Z&device=DASH_STB_NGRSSP_LIVE_HD_ONLY&from=4&validdev=258,254&hms_devid=254,258&pbf=2_5_1_2546239560', '--verbose']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev
[debug] Proxy map: {}
[generic] 2: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2: Downloading webpage
[generic] 2: Extracting information
WARNING: [generic] Unknown MIME type application/mp4 in DASH manifest
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\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\generic.py", line 2499, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1374, 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.

Description

youtube dl gives a video format not found error when using with a url which points to an mpd file. I attach the mpd file. The mpd file link is taken from the main website (tv.vodafone.hu) while starting a video playback. By looking in the MPD file there are multiple video streams defined.

In addition there is a warning about an unknown mime type. (application/mp4). By looking in the MPD file it seems that it is a subtitle stream.

2.zip

dirkf commented 2 years ago

The streams (<AdaptationSet>s) that aren't the subtitle stream say

      <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="a966f74d-7ca1-405b-863c-065411bde447" />

So DRM.

dirkf commented 2 years ago

There is no functionality in yt-dl for decrypting WideVine or other DRM schemes. Anyone should feel free to implement a decryption module but yt-dl wouldn't be distributing it under current conditions.

If a site obfuscates a link or a download and sends the code that reverses the obfuscation, yt-dl can reasonably use it or its underlying algorithm.

vbela0 commented 2 years ago

I attach 2 files (zipped):

hope it helps..

edit: It might not the exact same video I tried to play as the original mpd file in this post.

vbela0 commented 2 years ago

Not sure if i get the question right, Do you mean a PC browser client? It works, I used it (MS Edge) to save the network log. (However it lags most of the time and impossible to watch a movie without tiny interruptions in the playback every two seconds. So I though to download tv programs and watch them offline later) The site requires a login as it is a complimentary service for cable TV subscribers, this is the reason I attached a network log as well in the belief it helps to look at the network traffic.

vbela0 commented 2 years ago

no issues. thanks anyway