Skip to content

example error: Converting simple addressing to explicit addressing #66

@3052

Description

@3052

http://dashif.org/Guidelines-TimingModel#addressing-simple-to-explicit

the example gives this math which is correct:

SegmentCount = Ceil((900 - (-0.5)) / (4001 / 1000)) = 226

but then it says this:

Set S@r to SegmentCount - 1.

which should be 225, but the following example incorrectly uses 224:

<MPD xmlns="urn:mpeg:dash:schema:mpd:2011">
  <Period duration="PT900S">
    <AdaptationSet>
      <Representation>
        <SegmentTemplate timescale="1000" presentationTimeOffset="900"
            media="video/$Number$.m4s" initialization="video/init.mp4"
            startNumber="800">
          <SegmentTimeline>
            <S t="400" d="4001" r="224" />
          </SegmentTimeline>
        </SegmentTemplate>
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>

this commit broke it:

b500ddb

@sandersaares

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions