Dash-Industry-Forum / DASH-IF-IOP

DASH-IF Interoperability Points issue tracker and document source code
31 stars 7 forks source link

Can SegmentTemplate @duration be a non-integer? #404

Closed joeyparrish closed 2 years ago

joeyparrish commented 3 years ago

In this sample: https://dash.akamaized.net/akamai/bbb_30fps/bbb_with_multiple_tiled_thumbnails.mpd

We found this snippet:

  <AdaptationSet id="3" mimeType="image/jpeg" contentType="image">
    <SegmentTemplate media="$RepresentationID$/tile_$Number$.jpg"
        duration="634.566" startNumber="1"/>

Is this sample of out conformance to the spec for having a non-integer duration attribute (634.566)? Should the content be fixed to use something like duration="634566" timescale="1000" instead? Or should players always assume that duration could be a non-integer?

Thanks!

ojw28 commented 3 years ago

The DASH specification defines duration to be of type xs:unsignedInt, so I think the example violates the spec.

haudiobe commented 2 years ago

The answer from @ojw28 is correct. Thanks