mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-07 11:13:41 +02:00
b410c69fb6
Remove the direct profile from UTCTiming element. Per DASH spec, direct profile value should be the time at which the request was made to the server and not the time at which the manifest was written. So ffmpeg cannot write this value. This patch removes the direct profile and write the UTCTiming element with the http profile only if a URL is passed as a parameter. Update the fate test to reflect this change. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
25 lines
1.4 KiB
XML
25 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<MPD
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="urn:mpeg:DASH:schema:MPD:2011"
|
|
xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011"
|
|
type="dynamic"
|
|
minBufferTime="PT1S"
|
|
profiles="urn:mpeg:dash:profile:isoff-live:2011"
|
|
availabilityStartTime=""
|
|
timeShiftBufferDepth="PT7200S"
|
|
minimumUpdatePeriod="PT60S">
|
|
<Period id="0" start="PT0S" >
|
|
<AdaptationSet id="0" mimeType="video/webm" codecs="vp9" bitstreamSwitching="true" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
|
|
<ContentComponent id="1" type="video"/>
|
|
<SegmentTemplate timescale="1000" duration="5000" media="dash_live_video_$RepresentationID$_$Number$.chk" startNumber="1" initialization="dash_live_video_$RepresentationID$.hdr"/>
|
|
<Representation id="360" bandwidth="1000000" width="640" height="360" codecs="vp9" mimeType="video/webm" startsWithSAP="1"></Representation>
|
|
</AdaptationSet>
|
|
<AdaptationSet id="1" mimeType="audio/webm" codecs="vorbis" bitstreamSwitching="true" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
|
|
<ContentComponent id="1" type="audio"/>
|
|
<SegmentTemplate timescale="1000" duration="5000" media="dash_live_audio_$RepresentationID$_$Number$.chk" startNumber="1" initialization="dash_live_audio_$RepresentationID$.hdr"/>
|
|
<Representation id="171" bandwidth="128000" audioSamplingRate="32000" codecs="vorbis" mimeType="audio/webm" startsWithSAP="1"></Representation>
|
|
</AdaptationSet>
|
|
</Period>
|
|
</MPD>
|