View Single Post
  #1  
Old 02-28-2016, 05:15 AM
alfacode alfacode is offline
Member
 
Join Date: Jan 2015
Posts: 40
alfacode is on a distinguished road
Default

Download from .mpd manifest url


https://en.m.wikipedia.org/wiki/Dyna...ming_over_HTTP

I have a mpeg-dash (.mpd) manifest url. Can someone tell me how to download the videos inside this mpd file.

http://p-cdn1-1-cg14-linear-cbd46b77...5d075a20b6.mpd

The mpd file look like this

Code:
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:DASH:schema:MPD:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:dvb="urn:dvb:dash:dash-extensions:2014-1" xmlns:move="http://www.movenetworks.com/dash" xmlns:XMLSchema-instance="http://www.w3.org/2001/XMLSchema-instance" XMLSchema-instance:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 DASH-MPD.xsd" maxSegmentDuration="PT2.048000S" minBufferTime="PT2.048000S" profiles="urn:mpeg:dash:profile:isoff-live:2011" mediaPresentationDuration="PT3600.000000S" type="static" availabilityEndTime="2016-03-07T02:00:00Z">
    <Source xmlns="http://www.movenetworks.com/dash" linear="true"></Source>
    <Period duration="PT3600.000000S" start="PT0.000000S">
        <BaseURL>/15104/live/CLRS/6ce0cfdadd2011e5948690e2ba8346a0/</BaseURL>
        <AdaptationSet contentType="audio" mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" codecs="mp4a.40.2">
            <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection>
            <SegmentTemplate timescale="1000" presentationTimeOffset="88174836" duration="2048" startNumber="31496" initialization="audio/$RepresentationID$/init.mp4" media="audio/$RepresentationID$/$Number%08x$.m4s"></SegmentTemplate>
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></AudioChannelConfiguration>
            <Representation id="stereo/192" audioSamplingRate="48000" bandwidth="196608" qualityRanking="0"></Representation>
            <Representation id="stereo/160" audioSamplingRate="48000" bandwidth="163840" qualityRanking="1"></Representation>
            <Representation id="stereo/128" audioSamplingRate="48000" bandwidth="131072" qualityRanking="2"></Representation>
            <Representation id="stereo/96" audioSamplingRate="48000" bandwidth="98304" qualityRanking="3"></Representation>
            <Representation id="stereo/64" audioSamplingRate="48000" bandwidth="65536" qualityRanking="4"></Representation>
        </AdaptationSet>
        <AdaptationSet contentType="video" mimeType="video/mp4" segmentAlignment="true" startWithSAP="1">
            <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection>
            <SegmentTemplate timescale="1000" presentationTimeOffset="88174836" duration="2048" startNumber="31496" initialization="video/$RepresentationID$/init.mp4" media="video/$RepresentationID$/$Number%08x$.m4s"></SegmentTemplate>
            <Representation id="vid10" bandwidth="3592192" codecs="avc1.640028" width="1280" height="720" frameRate="29970/1000" sar="1:1" qualityRanking="0"></Representation>
            <Representation id="vid09" bandwidth="2435072" codecs="avc1.640028" width="1024" height="576" frameRate="29970/1000" sar="1:1" qualityRanking="1"></Representation>
            <Representation id="vid08" bandwidth="1404928" codecs="avc1.4d401f" width="768" height="432" frameRate="29970/1000" sar="1:1" qualityRanking="2"></Representation>
            <Representation id="vid07" bandwidth="1126400" codecs="avc1.4d401f" width="640" height="360" frameRate="29970/1000" sar="1:1" qualityRanking="3"></Representation>
            <Representation id="vid06" bandwidth="882688" codecs="avc1.4d401f" width="576" height="324" frameRate="29970/1000" sar="1:1" qualityRanking="4"></Representation>
            <Representation id="vid05" bandwidth="690176" codecs="avc1.42c01e" width="512" height="288" frameRate="29970/1000" sar="1:1" qualityRanking="5"></Representation>
            <Representation id="vid04" bandwidth="567296" codecs="avc1.42c01e" width="480" height="270" frameRate="29970/1000" sar="1:1" qualityRanking="6"></Representation>
            <Representation id="vid03" bandwidth="362496" codecs="avc1.42c01e" width="384" height="216" frameRate="29970/1000" sar="1:1" qualityRanking="7"></Representation>
            <Representation id="vid02" bandwidth="290816" codecs="avc1.42c01e" width="320" height="180" frameRate="29970/1000" sar="1:1" qualityRanking="8"></Representation>
            <Representation id="vid01" bandwidth="215040" codecs="avc1.42c01e" width="288" height="162" frameRate="29970/1000" sar="1:1" qualityRanking="9"></Representation>
        </AdaptationSet>
    </Period>
</MPD>

While doing some google search, I found one site http://www.dash-downloader.com. I pasted the mpd url and it gave me these options.


It start the mp4 download but speed is very very very very slow. Is there any other method or site like this where I am able to download the video inside this mpd url?
Reply With Quote