<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.5S" type="static" mediaPresentationDuration="PT0H1M0.3S" maxSegmentDuration="PT0H0M2.0S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd">
    <Period start="PT0S"&gt;
        <AdaptationSet mimeType="video/mp4" maxWidth="1280" maxHeight="720" maxFrameRate="30" par="16:9" segmentAlignment="true" startWithSAP="1">
            <Representation id="1" width="1280" height="720" frameRate="30" bandwidth="1200000" codecs="avc1.4D401F">
                <BaseURL>video_1/</BaseURL>
                <SegmentList startNumber="1" duration="2" timescale="90000">
                    <SegmentURL media="file1.mp4"/>
                    <SegmentURL media="file2.mp4"/>
                    <!-- Add more SegmentURL elements for additional segments -->
                </SegmentList>
            </Representation>
        </AdaptationSet>
        <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
            <Representation id="2" audioSamplingRate="48000" bandwidth="128000" codecs="mp4a.40.2">
                <BaseURL>audio_1/</BaseURL>
                <SegmentList startNumber="1" duration="2" timescale="1">
                    <SegmentURL media="audio_file1.mp4"/>
                    <SegmentURL media="audio_file2.mp4"/>
                    <!-- Add more SegmentURL elements for additional audio segments -->
                </SegmentList>
            </Representation>
        </AdaptationSet>
    </Period>
</MPD>

  1. <MPD> 元素

  2. <Period> 元素

  3. <AdaptationSet> 元素视频):

  4. <Representation> 元素视频):

  5. <SegmentList> 元素:

  6. <AdaptationSet> 元素(音频):

  7. <Representation> 元素(音频):

  8. <SegmentList> 元素(音频):

    • startNumberdurationtimescaleSegmentURL 属性的含义与视频的 SegmentList 相似。

原文地址:https://blog.csdn.net/solarsaber/article/details/134670447

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_28114.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注