kokutele / ll-dash-server

low latency dash server utilizing ffmpeg
5 stars 4 forks source link

low latency のスクリーンショット #7

Closed KensakuKOMATSU closed 2 years ago

KensakuKOMATSU commented 2 years ago

image

KensakuKOMATSU commented 2 years ago

mpd in low latency mode

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="urn:mpeg:dash:schema:mpd:2011"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
    profiles="urn:mpeg:dash:profile:isoff-live:2011"
    type="dynamic"
    minimumUpdatePeriod="PT500S"
    availabilityStartTime="2021-11-29T01:58:09.622Z"
    publishTime="2021-11-29T02:07:17.640Z"
    timeShiftBufferDepth="PT1M0.0S"
    maxSegmentDuration="PT4.0S"
    minBufferTime="PT4.0S">
    <ProgramInformation>
    </ProgramInformation>
    <ServiceDescription id="0">
    </ServiceDescription>
    <Period id="0" start="PT0.0S">
        <AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="640" maxHeight="360" par="16:9">
            <Resync dT="1000000" type="0"/>
            <Representation id="0" mimeType="video/mp4" codecs="avc1.42c01e" bandwidth="500000" width="640" height="360" sar="1:1">
                <ProducerReferenceTime id="0" inband="true" type="captured" wallClockTime="2021-11-29T01:58:09.624Z" presentationTime="0">
                    <UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
                </ProducerReferenceTime>
                <Resync dT="4000000" type="1"/>
                <SegmentTemplate timescale="1000000" duration="4000000" availabilityTimeOffset="3.000" availabilityTimeComplete="false" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1">
                </SegmentTemplate>
            </Representation>
            <Representation id="1" mimeType="video/mp4" codecs="avc1.42c00d" bandwidth="413166" width="320" height="180" sar="1:1">
                <ProducerReferenceTime id="1" inband="true" type="captured" wallClockTime="2021-11-29T01:58:09.645Z" presentationTime="0">
                    <UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
                </ProducerReferenceTime>
                <Resync dT="4000000" type="1"/>
                <SegmentTemplate timescale="1000000" duration="4000000" availabilityTimeOffset="3.000" availabilityTimeComplete="false" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1">
                </SegmentTemplate>
            </Representation>
        </AdaptationSet>
        <AdaptationSet id="1" contentType="audio" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true">
            <Resync dT="1000000" type="0"/>
            <Representation id="2" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audioSamplingRate="44100">
                <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
                <ProducerReferenceTime id="2" inband="true" type="captured" wallClockTime="2021-11-29T01:58:09.622Z" presentationTime="0">
                    <UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
                </ProducerReferenceTime>
                <Resync dT="23220" type="1"/>
                <SegmentTemplate timescale="1000000" duration="4000000" availabilityTimeOffset="3.000" availabilityTimeComplete="false" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="1">
                </SegmentTemplate>
            </Representation>
        </AdaptationSet>
    </Period>
    <UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
</MPD>
KensakuKOMATSU commented 2 years ago

mpd in regular mode

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="urn:mpeg:dash:schema:mpd:2011"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
    profiles="urn:mpeg:dash:profile:isoff-live:2011"
    type="dynamic"
    minimumUpdatePeriod="PT4S"
    suggestedPresentationDelay="PT4S"
    availabilityStartTime="2021-11-29T02:59:49.829Z"
    publishTime="2021-11-29T03:01:57.853Z"
    timeShiftBufferDepth="PT1M0.0S"
    maxSegmentDuration="PT4.0S"
    minBufferTime="PT8.0S">
    <ProgramInformation>
    </ProgramInformation>
    <ServiceDescription id="0">
    </ServiceDescription>
    <Period id="0" start="PT0.0S">
        <AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="30/1" maxWidth="640" maxHeight="360" par="16:9">
            <Representation id="0" mimeType="video/mp4" codecs="avc1.42c01e" bandwidth="500000" width="640" height="360" sar="1:1">
                <SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="18">
                    <SegmentTimeline>
                        <S t="1044480" d="61440" r="14" />
                    </SegmentTimeline>
                </SegmentTemplate>
            </Representation>
            <Representation id="1" mimeType="video/mp4" codecs="avc1.42c00d" bandwidth="251594" width="320" height="180" sar="1:1">
                <SegmentTemplate timescale="15360" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="17">
                    <SegmentTimeline>
                        <S t="983040" d="61440" r="14" />
                    </SegmentTimeline>
                </SegmentTemplate>
            </Representation>
        </AdaptationSet>
        <AdaptationSet id="1" contentType="audio" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true">
            <Representation id="2" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audioSamplingRate="44100">
                <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
                <SegmentTemplate timescale="44100" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startNumber="18">
                    <SegmentTimeline>
                        <S t="2999275" d="176128" />
                        <S d="177152" />
                        <S d="176128" r="2" />
                        <S d="177152" />
                        <S d="176128" r="2" />
                        <S d="177152" />
                        <S d="176128" r="2" />
                        <S d="177152" />
                        <S d="176128" />
                    </SegmentTimeline>
                </SegmentTemplate>
            </Representation>
        </AdaptationSet>
    </Period>
    <UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-xsdate:2014" value="https://time.akamai.com/?iso"/>
</MPD>