<Period programDateTime='2021-03-17T07:15:26.239Z' duration='PT1M04.078S'>
<AdaptationSet contentType='video' mimeType='video/mp4' par='16:9' id='7'>
<SegmentList timescale='90000' presentationTimeOffset='4327131510'>
<SegmentTimeline>
<!-- Doesn't work -->
<S t='4327131510' d='2903310' r='1' />
<!-- Uncomment below and remove the above and manifest will work -->
<!-- <S t='4327131510' d='2903310'/>-->
<!-- <S t='4330034820' d='2903310'/>-->
</SegmentTimeline>
</SegmentList>
<Representation id='1280x720' codecs='avc1.4d0029' width='1280' height='720' bandwidth='100000'>
<BaseURL>http://localhost:8000/downloaded/</BaseURL>
<SegmentList>
<Initialization sourceURL='1.m4v' />
<SegmentURL media='1.m4v' />
<SegmentURL media='2.m4v' />
</SegmentList>
</Representation>
</AdaptationSet>
</Period>Dash播放器开始播放清单,但是,它跳过了2.m4v并将视频大小减少到只有第一个片段。但是,如果我删除重复计数字段,并在segmentTimeline中显式指定每个段,那么它就可以正常工作。
这个清单在Shaka player中也工作得很好。
发布于 2021-04-02 07:31:59
你的载货单看起来不对劲。我不认为有时间线的第一段列表应该在那里。我会尝试:
<Period programDateTime='2021-03-17T07:15:26.239Z' duration='PT1M04.078S'>
<AdaptationSet contentType='video' mimeType='video/mp4' par='16:9' id='7'>
<Representation id='1280x720' codecs='avc1.4d0029' width='1280' height='720' bandwidth='100000'>
<BaseURL>http://localhost:8000/downloaded/</BaseURL>
<SegmentList timescale='90000' duration='2903310'>
<Initialization sourceURL='1.m4v' />
<SegmentURL media='1.m4v' />
<SegmentURL media='2.m4v' />
</SegmentList>
</Representation>
</AdaptationSet>
</Period>https://stackoverflow.com/questions/66888262
复制相似问题