Media Presentation Description for main and associated audio services delivered in separate files

This is a simple example of a dynamic presentation, with multiple languages and multiple base URLs.

This MPD document describes content available from two sources (cdn1 and cdn2) with audio available in two different English-language presentations: main audio service only, or a visually impaired receiver-mix service. The visually impaired service is enabled by simultaneously delivering the Dolby Digital Plus bitstream containing the main audio service and an additional Dolby Digital Plus bitstream containing the associated audio service for visually impaired listeners.

Three versions of the video are provided at bit rates between 250 kbps and 1 Mbps in different spatial resolutions.

The media presentation complies with the ISO base media file format live profile, as defined in ISO/IEC 23009-1:2012.

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dolby="http://www.dolby.com/ns/online/DASH" xmlns="urn:mpeg:dash:schema:mpd:2011"
xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011"
type="dynamic"
minimumUpdatePeriod="PT2S"
timeShiftBufferDepth="PT30M"
availabilityStartTime="2011-12-25T12:30:00"
minBufferTime="PT4S"
profiles="urn:mpeg:dash:profile:isoff-live:2011">
   <BaseURL>http://cdn1.example.com/</BaseURL>
   <BaseURL>http://cdn2.example.com/</BaseURL>
   <Period>
      <!-- Video -->
      <AdaptationSet mimeType="video/mp4" codecs="avc1.4D401F" frameRate="30000/1001"
       segmentAlignment="true" startWithSAP="1">
         <BaseURL>video/</BaseURL>
         <SegmentTemplate timescale="90000" media="$Bandwidth$/$Number$.mp4" initialization="$Bandwidth$/0.mp4">
            <SegmentTimeline>
               <S t="0" d="180180" r="12"/>
            </SegmentTimeline>
         </SegmentTemplate>
         <Representation id="v0" width="320" height="240" bandwidth="250000" />
         <Representation id="v1" width="640" height="480" bandwidth="500000" />
         <Representation id="v2" width="960" height="720" bandwidth="1000000" />
      </AdaptationSet>
      <!-- English Audio -->
      <AdaptationSet mimeType="audio/mp4" codecs="ec-3" lang="en" segmentAlignment="0" startWithSAP="1">
         <Accessibility schemeIdUri="urn:tva:metadata:cs:AudioPurposeCS:2007" value="6"/>
         <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
         <SegmentTemplate timescale="48000" media="audio/en_main/$Bandwidth$/$Number$.mp4"
           initialization="audio/en_main/$Bandwidth$/0.mp4">
            <SegmentTimeline>
               <S t="0" d="96000" r="11"/>
            </SegmentTimeline>
         </SegmentTemplate>
         <Representation id="a0" bandwidth="256000">
            <AudioChannelConfiguration schemeIdUri="tag:dolby.com,2014:dash:audio_channel_configuration:2011" value="F801"/>
         </Representation>
      </AdaptationSet>
      <!-- English Audio for visually impaired listeners -->
      <AdaptationSet mimeType="audio/mp4" codecs="ec-3" lang="en" segmentAlignment="true" startWithSAP="1">
         <Accessibility schemeIdUri="urn:tva:metadata:cs:AudioPurposeCS:2007" value="1"/>
         <Role schemeIdUri="urn:mpeg:dash:role:2011" value="commentary" />
         <SegmentTemplate timescale="48000" media="audio/en_vi/$Bandwidth$/$Number$.mp4"
          initialization="audio/en_vi/$Bandwidth$/0.mp4">
            <SegmentTimeline>
               <S t="0" d="96000" r="11"/>
            </SegmentTimeline>
         </SegmentTemplate>
         <Representation id="a1" dependencyId="a0" bandwidth="64000">
            <AudioChannelConfiguration schemeIdUri="tag:dolby.com,2014:dash:audio_channel_configuration:2011" value="4000"/>
         </Representation>
      </AdaptationSet>
      <!-- French Audio -->
      <AdaptationSet mimeType="audio/mp4" codecs="ec-3" lang="fr" segmentAlignment="0" startWithSAP="1">
      <SegmentTemplate timescale="48000" media="audio/fr/$Bandwidth$/$Number$.mp4"
             initialization="audio/fr/$Bandwidth$/0.mp4">
               <SegmentTimeline>
                  <S t="0" d="96000" r="11"/>
               </SegmentTimeline>
            </SegmentTemplate>
         <Representation id="a2" bandwidth="192000">
            <AudioChannelConfiguration schemeIdUri="tag:dolby.com,2014:dash:audio_channel_configuration:2011" value="F801"/>
         </Representation>
      </AdaptationSet>
   </Period>
</MPD>