Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alex-rsk opened this issue Sep 5, 2024 · 0 comments
Open

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

alex-rsk opened this issue Sep 5, 2024 · 0 comments

Comments

@alex-rsk
Copy link

alex-rsk commented Sep 5, 2024

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>
@alex-rsk alex-rsk changed the title Conformance tool warning: no duration, but SegmentTemplate exists Conformance tool warning: no duration, but SegmentTimeline exists Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant