VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. The Firefox/Chrome add-on Easy Video Downloader sees these segments and will download them BUT, as far as I can tell, there's no way to automatically get all of them so I"m seeking guidance to grab segments. Firefox's The Stream Detector recognizes the mpd but doesn't create functioning commands for either ffmpeg or streamlink.

    Here's an example (HIDETHIS and DATAxx are placeholders to anonymize and make this easier to view:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT1H36M52.640S" minBufferTime="PT2.000S">
      <BaseURL>https://HIDETHIS.akamaized.net/media/v1/dash/live/cenc/DATA01/</BaseURL>
      <Period>
        <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="en">
          <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" xmlns:cenc="urn:mpeg:cenc:2013" cenc:default_KID="DATA02" value="cenc"></ContentProtection>
          <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" xmlns:cenc="urn:mpeg:cenc:2013" bc:licenseAcquisitionUrl="https://manifest.prod.boltdns.net/license/v1/cenc/widevine/DATA01?fastly_token=DATA22" xmlns:bc="urn:brightcove:2015">
            <cenc:pssh>DATA03</cenc:pssh>
          </ContentProtection>
          <ContentProtection schemeIdUri="urn:uuid:DATA04" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
            <mspr:pro>DATA05</mspr:pro>
            <cenc:pssh>DATA06</cenc:pssh>
          </ContentProtection>
          <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
          <SegmentTemplate duration="285696" initialization="$RepresentationID$/init.m4f?" media="$RepresentationID$/3x/segment$Number$.m4f?" startNumber="0" timescale="48000"></SegmentTemplate>
          <Representation audioSamplingRate="48000" bandwidth="63000" codecs="mp4a.40.2" id="DATA07"></Representation>
          <Representation audioSamplingRate="48000" bandwidth="96000" codecs="mp4a.40.2" id="DATA08"></Representation>
          <Representation audioSamplingRate="48000" bandwidth="127000" codecs="mp4a.40.2" id="DATA09"></Representation>
        </AdaptationSet>
        <AdaptationSet mimeType="video/mp4" startWithSAP="1" scanType="progressive" segmentAlignment="true">
          <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" xmlns:cenc="urn:mpeg:cenc:2013" cenc:default_KID="DATA02" value="cenc"></ContentProtection>
          <ContentProtection schemeIdUri="urn:uuid:DATA10" xmlns:cenc="urn:mpeg:cenc:2013" bc:licenseAcquisitionUrl="https://manifest.prod.boltdns.net/license/v1/cenc/widevine/DATA01?fastly_token=DATA11" xmlns:bc="urn:brightcove:2015">
            <cenc:pssh>DATA03</cenc:pssh>
          </ContentProtection>
          <ContentProtection schemeIdUri="urn:uuid:DATA04" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
            <mspr:pro>DATA12</mspr:pro>
            <cenc:pssh>DATA13</cenc:pssh>
          </ContentProtection>
          <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
          <SegmentTemplate duration="144144" initialization="$RepresentationID$/init.m4f?" media="$RepresentationID$/3x/segment$Number$.m4f?" startNumber="0" timescale="24000"></SegmentTemplate>
          <Representation bandwidth="448000" codecs="avc1.420015" frameRate="2997/125" height="270" id="DATA14" width="480"></Representation>
          <Representation bandwidth="697000" codecs="avc1.42001e" frameRate="2997/125" height="360" id="DATA15" width="640"></Representation>
          <Representation bandwidth="898000" codecs="avc1.4d001e" frameRate="2997/125" height="360" id="DATA16" width="640"></Representation>
          <Representation bandwidth="1198000" codecs="avc1.4d001f" frameRate="2997/125" height="540" id="DATA17" width="960"></Representation>
          <Representation bandwidth="1698000" codecs="avc1.4d001f" frameRate="2997/125" height="540" id="DATA18" width="960"></Representation>
          <Representation bandwidth="1997000" codecs="avc1.4d001f" frameRate="2997/125" height="720" id="DATA19" width="1280"></Representation>
        </AdaptationSet>
        <AdaptationSet mimeType="text/vtt" lang="en">
          <Representation bandwidth="256" id="DATA20">
            <BaseURL>https://HIDETHIS.akamaized.net/media/v1/dash/live/clear/DATA21.vtt</BaseURL>
          </Representation>
        </AdaptationSet>
      </Period>
    </MPD>
    The goal is to retrieve the largest video and highest bitrate audio which are these lines:

    Code:
    <Representation audioSamplingRate="48000" bandwidth="127000" codecs="mp4a.40.2" id="DATA09"></Representation>
    <Representation bandwidth="1997000" codecs="avc1.4d001f" frameRate="2997/125" height="720" id="DATA19" width="1280"></Representation>
    The "best" solution would probably be a universal method to download all segments for joining later. I've tried many other browser add-ons and only a very few recognize the source video. None properly grab the segments.

    So...the "real" solution might be a template for ffmpeg, youtube-dl, or streamlink to which stream-specific values are copied. Awkward, but if it works....
    -=*=-

    Fred Thompson

    utils@mindspring.com
    A/V Utils for the Masses!!!
    Curator of links at http://neuron2.net
    Quote Quote  
  2. Widevine DRM aside you will need .mpd url to download media file. mpd file doesnt know where files are
    Last edited by notaghost; 15th Nov 2020 at 01:20. Reason: correction
    Quote Quote  
  3. Member
    Join Date
    Mar 2019
    Location
    Germany
    Search PM
    What website is this? PM me. I can certainly help.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!