v20 stream does not start on "live" - starts 2h behind
#1
I have a problem with a stream. It worked until 2 days ago.
The stream does not start at "live" position, instead it starts 2h behind and I can't skip forward.

Debug-Log: It was to big for paste.kodi.tv 

Here is the (new) manifest of "Das Erste (ARD)":
xml:
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dashConfusedchema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xsiConfusedchemaLocation="urn:mpeg:dashConfusedchema:
mpd:2011 http://standards.iso.org/ittf/PubliclyAv...SH-MPD.xsd" type="dynamic" publishTime="2023-03-04T09:40:38.285Z" minimumUpdate
Period="PT30S" availabilityStartTime="2023-02-27T20:18:23.000Z" minBufferTime="PT6S" suggestedPresentationDelay="PT18S" timeShiftBufferDepth="PT2H0M0S" profiles="urn:hbbt
v:dash:profile:isoff-live:2012,urn:mpeg:dash:profile:isoff-live:2011">
 <Period start="PT0S" duration="PT70H40M33S" id="1">
   <AdaptationSet mimeType="video/mp4" frameRate="50/1" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitchin
g="false">
     <SegmentTemplate timescale="90000" duration="540000" startNumber="1"/>
     <Representation id="1" width="1280" height="720" bandwidth="3200000" codecs="avc1.640020" scanType="progressive">
       <SegmentTemplate duration="540000" startNumber="1" media="manifest_1280x720p50_3500k-$Number$.mp4" initialization="manifest_1280x720p50_3500k-init.mp4"/>
     </Representation>
     <Representation id="2" width="960" height="540" bandwidth="1600000" codecs="avc1.4d401f" scanType="progressive">
       <SegmentTemplate duration="540000" startNumber="1" media="manifest_960x540p50_1800k-$Number$.mp4" initialization="manifest_960x540p50_1800k-init.mp4"/>
     </Representation>
     <Representation id="3" width="640" height="360" bandwidth="1200000" codecs="avc1.4d401f" scanType="progressive">
       <SegmentTemplate duration="540000" startNumber="1" media="manifest_640x360p50_900k-$Number$.mp4" initialization="manifest_640x360p50_900k-init.mp4"/>
     </Representation>
   </AdaptationSet>
   <AdaptationSet mimeType="audio/mp4" lang="de" segmentAlignment="0" startWithSAP="1">
     <SegmentTemplate timescale="48000" media="manifest128k_aac-$Number$.mp4" initialization="manifest128k_aac-init.mp4" duration="288000" startNumber="1"/>
     <Representation id="4" bandwidth="128000" audioSamplingRate="48000" codecs="mp4a.40.2">
       <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
     </Representation>
   </AdaptationSet>
 </Period>
 <Period start="PT70H40M33S" id="2">
   <AdaptationSet mimeType="video/mp4" frameRate="50/1" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitchin
g="false">
     <SegmentTemplate timescale="90000" duration="540000" startNumber="42405"/>
     <Representation id="1" width="1280" height="720" bandwidth="3200000" codecs="avc1.640020" scanType="progressive">
       <SegmentTemplate duration="540000" startNumber="42405" media="manifest_1280x720p50_3500k-$Number$.mp4" initialization="manifest_1280x720p50_3500k-init.mp4"/>
     </Representation>
     <Representation id="2" width="960" height="540" bandwidth="1600000" codecs="avc1.4d401f" scanType="progressive">
       <SegmentTemplate duration="540000" startNumber="42405" media="manifest_960x540p50_1800k-$Number$.mp4" initialization="manifest_960x540p50_1800k-init.mp4"/>
     </Representation>
     <Representation id="3" width="640" height="360" bandwidth="1200000" codecs="avc1.4d401f" scanType="progressive">
       <SegmentTemplate duration="540000" startNumber="42405" media="manifest_640x360p50_900k-$Number$.mp4" initialization="manifest_640x360p50_900k-init.mp4"/>
     </Representation>
   </AdaptationSet>
   <AdaptationSet mimeType="audio/mp4" lang="de" segmentAlignment="0" startWithSAP="1">
     <SegmentTemplate timescale="48000" media="manifest128k_aac-$Number$.mp4" initialization="manifest128k_aac-init.mp4" duration="288000" startNumber="42405"/>
     <Representation id="4" bandwidth="128000" audioSamplingRate="48000" codecs="mp4a.40.2">
       <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
     </Representation>
   </AdaptationSet>
 </Period>
</MPD>

you can compare it to an "old" one, I posted some weeks ago here (ARD - 2h timeshift)

It works as it should in VLC. I know, this is not relevant for Kodi, but I wanted to mention it Wink
Thanks for looking into it.
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#2
Suspect issue is this
https://github.com/xbmc/inputstream.adaptive/issues/574

Which should be fixed with
https://github.com/xbmc/inputstream.adaptive/pull/1176

In the meantime, you could set a large start from value to force Kodi to seek to live (as per the ticket)

Or if stream not encrypted, you could try playback in ffmpeg direct etc
Reply
#3
Thx, I'll try that and wait for the fix to be merged, if I don't get it working.
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply

Logout Mark Read Team Forum Stats Members Help
stream does not start on "live" - starts 2h behind0