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

Azure Media Player videos, some download but others return no video formats found #25846

Closed
khankhankhan1 opened this issue Jun 30, 2020 · 0 comments
Labels
DRM

Comments

@khankhankhan1
Copy link

@khankhankhan1 khankhankhan1 commented Jun 30, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • 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

D:\Azure\youtube-dl.exe --merge-output-format mp4 --verbose "https://elvideoservices-aase.streaming.media.azure.net/0d9798d8-6096-431a-af95-81117aa5ea6b/MDcatOrientationofSubjectsFinal.ism/manifest(format=mpd-time-csf)"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--merge-output-format', 'mp4', '--verbose', 'https://elvideoservices-aase.streaming.media.azure.net/0d9798d8-6096-431a-af95-81117aa5ea6b/MDcatOrientationofSubjectsFinal.ism/manifest(format=mpd-time-csf)']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg git-2020-06-28-4cfcfb3
[debug] Proxy map: {}
[generic] manifest(format=mpd-time-csf): Requesting header
WARNING: Falling back on generic information extractor.
[generic] manifest(format=mpd-time-csf): Downloading webpage
[generic] manifest(format=mpd-time-csf): 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\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\extractor\generic.py", line 2409, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\extractor\common.py", line 1350, 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

Hey there, well I was trying to download some videos being run on azure media player. Well what I do is open chrome debugger and find the manifest link and input it in the yt-dl executable. Some links work, others return no video formats found.

For example:

  • When I input this in yt-dl executable, it returns no video formats found:
D:\Azure\youtube-dl.exe --merge-output-format mp4 "https://elvideoservices-aase.streaming.media.azure.net/0d9798d8-6096-431a-af95-81117aa5ea6b/MDcatOrientationofSubjectsFinal.ism/manifest(format=mpd-time-csf)"
  • When I input this in yt-dl executable, it starts downloading 1920x1080 video for me
D:\Azure\youtube-dl.exe --merge-output-format mp4 "https://elvideoservices-aase.streaming.media.azure.net/31865afb-2080-4ba2-a5b9-44a87711e61d/StepMDCATChemistryTest16.ism/manifest(format=mpd-time-csf)"

Now the fact is that both of these links are working and have video sources in them. It can be proved by entering these links in Azure Media Player demo by Microsoft.
Here is the link for player:

https://ampdemo.azureedge.net/azuremediaplayer.html

There, you can input both URLs and can watch both videos. Both videos have no type of encryption but it is very weird that one can be downloaded and other can't. I was looking for a solution and I want the issue to be solved, maybe through some update or something because I want to download more of these videos. Thanks. If you need I have also downloaded the manifest files of both the working URL in yt-dl and non-working one.

They are given below

  • Manifest source for non-working URL
<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" xmlns:sea="urn:mpeg:dash:schema:sea:2012" mediaPresentationDuration="PT13M50.421S" minBufferTime="PT7S"><Period><AdaptationSet id="1" group="5" profiles="ccff" bitstreamSwitching="false" segmentAlignment="true" contentType="audio" mimeType="audio/mp4" codecs="mp4a.40.2" lang="en"><ContentProtection schemeIdUri="urn:mpeg:dash:sea:2012"><sea:SegmentEncryption schemeIdUri="urn:mpeg:dash:sea:aes128-cbc:2013"/><sea:KeySystem keySystemUri="urn:mpeg:dash:sea:keysys:http:2013"/><sea:CryptoPeriod keyUriTemplate="https://elvideoservices.keydelivery.southeastasia.media.azure.net/?kid=c6c892c3-ef38-463c-80c9-2a59cce47614" IV="0x50289AA907CDD772FE39380C53FB9901"/></ContentProtection><Label>aac_eng_2_129_2_1</Label><SegmentTemplate timescale="10000000" media="QualityLevels($Bandwidth$)/Fragments(aac_eng_2_129_2_1=$Time$,format=mpd-time-csf)" initialization="QualityLevels($Bandwidth$)/Fragments(aac_eng_2_129_2_1=i,format=mpd-time-csf)"><SegmentTimeline><S d="60160000" r="137"/><S d="2133333"/></SegmentTimeline></SegmentTemplate><Representation id="5_A_aac_eng_2_129_2_1_1" bandwidth="129000" audioSamplingRate="48000"/></AdaptationSet><AdaptationSet id="2" group="1" profiles="ccff" bitstreamSwitching="false" segmentAlignment="true" contentType="video" mimeType="video/mp4" codecs="avc1.640028" maxWidth="1920" maxHeight="1080" startWithSAP="1"><ContentProtection schemeIdUri="urn:mpeg:dash:sea:2012"><sea:SegmentEncryption schemeIdUri="urn:mpeg:dash:sea:aes128-cbc:2013"/><sea:KeySystem keySystemUri="urn:mpeg:dash:sea:keysys:http:2013"/><sea:CryptoPeriod keyUriTemplate="https://elvideoservices.keydelivery.southeastasia.media.azure.net/?kid=c6c892c3-ef38-463c-80c9-2a59cce47614" IV="0x50289AA907CDD772FE39380C53FB9901"/></ContentProtection><SegmentTemplate timescale="10000000" media="QualityLevels($Bandwidth$)/Fragments(video=$Time$,format=mpd-time-csf)" initialization="QualityLevels($Bandwidth$)/Fragments(video=i,format=mpd-time-csf)"><SegmentTimeline><S d="60000000" r="137"/><S d="23600000"/></SegmentTimeline></SegmentTemplate><Representation id="1_V_video_1" bandwidth="5858000" width="1920" height="1080"/><Representation id="1_V_video_2" bandwidth="3040000" codecs="avc1.64001F" width="1280" height="720"/><Representation id="1_V_video_3" bandwidth="1910000" codecs="avc1.64001F" width="960" height="540"/><Representation id="1_V_video_4" bandwidth="991000" codecs="avc1.64001E" width="640" height="360"/><Representation id="1_V_video_5" bandwidth="621000" codecs="avc1.640015" width="480" height="270"/><Representation id="1_V_video_6" bandwidth="331000" codecs="avc1.64000D" width="320" height="180"/></AdaptationSet></Period></MPD>
  • Manifest source for working URL
<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT24M31.765S" minBufferTime="PT7S"><Period><AdaptationSet id="1" group="5" profiles="ccff" bitstreamSwitching="false" segmentAlignment="true" contentType="audio" mimeType="audio/mp4" codecs="mp4a.40.2" lang="en"><Label>aac_eng_2_128_2_1</Label><SegmentTemplate timescale="10000000" media="QualityLevels($Bandwidth$)/Fragments(aac_eng_2_128_2_1=$Time$,format=mpd-time-csf)" initialization="QualityLevels($Bandwidth$)/Fragments(aac_eng_2_128_2_1=i,format=mpd-time-csf)"><SegmentTimeline><S d="60160000" r="243"/><S d="38613333"/></SegmentTimeline></SegmentTemplate><Representation id="5_A_aac_eng_2_128_2_1_1" bandwidth="128000" audioSamplingRate="48000"/></AdaptationSet><AdaptationSet id="2" group="1" profiles="ccff" bitstreamSwitching="false" segmentAlignment="true" contentType="video" mimeType="video/mp4" codecs="avc1.640028" maxWidth="1920" maxHeight="1080" startWithSAP="1"><SegmentTemplate timescale="10000000" media="QualityLevels($Bandwidth$)/Fragments(video=$Time$,format=mpd-time-csf)" initialization="QualityLevels($Bandwidth$)/Fragments(video=i,format=mpd-time-csf)"><SegmentTimeline><S d="60000000" r="244"/><S d="17200000"/></SegmentTimeline></SegmentTemplate><Representation id="1_V_video_1" bandwidth="4994000" width="1920" height="1080"/><Representation id="1_V_video_2" bandwidth="2595000" codecs="avc1.64001F" width="1280" height="720"/><Representation id="1_V_video_3" bandwidth="1631000" codecs="avc1.64001F" width="960" height="540"/><Representation id="1_V_video_4" bandwidth="851000" codecs="avc1.64001E" width="640" height="360"/><Representation id="1_V_video_5" bandwidth="531000" codecs="avc1.640015" width="480" height="270"/><Representation id="1_V_video_6" bandwidth="281000" codecs="avc1.64000D" width="320" height="180"/></AdaptationSet></Period></MPD>

I am not a programmer or a coder otherwise I would have tried my best to help you out in the solution for this. I think it can be solved by trying to code the grabber to find links in the manifest or some similar way like that.

Looking for solutions eagerly. Peace out.

@dstftw dstftw closed this Jun 30, 2020
@dstftw dstftw added the DRM label Jun 30, 2020
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.