diff options
author | dirkf <fieldhouse@gmx.net> | 2024-01-27 15:37:08 +0000 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2024-02-02 12:36:05 +0000 |
commit | 4eaeb9b2c680ed097770ce976c3b37a1b05c0800 (patch) | |
tree | 7f466f5ff866964d366378a9817288c3950eda3e /test/testdata/mpd/range_only.mpd | |
parent | bec9180e8904a12c55cfa838b0541879d16bf20f (diff) | |
download | youtube-dl-4eaeb9b2c680ed097770ce976c3b37a1b05c0800.tar.gz youtube-dl-4eaeb9b2c680ed097770ce976c3b37a1b05c0800.tar.xz youtube-dl-4eaeb9b2c680ed097770ce976c3b37a1b05c0800.zip |
[InfoExtractor] Support byte range for DASH
* adapted from https://github.com/ytdl-org/youtube-dl/pull/30279 * thx former GH user kikuyan
Diffstat (limited to 'test/testdata/mpd/range_only.mpd')
-rw-r--r-- | test/testdata/mpd/range_only.mpd | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/testdata/mpd/range_only.mpd b/test/testdata/mpd/range_only.mpd new file mode 100644 index 000000000..e0c2152d1 --- /dev/null +++ b/test/testdata/mpd/range_only.mpd @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<!-- MPD file Generated with GPAC version 1.0.1-revrelease at 2021-11-27T20:53:11.690Z --> +<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H0M30.196S" maxSegmentDuration="PT0H0M10.027S" profiles="urn:mpeg:dash:profile:full:2011"> + <ProgramInformation moreInformationURL="http://gpac.io"> + <Title>manifest.mpd generated by GPAC</Title> + </ProgramInformation> + + <Period duration="PT0H0M30.196S"> + <AdaptationSet segmentAlignment="true" maxWidth="768" maxHeight="432" maxFrameRate="30000/1001" par="16:9" lang="und" startWithSAP="1"> + <Representation id="1" mimeType="video/mp4" codecs="avc1.4D401E" width="768" height="432" frameRate="30000/1001" sar="1:1" bandwidth="526987"> + <BaseURL>video_dashinit.mp4</BaseURL> + <SegmentList timescale="90000" duration="900000"> + <Initialization range="0-881"/> + <SegmentURL mediaRange="882-876094" indexRange="882-925"/> + <SegmentURL mediaRange="876095-1466732" indexRange="876095-876138"/> + <SegmentURL mediaRange="1466733-1953615" indexRange="1466733-1466776"/> + <SegmentURL mediaRange="1953616-1994211" indexRange="1953616-1953659"/> + </SegmentList> + </Representation> + </AdaptationSet> + <AdaptationSet segmentAlignment="true" lang="und" startWithSAP="1"> + <Representation id="2" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" bandwidth="98096"> + <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> + <BaseURL>audio_dashinit.mp4</BaseURL> + <SegmentList timescale="48000" duration="480000"> + <Initialization range="0-752"/> + <SegmentURL mediaRange="753-124129" indexRange="753-796"/> + <SegmentURL mediaRange="124130-250544" indexRange="124130-124173"/> + <SegmentURL mediaRange="250545-374929" indexRange="250545-250588"/> + </SegmentList> + </Representation> + </AdaptationSet> + </Period> +</MPD> + |