multiperiod-dynamic.mpd 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" mediaPresentationDuration="PT36.269S" minBufferTime="PT2.000S" suggestedPresentationDelay="PT18S">
  3. <Period id="0" start="PT0S" duration="PT5.972633333S">
  4. <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
  5. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  6. <SegmentTemplate initialization="https://example.com/$RepresentationID$/init0.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="0" timescale="44100">
  7. <SegmentTimeline>
  8. <S d="88064" r="2"></S>
  9. </SegmentTimeline>
  10. </SegmentTemplate>
  11. <Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
  12. <Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
  13. </AdaptationSet>
  14. <AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
  15. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  16. <SegmentTemplate initialization="https://example.com/$RepresentationID$/init0.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="0" timescale="30000">
  17. <SegmentTimeline>
  18. <S d="60060" r="1"></S>
  19. <S d="59059"></S>
  20. </SegmentTimeline>
  21. </SegmentTemplate>
  22. <Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
  23. <Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
  24. <Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
  25. </AdaptationSet>
  26. </Period>
  27. <Period id="1" duration="PT4.838166665S">
  28. <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
  29. <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
  30. <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
  31. <cenc:pssh>test</cenc:pssh>
  32. </ContentProtection>
  33. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  34. <SegmentTemplate initialization="https://example.com/$RepresentationID$/init1.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="3" timescale="44100">
  35. <SegmentTimeline>
  36. <S d="88064" r="1"></S>
  37. <S d="37888"></S>
  38. </SegmentTimeline>
  39. </SegmentTemplate>
  40. <Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
  41. <Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
  42. </AdaptationSet>
  43. <AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
  44. <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
  45. <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
  46. <cenc:pssh>test</cenc:pssh>
  47. </ContentProtection>
  48. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  49. <SegmentTemplate initialization="https://example.com/$RepresentationID$/init1.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="3" timescale="30000">
  50. <SegmentTimeline>
  51. <S d="58058" r="1"></S>
  52. <S d="29029"></S>
  53. </SegmentTimeline>
  54. </SegmentTemplate>
  55. <Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
  56. <Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
  57. <Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
  58. </AdaptationSet>
  59. </Period>
  60. <Period id="2" duration="PT13.980633333S">
  61. <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
  62. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  63. <SegmentTemplate initialization="https://example.com/$RepresentationID$/init2.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="6" timescale="44100">
  64. <SegmentTimeline>
  65. <S d="88064" r="6"></S>
  66. <S d="1024"></S>
  67. </SegmentTimeline>
  68. </SegmentTemplate>
  69. <Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
  70. <Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
  71. </AdaptationSet>
  72. <AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
  73. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  74. <SegmentTemplate initialization="https://example.com/$RepresentationID$/init2.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="6" timescale="30000">
  75. <SegmentTimeline>
  76. <S d="60060" r="5"></S>
  77. <S d="59059"></S>
  78. </SegmentTimeline>
  79. </SegmentTemplate>
  80. <Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
  81. <Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
  82. <Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
  83. </AdaptationSet>
  84. </Period>
  85. <Period id="3" duration="PT3.157913831S">
  86. <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
  87. <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
  88. <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
  89. <cenc:pssh>test</cenc:pssh>
  90. </ContentProtection>
  91. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  92. <SegmentTemplate presentationTimeOffset="214016" initialization="https://example.com/$RepresentationID$/init3.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="14" timescale="44100">
  93. <SegmentTimeline>
  94. <S d="51200"></S>
  95. <S d="88064"></S>
  96. </SegmentTimeline>
  97. </SegmentTemplate>
  98. <Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
  99. <Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
  100. </AdaptationSet>
  101. <AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
  102. <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="aaa"/>
  103. <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
  104. <cenc:pssh>test</cenc:pssh>
  105. </ContentProtection>
  106. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  107. <SegmentTemplate presentationTimeOffset="145145" initialization="https://example.com/$RepresentationID$/init3.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="13" timescale="30000">
  108. <SegmentTimeline>
  109. <S d="29029"></S>
  110. <S d="58058"></S>
  111. <S d="8008"></S>
  112. </SegmentTimeline>
  113. </SegmentTemplate>
  114. <Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
  115. <Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
  116. <Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
  117. </AdaptationSet>
  118. </Period>
  119. <Period id="4" duration="PT7.987664396S">
  120. <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" lang="en">
  121. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  122. <SegmentTemplate initialization="https://example.com/$RepresentationID$/segment$Number$.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="16" timescale="44100">
  123. <SegmentTimeline>
  124. <S d="88064" r="3"></S>
  125. </SegmentTimeline>
  126. </SegmentTemplate>
  127. <Representation audioSamplingRate="44100" bandwidth="123000" codecs="mp4a.40.2" id="default_audio128_2"></Representation>
  128. <Representation audioSamplingRate="44100" bandwidth="93000" codecs="mp4a.40.2" id="default_audio96_2"></Representation>
  129. </AdaptationSet>
  130. <AdaptationSet mimeType="video/mp4" scanType="progressive" segmentAlignment="true" startWithSAP="1">
  131. <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
  132. <SegmentTemplate initialization="https://example.com/$RepresentationID$/segment$Number$.m4f" media="https://example.com/$RepresentationID$/segment$Number$.m4f" startNumber="16" timescale="30000">
  133. <SegmentTimeline>
  134. <S d="60060" r="2"></S>
  135. <S d="59059"></S>
  136. </SegmentTimeline>
  137. </SegmentTemplate>
  138. <Representation bandwidth="2008000" codecs="avc1.4d001f" frameRate="2997/100" height="720" id="default_video2000_0_1280x720" width="1280"></Representation>
  139. <Representation bandwidth="1195000" codecs="avc1.4d001f" frameRate="2997/100" height="540" id="default_video1200_1_960x540" width="960"></Representation>
  140. <Representation bandwidth="884000" codecs="avc1.4d001e" frameRate="2997/100" height="360" id="default_video900_1_640x360" width="640"></Representation>
  141. </AdaptationSet>
  142. </Period>
  143. </MPD>