Stream not starting after update to Krypton - no SPS

Hi there,

first of all congratulations to the Krypton Update. I really like the new look and feel!

There is just one bit which stopped working after the update for my setup:
I have osmc installed on a pi 3 modelB used as htpc.

I have been using online stream provided by official german tv stations for a while with version 16 working flawlessly. After the Upgrade to 17 though, some streams stopped working. Others take minutes to start. This seems to be connected to some issues with ffmpeg, according to the log…

In the log-file (see below) I tried to start a live-TV stream provided by the official german broadcating company ZDF:
ZDF live-stream link

This action is indicated by the log file at the following position:
18:43:59.552 T:1958457344 NOTICE: VideoPlayer: Opening: https://zdf1314-lh.akamaihd.net/i/de13_v1@392877/master.m3u8?dw=0

After starting the stream ffmpeg apparently has some trouble to find SPS.
Similar problems occur using the ZDF-Mediathek Addon from the official repository.

A clean install of the latest OSMC image for the Pi from your download area gives the same result.

Any ideas how to fix this and why it worked with the previous OSMC version (and Kodi 16)?

Cheers, Thomas

Here is my log-file:
Log file

Are the streams mpeg2? Might be worth the low price of purchasing the codec key. Did you try all combinations of enabling/disabling mmal and omxplayer in playback settings?

Hi there and thanks for the quick reply.
As far as I can tell from the log file the stream is of type h264 and therefore as far as I understand the Pi should have this codec onboard, so purchasing the mpeg codec might not help.

18:44:24.707 T:1539306480 ERROR: ffmpeg[5BBFF3F0]: [h264] non-existing PPS 0 referenced

I will try switching through the different decoding options.

Hi there again,

bought the MPEG codec. Tried different combinations of players. No breakthrough though.

But some more information for you to track down what’s wrong.I tried again this morning but waited a bit longer. The stream actually does start, if one is patient.
See this new log:
second log

Here is the line where the stream is started:
05:21:51.219 T:1495516144 DEBUG: opening live stream on url ‘http://zdf1314-lh.akamaihd.net/i/de14_v1@392878/master.m3u8?dw=0

maybe a minute later the stream actually shows up…
The time it takes varies from one to serveral minutes. You can see a second try in the “kodi old log” attached to the log file.

Switching times of minutes are not acceptable for us. So we certainly need some tweaking to use this as htpc.
On our atom pc the stream starts after a few seconds, so I really wonder whats wrong with the pi setup.

  • Can you guys interpret what’s happening during this time?
  • Can you reproduce this behaviour on a pi3 on a plain osmc install by simply opening the stream in kodi?
  • Any ideas what to try next?

Thanks for your help!