NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 13 14 15 16 17 … 43 Next »
IPTV channels freeze within a minute in Kodi

 
  • 0 Vote(s) - 0 Average
IPTV channels freeze within a minute in Kodi
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#1
2018-06-25, 05:05 AM (This post was last modified: 2018-06-25, 06:47 PM by sgilani.)
My IPTV channels work great in the NPVR frontend. In Kodi, many of them freeze up in less than a minute and I eventually get the tuner not available message. Bringing up the buffer stats with Ctrl+Shift+O shows vq/aq pegged at 99 and then fall to 0, as if the stream dried up. Watching in NPVR or VLC is rock steady for hours on end though.

NPVR and Kodi logs attached.

sub, happy to share the IPTV credentials with you as well. Some of the channels work just fine through Kodi, but many others don't. Quite odd, but maybe you could see the difference between them.

running 4.2.2 and Kodi 17.6 stable, issue reproducible on Kodi in Windows, Linux, and RPi.

edit: The regular use case is running Kodi on the same PC as NPVR, so wired/wireless doesn't matter. FWIW, the same symptom exists on all remote RPi clients, both wired and wireless.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#2
2018-06-27, 03:43 AM
Just realized I didn't include a kodi debug log.. whoops.

Full debug log attached. Here's a snippet of what happened when the stream died:

Code:
20:33:36.206 T:140506197636864   DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000
20:33:36.708 T:140506189244160  NOTICE: CVideoPlayerAudio::Process - stream stalled
20:33:37.089 T:140506197636864    INFO: CVideoPlayerVideo - Stillframe detected, switching to forced 25.000000 fps
20:33:37.089 T:140506197636864   DEBUG: CPullupCorrection: pattern lost on diff 200000.000000, number of losses 1
20:33:42.227 T:140506197636864   DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000
20:33:47.622 T:140508674139328    INFO: CheckIdle - Closing session to http://192.168.1.141 (easy=0x7fca20004d80, multi=0x7fca20018d00)
20:33:47.622 T:140508674139328    INFO: CheckIdle - Closing session to http://192.168.1.141 (easy=0x7fca4c125290, multi=0x7fca4c066460)
20:33:48.138 T:140508674139328    INFO: CheckIdle - Closing session to http://192.168.1.141 (easy=0x7fca457f9dd0, multi=0x7fca457e1060)
20:33:48.138 T:140508674139328    INFO: CheckIdle - Closing session to http://192.168.1.141 (easy=0x7fca8c05c8e0, multi=0x7fca8c01aae0)
20:33:55.888 T:140508674139328    INFO: CheckIdle - Closing session to http://192.168.1.141 (easy=0x7fca44031e90, multi=0x7fca4406b750)
20:34:00.431 T:140507319666432   DEBUG: Thread JobWorker 140507319666432 terminating (autodelete)
20:34:00.431 T:140506474465024   DEBUG: Thread JobWorker 140506474465024 terminating (autodelete)
20:34:00.431 T:140508201981696   DEBUG: Thread JobWorker 140508201981696 terminating (autodelete)
20:34:00.432 T:140507329570560   DEBUG: Thread JobWorker 140507329570560 terminating (autodelete)

Anyone have ideas here?
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#3
2018-06-30, 02:40 AM
Can this thread be moved into the Kodi subforum? This is looking more like a Kodi addon issue.

Some more data points: starting a recording and then watching the recording is just fine.. it's only live TV that is problematic. I tried changing the buffering settings in advancedsettings.xml but it didn't make any difference.

sub (or anyone else who has an idea), I'm happy to share credentials if you want to try this on your end. It does seem there's a bug in the Kodi addon but I don't know how to proceed further in debugging.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#4
2018-06-30, 02:52 AM
IPTV data can be very bursty, like receiving 5 seconds of video, then 5 seconds of nothing, then receive another 5 seconds of video, and so on. It's possible Kodi doesn't like this. I'm not well placed to answer any questions about how Kodi behaves when the data arrives in this way though.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#5
2018-06-30, 02:54 AM
If your primary viewing is going to be in Kodi, you're probably better off using .ts streams, rather than .m3u8 streams. A lot of IPTV providers give you the choice of either type, with a slightly different m3u url. The ts are just a continuous stream of data, and not bursty like m3u8 streams.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#6
2018-06-30, 03:02 AM
They're TS streams already, so I was thinking they were "steady" streams already since other players like VLC and mplayer can play them back just fine too. The IPTV provider's own Kodi plugin also streams them fine.. it's only when going through NextPVR that the stream dies like this.

Is NextPVR just writing the TS to disk, or doing something else to it? If there's a way to force it to transcode, I'm willing to give that a try to see if it helps.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#7
2018-06-30, 03:04 AM
sgilani Wrote:Is NextPVR just writing the TS to disk, or doing something else to it?
Its just writing the data to disk as it arrives.

Quote:If there's a way to force it to transcode, I'm willing to give that a try to see if it helps.
No, not with Kodi NextPVR addon. You might be able to using the XNEWA addon for kodi, but it's not something I've tried.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#8
2018-06-30, 03:14 AM
Interesting.. X-NEWA's timeshift playback seems to play the stream fine, and I see that it has a buffer setting. I left it at the default 4000, and I see from the Ctrl-Shift-O OSD that the vq/aq dips to the 70s before coming back up to 99. With the NextPVR addon, the vq/aq starts at 99 and then just falls and never recovers, as if the buffer isn't ever getting re-filled.

Is there a way to make NextPVR buffer the stream a bit more before kicking off playback? Maybe something isn't playing right when the stream isn't adequately buffered on disk as Kodi starts playback.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#9
2018-06-30, 03:25 AM
The NextPVR Kodi addon isn't doing the playback itself. Its just passing the URL to Kodi, and Kodi takes care of the playback and buffering etc.

You could try the recent Kodi 18 builds, which do things a slightly different way.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#10
2018-06-30, 03:58 AM
Just tried out Kodi 18 alpha 2, same issue unfortunately. All of this definitely worked fine in v4.1.0, btw. The problems started after I upgraded to 4.1.1.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Seeking Guidance on Recording Settings for IPTV Channels Gonvir 3 277 2025-04-22, 10:22 PM
Last Post: sub
  Kodi Channel not updating aTF6i 2 404 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 384 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 787 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,181 2025-01-15, 06:32 PM
Last Post: mvallevand
  Suggestions for the KODI Add-on Escape7 38 8,909 2024-12-20, 05:31 AM
Last Post: sub
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 1,043 2024-10-23, 02:11 PM
Last Post: mvallevand
Shocked Only Pulling in "All Channels" membball84 9 954 2024-09-24, 05:04 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,413 2024-09-11, 10:20 PM
Last Post: trongod
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,102 2024-08-06, 10:00 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode