Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 26.247  Word version:  18.4.0

Top   Top   Up   Prev   Next
0f…   4   5…   6…   7…   8…   9…   10…   11…   12…   13…   14…   15   A…   B…   C…   D…   F…   K…   L…   M…

 

D  MPD examplesp. 112

D.1  On-Demand servicep. 112

Table D.1 provides an example MPD for an On-Demand service.
<?xml version="1.0"?>
<MPD
    profiles="urn:3GPP:PSS:profile:DASH10"
    type="static"
    minBufferTime="PT10S"
    mediaPresentationDuration="PT2H"
    availabilityStartTime="2010-04-01T09:30:47Z"
    availabilityEndTime="2010-04-07T09:30:47Z"
    xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 3GPP-Rel10-MPD.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="urn:mpeg:dash:schema:mpd:2011">
    <ProgramInformation moreInformationURL="http://www.example.com">
        <Title>Example</Title>
    </ProgramInformation>
    <BaseURL>http://www.example.com</BaseURL>
    <Period start="PT0S">
        <AdaptationSet mimeType="video/3gpp">
            <ContentComponent contentType="video"/>
            <ContentComponent contentType="audio" lang="en"/>
            <Representation codecs="s263, samr" bandwidth="256000" id="256">
                <BaseURL>"rep1"</BaseURL>
                <SegmentList duration="1000" timescale="100">
                    <Initialization sourceURL="seg-init.3gp"/>
                    <SegmentURL media="seg-1.3gp"/>
                    <SegmentURL media="seg-2.3gp"/>
                    <SegmentURL media="seg-3.3gp"/>
                </SegmentList>
            </Representation>
            <Representation codecs="mp4v.20.9, mp4a.E1" bandwidth="128000" id="128">
                <BaseURL>"rep2"</BaseURL>
                <SegmentList duration="10">
                    <Initialization sourceURL="seg-init.3gp"/>
                    <SegmentURL media="seg-1.3gp"/>
                    <SegmentURL media="seg-2.3gp"/>
                    <SegmentURL media="seg-3.3gp"/>
                </SegmentList>
            </Representation>
        </AdaptationSet>
    </Period>
    <Period start="PT30S">
        <SegmentTemplate
            duration="10"
            initialization="seg-init-$RepresentationId$.3gp"
            media="http://example.com/$RepresentationId$/$Number$.3gp"/>
        <AdaptationSet mimeType="video/3gpp" codecs="mp4v.20.9, mp4a.E1">
            <ContentComponent contentType="video"/>
            <ContentComponent contentType="audio" lang="en"/>
            <Representation bandwidth="256000" id="1"/>
            <Representation bandwidth="128000" id="2"/>
        </AdaptationSet>
    </Period>
</MPD>
Up

D.2  Live servicep. 113

Table D.2 provides an example MPD for a live service.
<?xml version="1.0"?>
<MPD
    profiles="urn:3GPP:PSS:profile:DASH10"
    type="dynamic"
    minBufferTime="PT3S"
    availabilityStartTime="2010-04-26T08:45:00-08:00"
    minimumUpdatePeriod="PT5M0S"
    timeShiftBufferDepth="PT1H30M0S"
    xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 3GPP-Rel10-MPD.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="urn:mpeg:dash:schema:mpd:2011">
    <ProgramInformation moreInformationURL="http://www.example.com">
        <Title>Example 3: 3GPP SA4 Meeting in Vancouver as Live Broadcast</Title>
        <Source>3GPP</Source>
    </ProgramInformation>
    <Period start="PT0S" id="0">
        <AdaptationSet mimeType='video/3gpp' codecs="avc1.42E00B" width="320" height="240" contentType="video">
            <SegmentTemplate
                duration="60"
                initialization="http://www.ad-server.com/1-day-black/QVGA/0.3gp"
                media="http://www.ad-server.com/1-day-black/QVGA/$Number$.3gp">
            </SegmentTemplate>
            <Representation id="Ad-QVGA" bandwidth="10000">
        </Representation>
        </AdaptationSet>
    </Period>
    <Period start="PT15M0S" id="1">
        <SegmentTemplate
            duration="10"
            initialization="http://www.example.com/Period-2010-04-26T08-45-00/rep-$RepresentationID$/seg-0.3gp"
            media="http://www.example.com/Period-2010-04-26T08-45-00/rep-$RepresentationID$/seg-$Number$.3gp"/>
        <AdaptationSet mimeType='video/3gpp'>
            <ContentComponent contentType="video"/>
            <ContentComponent contentType="audio" lang="en"/>
            <Representation
             id="QVGA-LQ" codecs="avc1.42E00C, mp4a.40.2" bandwidth="192000" width="320" height="240"/>
            <Representation
             id="QVGA-HQ" codecs="avc1.42E00C, mp4a.40.2" bandwidth="384000" width="320" height="240"/>
            <Representation
             id="VGA-LQ" mimeType='video/3gpp' codecs="avc1.64001E, mp4a.40.2" bandwidth="512000" width="640" height="480"/>
            <Representation id="VGA-HQ" codecs="avc1.64001E, mp4a.40.2" bandwidth="1024000" width="640" height="480"/>
        </AdaptationSet>
    </Period>
    <Period start="PT2H01M22.12S" id="2">
        <SegmentTemplate duration="10"
            media="http://www.ad-server.com/15min-Ads/$RepresentationID$/$Number$.3gp"
            initialization="http://www.ad-server.com/15min-Ads/$RepresentationID$/0.3gp"/>
        <AdaptationSet mimeType='video/3gpp'>
            <ContentComponent contentType="video"/>
            <ContentComponent contentType="audio" lang="en"/>
            <Representation id="QVGA" codecs="avc1.42E00C, mp4a.40.2" bandwidth="256000" width="320" height="240"/>
            <Representation id="VGA"  codecs="avc1.64001E, mp4a.40.2" bandwidth="512000" width="640" height="480"/>
        </AdaptationSet>
    </Period>
    <Period start="PT2H16M22.12S" id="3">
        <SegmentTemplate
            duration="10"
            media="http://www.example.com/Period-2010-04-26T11-01-22/rep-$RepresentationID$/seg-$Number$.3gp"
            initialization="http://www.example.com/Period-2010-04-26T11-01-22/rep-$RepresentationID$/seg-0.3gp"
        />
        <AdaptationSet mimeType='video/3gpp' contentType="video">
            <Representation id="QVGA-LQ" codecs="avc1.42E00C" bandwidth="192000" width="320" height="240"/>
            <Representation id="QVGA-HQ" codecs="avc1.42E00C" bandwidth="384000" width="320" height="240"/>
            <Representation id="VGA-LQ" codecs="avc1.64001E" bandwidth="512000" width="640" height="480"/>
            <Representation id="VGA-HQ" codecs="avc1.64001E" bandwidth="1024000" width="640" height="480"/>
        </AdaptationSet>
        <AdaptationSet mimeType='audio/3gpp' contentType="audio" lang="en">
            <Representation id="audio" codecs="mp4a.40.2" bandwidth="32000"/>
            <Representation id="audio" codecs="mp4a.40.2" bandwidth="64000"/>
        </AdaptationSet>
    </Period>
</MPD>
Up

D.3  MPD assemblyp. 114

Table D.3 provides an example MPD with reference to external Period element as provided in Table D.4. An equivalent MPD to the one in Table D.3 after dereferencing with the Period element in Table D.4 is shown in Table D.2.
<?xml version="1.0"?>
<MPD
    profiles="urn:3GPP:PSS:profile:DASH10"
    type="dynamic"
    minBufferTime="PT3S"
    availabilityStartTime="2010-04-26T08:45:00-08:00"
    minimumUpdatePeriod="PT5M0S"
    timeShiftBufferDepth="PT1H30M0S"
    xsi:schemaLocation="urn:mpeg:Ddash:schema:mpd:2011 3GPP-Rel10-MPD.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns="urn:mpeg:dash:schema:mpd:2011">
    <ProgramInformation moreInformationURL="http://www.example.com">
        <Title>Example 3: 3GPP SA4 Meeting in Vancouver as Live Broadcast</Title>
        <Source>3GPP</Source>
    </ProgramInformation>
    <Period start="PT0S" id="0">
        <AdaptationSet mimeType='video/3gpp' codecs="avc1.42E00B" width="320" height="240" contentType="video">
            <SegmentTemplate
                duration="60"
                initialization="http://www.ad-server.com/1-day-black/QVGA/0.3gp"
                media="http://www.ad-server.com/1-day-black/QVGA/$Number$.3gp">
            </SegmentTemplate>
            <Representation id="Ad-QVGA" bandwidth="10000">
            </Representation>
        </AdaptationSet>
    </Period>
    <Period start="PT15M0S" id="1">
        <SegmentTemplate
            duration="10"
            initialization="http://www.example.com/Period-2010-04-26T08-45-00/rep-$RepresentationID$/seg-0.3gp"
            media="http://www.example.com/Period-2010-04-26T08-45-00/rep-$RepresentationID$/seg-$Number$.3gp"/>
        <AdaptationSet mimeType='video/3gpp'>
            <ContentComponent contentType="video"/>
            <ContentComponent contentType="audio" lang="en"/>
            <Representation id="QVGA-LQ" codecs="avc1.42E00C, mp4a.40.2" bandwidth="192000" width="320" height="240"/>
            <Representation id="QVGA-HQ" codecs="avc1.42E00C, mp4a.40.2" bandwidth="384000" width="320" height="240"/>
            <Representation id="VGA-LQ" mimeType='video/3gpp'
             codecs="avc1.64001E, mp4a.40.2" bandwidth="512000" width="640" height="480"/>
            <Representation id="VGA-HQ" codecs="avc1.64001E, mp4a.40.2" bandwidth="1024000" width="640" height="480"/>
        </AdaptationSet>
    </Period>
    <Period xlink:ref="http://www.example.com/Period.xml" id="2"/>
    <Period start="PT2H16M22.12S" id="3">
        <SegmentTemplate
            duration="10"
            media="http://www.example.com/Period-2010-04-26T11-01-22/rep-$RepresentationID$/seg-$Number$.3gp"
            initialization="http://www.example.com/Period-2010-04-26T11-01-22/rep-$RepresentationID$/seg-0.3gp"
        />
        <AdaptationSet mimeType='video/3gpp' contentType="video">
            <Representation id="QVGA-LQ" codecs="avc1.42E00C" bandwidth="192000" width="320" height="240"/>
            <Representation id="QVGA-HQ" codecs="avc1.42E00C" bandwidth="384000" width="320" height="240"/>
            <Representation id="VGA-LQ" codecs="avc1.64001E" bandwidth="512000" width="640" height="480"/>
            <Representation id="VGA-HQ" codecs="avc1.64001E" bandwidth="1024000" width="640" height="480"/>
        </AdaptationSet>
        <AdaptationSet mimeType='audio/3gpp' contentType="audio" lang="en">
            <Representation id="audio" codecs="mp4a.40.2" bandwidth="32000"/>
            <Representation id="audio" codecs="mp4a.40.2" bandwidth="64000"/>
        </AdaptationSet>
    </Period>
</MPD>
<?xml version="1.0"?>
<Period start="PT2H01M22.12S">
    <SegmentTemplate duration="10"
        media="http://www.ad-server.com/15min-Ads/$RepresentationID$/$Number$.3gp"
        initialization="http://www.ad-server.com/15min-Ads/$RepresentationID$/0.3gp"/>
    <AdaptationSet mimeType='video/3gpp'>
        <ContentComponent contentType="video"/>
        <ContentComponent contentType="audio" lang="en"/>
        <Representation id="QVGA" codecs="avc1.42E00C, mp4a.40.2" bandwidth="256000" width="320" height="240"/>
        <Representation id="VGA"  codecs="avc1.64001E, mp4a.40.2" bandwidth="512000" width="640" height="480"/>
    </AdaptationSet>
</Period>
Up

D.4  MPD deltasp. 115

In the following MPD example, the content is 30 minutes in duration. There are 3 Periods, each of 10 minutes duration. Each Period has 3 Representations and each Representation is contained within one 3gp file. Each Representation has audio encoded with Low Complexity-AAC. One Representation of each Period (p1rep1.3gp, p2rep1.3gp, and p3rep1.3gp) has video resolution 320x240 encoded with H.264 baseline profile level 1.1. Another Representation of each Period (p1rep2.3gp, p2rep2.3gp, and p3rep2.3gp) has resolution 320x240 encoded with H.264 baseline profile level 1.3. Finally, a third representation in each period (p1rep3.3gp, p2rep3.3gp, and p3rep3.3gp) has resolution 480×240 encoded with H.264 baseline profile level 2.1. One Representation of each Period has bandwidth of 239 kbps, a second representation has bandwidth of 478 kbps, and a third representation has bandwidth of 892 kbps.
Since each representation is contained in one file, the Initialization Segments and the Media Segments for a representation are accessed with byte ranges. Each SegmentURL element in the MPD contains a mediaRange attribute and the corresponding byte range for the Initialization Segment or Media Segment. For the example each Segment of all representations is 10 seconds in duration.
Line numbers of the MPD in the example are shown for clarity, although these would not be present in the MPD.
EXAMPLE 1 (add)
The change of adding the SegmentURL element for the next Segment to the Representation of the third Period of the MPD in the example with 239K bandwidth can be described as follows.
The SegmentURL element is added on a new line after line number 492.
EXAMPLE 2 (replace)
Replacing the line containing the DeltaSupport element to correspond to the MPD after the next update can be described as follows.
EXAMPLE 3 (delete)
If lines 8 through 10 of the original MPD are deleted and not present in the updated MPD, the delta to express this is:
Below is what the MPD looks like after approximately 29 minutes and 40 seconds. In this case, the MPD is updated approximately every 10 seconds.
1<?xml version="1.0"?>
2<MPD   profiles="urn:3GPP:PSS:profile:DASH10"
3       type="dynamic"
4       availabilityStartTime="2010-07-01T05:00:00Z"
5    availabilityEndTime="2010-07-08T05:00:00Z"
6       mediaPresentationDuration="PT2H"
7       minimumUpdatePeriod="PT10S"
8       minBufferTime="PT10S"
9       timeShiftBufferDepth="PT30M"
10      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11      xmlns:x3gpp="urn:3GPP:ns:DASH:MPD-ext:2011"
12      xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 3GPP-Rel10-MPD.xsd"
13      xmlns="urn:mpeg:dash:schema:mpd:2011">
14
15 <ProgramInformation moreInformationURL="http://www.example.com">
16 <Title>Example</Title>
17  <Source>Example</Source>
18  <Copyright>Example</Copyright>
19 </ProgramInformation>
20 <BaseURL>http://www.example.com</BaseURL>
21 <Period start="PT0S" bitstreamSwitching="true" id="0">
22  <AdaptationSet mimeType="video/3gpp">
23    <ContentComponent contentType="video"/>
24    <ContentComponent contentType="audio" lang="en"/>
25      <Representation id="0" bandwidth="239000" width="320" height="240" codecs="avc1.42E00b, mp4a.40.2">
26       <BaseURL>"p1rep1.3gp"</BaseURL>
27        <SegmentList duration="10" >
28         <Initialization range="0-985" />
29                              <SegmentURL  mediaRange="986-293761" />
30                              <SegmentURL  mediaRange="293762-592501" />
                                                   .
                                                   .
                                                   .
                                
88                              <SegmentURL  mediaRange="17600065-17894640" />
89        </SegmentList>
90      </Representation>
91      <Representation id="1" bandwidth="478000" width="320" height="240" codecs="avc1.42E00d, mp4a.40.2" >
92       <BaseURL>"p1rep2.3gp"</BaseURL>
93        <SegmentList duration="10">
94         <Initialization range="0-985" />
95                              <SegmentURL  mediaRange="986-586538" />
96                              <SegmentURL  mediaRange="586539-1184019" />
                                                   .
                                                   .
                                                   .
154                             <SegmentURL  mediaRange="35199171-35788323" />
155        </SegmentList>
156    </Representation>
157    <Representation id="2" bandwidth="892000" width="480" height="240" codecs="avc1.42E015, mp4a.40.2">
158      <BaseURL>"p1rep3.3gp"</BaseURL>
159  <SegmentList duration="10">
160    <Initialization range="0-985" />
161                             <SegmentURL  mediaRange="986-1093691" />
162                             <SegmentURL  mediaRange="1093692-2208656" />
                                                   .
                                                   .
                                                   .
220                             <SegmentURL  mediaRange="65684646-66784068" />
221        </SegmentList>
222 </Representation>
223 </AdaptationSet>
224</Period>
225<Period start="PT10M0S" bitstreamSwitching="true" id="1">
226 <AdaptationSet mimeType="video/3gpp">
227   <ContentComponent contentType="video"/>
228   <ContentComponent contentType="audio" lang="en"/>
229   <Representation  id="0" bandwidth="239000" width="320" height="240" codecs="avc1.42E00b, mp4a.40.2">
230     <BaseURL>"p2rep0.3gp"</BaseURL>
231 <SegmentList duration="10">
232   <Initialization range="0-985" />
233                             <SegmentURL  mediaRange="986-296011" />
234                             <SegmentURL  mediaRange="296012-595787" />
                                                   .
                                                   .
                                                   .
                                
292                             <SegmentURL  mediaRange="17647666-17946154" />
293  </SegmentList>
294    </Representation>
295    <Representation id="1" bandwidth="478000" width="320" height="240" codecs="avc1.42E00d, mp4a.40.2">
296  <BaseURL>"p2rep1.3gp"</BaseURL>
297      <SegmentList duration="10">
298    <Initialization range="0-985" />
299                             <SegmentURL  mediaRange="986-591037" />
300                             <SegmentURL  mediaRange="591038-1190590" />
                                                   .
                                                   .
                                                   .
358                             <SegmentURL  mediaRange="35294377-35891354" />
359  </SegmentList>
360   </Representation>
361   <Representation id="2" bandwidth="892000" width="480" height="240" codecs="avc1.42E015, mp4a.40.2">
362     <BaseURL>"p2rep2.3gp"</BaseURL>
363 <SegmentList duration="10">
364   <Initialization range="0-985" />
365                             <SegmentURL mediaRange="986-1102088" />
366                             <SegmentURL mediaRange="1102089-2220920" />
                                                   .
                                                   .
                                                   .
424                             <SegmentURL mediaRange="65862331-66976355" />
425     </SegmentList>
426 </Representation>
427 </AdaptationSet>
428</Period>
429<Period start="PT20M0S" bitstreamSwitching="true" id="2">
430 <AdaptationSet mimeType="video/3gpp">
431   <ContentComponent contentType="video"/>
432   <ContentComponent contentType="audio" lang="en"/>
433 <Representation  id="0" bandwidth="239000" width="320" height="240" codecs="avc1.42E00b, mp4a.40.2">
432     <BaseURL>"p3rep0.3gp"</BaseURL>
433 <SegmentList duration="10">
434   <Initialization range="0-985" />
435                             <SegmentURL  mediaRange="986-302469" />
436                             <SegmentURL  mediaRange="302470-597839" />
                                                   .
                                                   .
                                                   .
492                             <SegmentURL  mediaRange="17040002-17339553" />
493 </SegmentList>
494 </Representation>
495 <Representation id="1" bandwidth="478000" width="320" height="240" codecs="avc1.42E00d, mp4a.40.2" >
496     <BaseURL>"p3rep1.3gp"</BaseURL>
497 <SegmentList duration="10">
498   <Initialization range="0-985" />
499                             <SegmentURL  mediaRange="986-603953" />
500                             <SegmentURL  mediaRange="603954-1194693" />
                                                   .
                                                   .
                                                   .
556                             <SegmentURL  mediaRange="34079046-34678149" />
557 </SegmentList>
558   </Representation>
559   <Representation id="2" bandwidth="892000" width="480" height="240" codecs="avc1.42E015, mp4a.40.2" >
560     <BaseURL>"p3rep2.3gp"</BaseURL>
561 <SegmentList duration="10">
562   <Initialization range="0-985" />
563                             <SegmentURL  mediaRange="986-1126190" />
564                             <SegmentURL  mediaRange="1126191-2228575" />
                                                   .
                                                   .
                                                   .
620                             <SegmentURL  mediaRange="63594383-64712374" />
621 </SegmentList>
622 </Representation>
623  </AdaptationSet>
624 </Period>
625 <x3gpp:DeltaSupport sourceURL="delta1.mpdd" availabilityDuration="PT120S"/>
626</MPD>
Since the value of @sourceURL in the above MPD is "delta1.mpdd", delta1.mpdd is an empty file at the time of publication of the above MPD.
The following file is delta1.mpdd after the next MPD update. Notice that clients have access to the new value of @sourceURL referenced by the latest MPD via the delta.
625c
      <DeltaSupport sourceURL="delta2.mpdd" availabilityDuration="PT120S"/>
.
620a
                                <SegmentURL mediaRange="64712375-65844316"/>
.
556a
                                <SegmentURL mediaRange="34678150-35284727"/>
.
492a
                                <SegmentURL mediaRange="17339554-17642841"/>
.
At the next MPD update, "delta1.mpdd" would contain the cumulative update for 2 MPD updates.
625c
      <DeltaSupport sourceURL="delta3.mpdd" availabilityDuration="PT120S"/>
.
620a
                                <SegmentURL mediaRange="64712375-65844316"/>
                                <SegmentURL mediaRange="65844317-66966044"/>
.
556a
                                <SegmentURL mediaRange="34678150-35284727"/>
                                <SegmentURL mediaRange="35284728-35885833"/>
.
492a
                                <SegmentURL mediaRange="17339554-17642841"/>
                                <SegmentURL mediaRange="17642842-17943394"/>
.
Up

EVoid


Up   Top   ToC