Skip to content

Instantly share code, notes, and snippets.

@PyvesB
Last active August 16, 2021 09:13
Show Gist options
  • Save PyvesB/6268d0b625e12f67d26646821993e3df to your computer and use it in GitHub Desktop.
Save PyvesB/6268d0b625e12f67d26646821993e3df to your computer and use it in GitHub Desktop.
Example of DASH manifest, which tells you how to compute the chunk paths
<?xml version="1.0" encoding="utf-8"?>
<MPD
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:mpeg:dash:schema:mpd:2011"
type="dynamic"
availabilityStartTime="1970-01-01T00:01:00Z"
publishTime="2020-11-09T11:21:45.084104Z"
minimumUpdatePeriod="PT8H"
timeShiftBufferDepth="PT2H"
maxSegmentDuration="PT4S"
minBufferTime="PT10S"
profiles="urn:dvb:dash:profile:dvb-dash:2014,urn:dvb:dash:profile:dvb-dash:isoff-ext-live:2014">
<AdaptationSet
id="2"
group="2"
contentType="video"
par="16:9"
maxWidth="1280"
maxHeight="720"
segmentAlignment="true"
sar="1:1"
mimeType="video/mp4"
startWithSAP="1">
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
<Representation
id="pv10"
bandwidth="1604032"
width="960"
height="540"
frameRate="25"
codecs="avc3.4D401F"
scanType="progressive">
<SegmentTemplate
timescale="25"
duration="96"
initialization="v=pv10/b=1604032/segment.init"
media="t=3840/v=pv10/b=1604032/$Number$.m4s">
</SegmentTemplate>
</Representation>
</AdaptationSet>
</Period>
</MPD>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment