Skip to content

Conformance tool warning: no duration, but SegmentTimeline exists #429

@alex-rsk

Description

@alex-rsk

Hello, we are making manifest with Mp4Box, and it, generally, works in current player version, but sometimes it stalls.

I'm trying to find out where's the problem.
I use conformance tool for manifest, and it shows 2 errors

[MPDError #1 If more than one Media Segment is present the duration attribute or SegmentTimeline element shall be present.](https://conformance.dashif.org/Conformance-Frontend/index.html#)

[MPDError #1 If more than one Media Segment is present the duration attribute or SegmentTimeline element shall be present.](https://conformance.dashif.org/Conformance-Frontend/index.html#)

I'm stuck, because in our manifest there are SegmentTimeline elements.
Please appoint what I'm doing wrong

<?xml version="1.0"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="dynamic" availabilityStartTime="2024-09-05T13:19:58.972Z" publishTime="2024-09-05T13:20:19.894Z" minimumUpdatePeriod="PT0H0M2.000S" timeShiftBufferDepth="PT0H1M0.000S" maxSegmentDuration="PT0H0M3.000S" profiles="urn:mpeg:dash:profile:full:2011">
 <ProgramInformation moreInformationURL="https://luuv.com">
  <Title>Mystream</Title>
 </ProgramInformation>

 <Period id="DID1" start="PT0H0M0.000S">
  <AdaptationSet maxWidth="1920" maxHeight="1080" maxFrameRate="25" par="16:9" startWithSAP="1">
   <SegmentTemplate timescale="12800" presentationTimeOffset="1621"/>
   <Representation id="norm_quality" mimeType="video/mp4" codecs="avc1.640028" width="1920" height="1080" frameRate="25" sar="1:1" bandwidth="1795232">
    <SegmentTemplate media="p9eRr28RWY_dash_track1_$Time$_rep1.m4s" initialization="p9eRr28RWY_dash_track1_init_rep1.mp4" timescale="12800" presentationTimeOffset="1536" startNumber="1">
     <SegmentTimeline>
      <S t="1621" d="25600" r="4"/>
      <S t="128000" d="25600" r="9"/>
     </SegmentTimeline>
    </SegmentTemplate>
   </Representation>
   <Representation id="bad_quality" mimeType="video/mp4" codecs="avc1.640015" width="360" height="360" frameRate="25" sar="16:9" bandwidth="100000">
    <SegmentTemplate media="p9eRr28RWY_dash_track1_$Time$_rep2.m4s" initialization="p9eRr28RWY_dash_track1_init_rep2.mp4" timescale="12800" presentationTimeOffset="1536" startNumber="1">
     <SegmentTimeline>
      <S t="1621" d="25600" r="4"/>
      <S t="128000" d="25600"/>
      <S t="164864" d="25600" r="2"/>
      <S d="12800"/>
      <S d="38400"/>
      <S d="25600" r="2"/>
      <S d="12800"/>
     </SegmentTimeline>
    </SegmentTemplate>
   </Representation>
  </AdaptationSet>
 </Period>
 <UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="https://time.akamai.com/?iso&amp;ms"/>
</MPD>

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