I got a sample mpd file from http://dash-mse-test.appspot.com/media.html and below is a snippet containing a single Representation.
...
<Representation bandwidth="4190760" codecs="avc1.640028" height="1080" id="1" mimeType="video/mp4" width="1920">
<BaseURL>car_cenc-20120827-89.mp4</BaseURL>
<SegmentBase indexRange="2755-3230">
<Initialization range="0-2754" />
</SegmentBase>
</Representation>
...
What does SegmentBase mean? What does the value of indexRange mean?
Initialization end range is always one less than the indexRange start value. ie., in the above 2755-1 = 2754 (the value of Initialization)
Can anyone help me understand the significance of these number?
EDIT 1:
As per the answer by @sander below, I understand segmentindex is byte range. However, I am still confused about how to use this value.
For eg:
<Representation bandwidth="4190760" codecs="avc1.640028" height="1080" id="1" mimeType="video/mp4" width="1920">
<BaseURL>car-20120827-89.mp4</BaseURL>
<SegmentBase indexRange="674-1149">
<Initialization range="0-673" />
</SegmentBase>
</Representation>
There is only one segment in this representation containing the entire video clip in a single file. (the file size is about 90mb).
Initialization Range mentions 0-673. So from the 0th byte of the file to the 673rd byte of the file contains the initialization segment for the video. Is my understanding right?
If so, the file is about 90mb. How does one get the other segments by byte range? SegmentBase only mentions the indexRange 674-1149.
BTW, I am using this player to understand the segmentindex.
Looking at the header request sent using Chrome's inspect tool, there is a lot of request happening in small byte ranges but I am not sure how does one get these byte ranges from the MPD.
Thanks