Kodi Community Forum
v17 Live TV not buffering, just cutting out. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: IPTV Simple Client (https://forum.kodi.tv/forumdisplay.php?fid=215)
+---- Thread: v17 Live TV not buffering, just cutting out. (/showthread.php?tid=318062)



Live TV not buffering, just cutting out. - ciano1993 - 2017-07-11

Hi,

New to Kodi 17 but I am having an issue watching live TV using IPTV Simple Client.

I can watch a stream Live TV for anywhere between 5-50 minutes before the stream freezes completely, displays the buffering logo (stuck on the number 0) for about 2 minutes then cuts out of the stream and returns to the menu. I can then open the Live TV stream straight away and it will play perfectly until it cuts off again.

My setup is Kodi 17 on a laptop running Ubuntu with 3GB of RAM.

What I have tried so far:
- Switching to Google DNS 8.8.8.8.
- Disabling VDAPU and VAAPI from Video settings within Kodi.
- I have tried a number of different settings in my advancedsettings.xml file. Currently it looks like this:

Code:
<advancedsettings>
     <cache>
          <buffermode>1</buffermode>
          <memorysize>139460608</memorysize>
          <readfactor>40</readfactor>
     </cache>
     <network>
          <curlclienttimeout>30</curlclienttimeout>
          <disableipv6>true</disableipv6>
          <curllowspeedtime>40</curllowspeedtime>
      </network>
</advancedsettings>

I know/think this has something to do with my internet connection. When I connect the laptop to my phone hotspot I do not have this problem and the stream doesn't cut out. My home broadband (which leads to the freeze) has speeds varying between 7-30 mb. The annoying thing is the stream never lags, it just reaches a point and crashes.

Here is a log which includes when the problem happened:

https://paste.ee/p/VccpW

Any help would be great..


RE: Live TV not buffering, just cutting out. - ciano1993 - 2017-07-14

Anyone have any ideas?


RE: Live TV not buffering, just cutting out. - trogggy - 2017-07-14

You need to reproduce the problem with a full debug log, no banned addons installed and a legit stream (sky sports won't be one as I'm sure you're aware) to get help here. Or ask somewhere else. Them's the rules.


RE: Live TV not buffering, just cutting out. - ciano1993 - 2017-07-15

(2017-07-14, 14:17)trogggy Wrote: You need to reproduce the problem with a full debug log, no banned addons installed and a legit stream (sky sports won't be one as I'm sure you're aware) to get help here. Or ask somewhere else. Them's the rules.

Cool but which is the banned addon?


RE: Live TV not buffering, just cutting out. - User 272336 - 2017-07-15

There is the list of banned addons (wiki).
Keep in mind that any repo or add-on that claims and tries to stream copyrighted material that is intended for a pay subscriber without the provider's approval falls in that category.
In other words, if you are watching something for free that requires some kind of subscription, you are most likely using one of the banned addons (wiki).


RE: Live TV not buffering, just cutting out. - ciano1993 - 2017-07-16

Thanks for the help, I made a new thread which should be following the rules. I thought I could delete this thread but I do not have the correct permissions. It is basically a duplicate now tho so feel free to remove :/


RE: Live TV not buffering, just cutting out. - ciano1993 - 2017-07-16

Ok my other thread got removed for duplication, I updated this one so it should be following forum rules now..


RE: Live TV not buffering, just cutting out. - Karellen - 2017-07-16

Thanks ciano1993 Smile


RE: Live TV not buffering, just cutting out. - ciano1993 - 2017-07-18

So from what I can tell the error causing the stream to freeze is:

CCurlFile::FillBuffer - Failed: Timeout was reached(28)
WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
DEBUG: CFileCache:Tonguerocess - Source read returned a fatal error! Will wait for buffer to empty.

I have tried adjusting my advancedsetting.xml again but I am still getting the error. My advancedsettings.xml now looks like this:

Code:
<advancedsettings>
  <cache>
    <buffermode>1</buffermode>
    <memorysize>456204</memorysize>
    <readfactor>1</readfactor>
  </cache>

  <network>
    <curlclienttimeout>20</curlclienttimeout>
    <disableipv6>true</disableipv6>
    <curllowspeedtime>50</curllowspeedtime>
    <curlretries>4</curlretries>
  </network>

</advancedsettings>

It seems to be be a network issue because like I said the error does not occur when I stream from my phone.

I have read Ccurl is a third party library, I don't even think updating or perhaps trying an older version could solve it since I do not get the error when streaming from my phone hotspot.

Apart from changing the network settings on my laptop to use Google DNS for my home router I am not sure what else to try here :/ I have also set my hard drive to not go on standby but it did not solve the problem either.

Would there be anything I could try from the video hardware acceleration settings? I have seen other solve the same problem I am having by enabling MediaCodec(surface) and disabling MediaCodec but unfortunately these setting are only on android.
Currently I have 2 options instead.
- Allow hardware acceleration - VDAPU
- Allow hardware acceleration - VAAPI

Any ideas at all I am willing to try Smile


RE: Live TV not buffering, just cutting out. - ciano1993 - 2017-07-24

Getting desperate, even tried resetting my router. Still no luck :/


RE: Live TV not buffering, just cutting out. - b0mb4rd - 2017-09-19

I have the same issue, did you find a solution? thx


RE: Live TV not buffering, just cutting out. - b0mb4rd - 2017-09-21

IPTV streams stop after 2 to 5 min. It shows 0 in the center of the screen just like buffering, and then freezes and closes the stream.
I searched the web and there are many posts about similar issue but I've found no solution.
Anyone?


RE: Live TV not buffering, just cutting out. - b0mb4rd - 2017-09-23

Here is the log until it stops
13:21:31.703 T:123145547046912 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
13:21:32.637 T:123145546510336 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
13:21:34.164 T:123145546510336 WARNING: Previous line repeats 2 times.
13:21:34.164 T:123145546510336 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
13:21:41.005 T:123145547046912 ERROR: CVideoPlayerAudio:Big GrinecodeFrame - Decode Error. Skipping audio packet (-1094995529)
13:22:05.803 T:123145546510336 ERROR: Previous line repeats 31 times.
13:22:05.804 T:123145546510336 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
13:22:26.448 T:123145547046912 ERROR: CVideoPlayerAudio:Big GrinecodeFrame - Decode Error. Skipping audio packet (-1094995529)
13:22:28.726 T:123145546510336 ERROR: Previous line repeats 2 times.
13:22:28.726 T:123145546510336 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
13:22:50.383 T:123145547046912 WARNING: Previous line repeats 1 times.
13:22:50.383 T:123145547046912 ERROR: CVideoPlayerAudio:Big GrinecodeFrame - Decode Error. Skipping audio packet (-1094995529)
13:22:58.567 T:140737093825472 ERROR: Previous line repeats 2 times.
13:22:58.567 T:140737093825472 NOTICE: NFS is idle. Closing the remaining connections.
13:23:04.590 T:123145547046912 ERROR: CVideoPlayerAudio:Big GrinecodeFrame - Decode Error. Skipping audio packet (-1094995529)
13:25:13.784 T:123145546510336 ERROR: Previous line repeats 42 times.
13:25:13.784 T:123145546510336 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
13:25:52.468 T:123145547046912 NOTICE: CVideoPlayerAudio:Tonguerocess - stream stalled
13:26:24.452 T:123145545437184 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
13:26:55.555 T:123145553485824 WARNING: DARWINOSX: underflow (2920 vs 4096 bytes)
13:26:55.565 T:123145553485824 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)

Kodi v17.4 by the way.
Any good idea?


RE: Live TV not buffering, just cutting out. - lu pa - 2018-03-29

Same problem here with RT and Youtube addons ... any solution?

I'm using kodi 17.6 over Ubuntu Linux.


RE: Live TV not buffering, just cutting out. - b0mb4rd - 2018-03-30

Not happening on my xbox leia version, so I guess something is flawed with 17.