NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 55 56 57 58 59 … 102 Next »
Live TV stops streaming at 7 minutes

 
  • 0 Vote(s) - 0 Average
Live TV stops streaming at 7 minutes
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#21
2021-07-07, 08:58 PM
Can you add LogDemuxFileOps=1(DWORD) registry setting in HKEY_LOCAL_MACHINE\Software\Wow6432Node\NPVR, reproduce the problem, then post those logs again, along with the extra c:\temp\file.txt
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#22
2021-07-07, 09:01 PM
actually - that was only if you were using nextpvr.exe, so not streaming to kodi.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#23
2021-07-07, 09:04 PM
On the Settings->General page, press the ctrl key, then click the verbose logging button that appears, then reproduce the problem in kodi, then immediately post the logs.
Sepulchre
Offline

Junior Member

Posts: 23
Threads: 2
Joined: Sep 2017
#24
2021-07-07, 10:27 PM (This post was last modified: 2021-07-07, 11:05 PM by Sepulchre.)
Sorry that took a while longer than expected but logs now attached

Hope this helps.


Attached Files
.zip   logs-20210708-0001.zip (Size: 1.45 MB / Downloads: 3)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,119
Threads: 957
Joined: May 2006
#25
2021-07-07, 11:12 PM (This post was last modified: 2021-07-07, 11:21 PM by mvallevand.)
I can duplicate this, but I need many attempts. So here is what I found with verbose logging.

When it works

Code:
2021-07-07 19:00:16.038    [DEBUG][91]    RollingFile.Open(C:\temp\live-CBOT-DT-10472-22.ts) ..
2021-07-07 19:00:16.081    [VERBOSE][91]    Got map helper Global\NPVR-mutex-242598cba805384091e7cb514ae842e6
2021-07-07 19:00:16.084    [DEBUG][91]    File is in live mode
2021-07-07 19:00:16.084    [VERBOSE][91]    <map><stream_length>7630168</stream_length><stream_duration>250</stream_duration><complete>false</complete><live>true</live><files><file><filename>C:\temp\live-CBOT-DT-10472-22.ts</filename><offset>0</offset><start_ms>0</start_ms><end_ms>0</end_ms></file></files></map>
2021-07-07 19:00:16.084    [VERBOSE][91]    About to RenewStream()

When it fails, no "live mode" and I don't get that first verbose map and I do get maps on renew which I don't see on sessions that don't fail.

Code:
2021-07-07 19:02:51.184    [DEBUG][91]    StreamNative@10 (with close monitoring...)
2021-07-07 19:02:51.184    [DEBUG][91]    RollingFile.Open(C:\temp\live-CTS-HD-10472-23.ts) ..
2021-07-07 19:02:51.187    [VERBOSE][91]    Got map helper Global\NPVR-mutex-2a4825178ceda151607e55c89a83f151
2021-07-07 19:02:51.194    [VERBOSE][91]    About to RenewStream()
...
2021-07-07 19:03:52.920    [DEBUG][91]    
<map><stream_length>143631624</stream_length><stream_duration>62859</stream_duration><complete>false</complete><live>true</live><files><file><filename>C:\temp\live-CTS-HD-10472-23-2.ts</filename><offset>139187680</offset><start_ms>61015</start_ms><end_ms>61015</end_ms></file><file><filename>C:\temp\live-CTS-HD-10472-23.ts</filename><offset>0</offset><start_ms>0</start_ms><end_ms>0</end_ms></file></files></map>
2021-07-07 19:03:53.355    [DEBUG][91]    Renewed lease... (7E0017)

If you look at @Sepulchre's log you will see the same thing live mode streams work.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#26
2021-07-07, 11:26 PM
I think it's to do with how slow the source is to start delivering data. I think this can happen if the source takes more than 2 seconds to start delivering some data.
Sepulchre
Offline

Junior Member

Posts: 23
Threads: 2
Joined: Sep 2017
#27
2021-07-07, 11:29 PM
Does that explain why it works fine if I restart the same stream again directly afterwards as that’s the behaviour I’ve seen each time.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#28
2021-07-07, 11:33 PM
Can do, particularly if 'keep digital tuners primed' is ticked, since it's quicker to start after the first time (and wont even need to retune if the last attempt was the same channel).
Sepulchre
Offline

Junior Member

Posts: 23
Threads: 2
Joined: Sep 2017
#29
2021-07-07, 11:45 PM
(2021-07-07, 11:33 PM)sub Wrote: Can do, particularly if 'keep digital tuners primed' is ticked, since it's quicker to start after the first time (and wont even need to retune if the last attempt was the same channel).

Interesting thanks!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,119
Threads: 957
Joined: May 2006
#30
2021-07-08, 12:10 AM
Now that I know to look for the missing "live mode" it makes testing easier and it doesn't seem related to 2 seconds.

2021-07-07 19:57:58.196 [DEBUG][37] Got request [::1]: /live
2021-07-07 19:57:58.197 [DEBUG][37] live tv is possible
2021-07-07 19:57:58.197 [DEBUG][37] http://localhost:54839/stream/start?slip...0472-29.ts
2021-07-07 19:57:58.944 [DEBUG][37] StreamNative@10 (with close monitoring...)
2021-07-07 19:57:58.944 [DEBUG][37] RollingFile.Open(C:\temp\live-CTS-HD-10472-29.ts) ..
2021-07-07 19:57:58.947 [VERBOSE][37] Got map helper Global\NPVR-mutex-e4392c30451d46bce93523b16c514693
2021-07-07 19:57:58.952 [VERBOSE][37] About to RenewStream()

It only took 125ms to tune.

2021-07-07 19:57:58.729 [DEBUG][35] locked=1, present=1, strength=-1500, quality=83 (took 125ms to check)

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  YouTube TV Live Not Working on One TV WilliamJMedina 0 66 2025-07-03, 02:58 PM
Last Post: WilliamJMedina
  Not picking unused tuner to record while watching live tv dlindyds 5 266 2025-06-21, 10:34 PM
Last Post: dlindyds
  Live TV stopping every few minutes Schtele Bunzorz 3 186 2025-06-17, 11:53 PM
Last Post: mvallevand
  Micro stutter live and recorded TV dallascowboy23 10 678 2025-05-31, 06:39 AM
Last Post: three6zerocool
  Streaming Failed (transcoder exited) hamster 3 363 2025-05-18, 03:28 PM
Last Post: mvallevand
  Streaming 4K Marvi 1 321 2025-04-14, 03:21 PM
Last Post: mvallevand
  Cant watch live TV Bobbybear 3 424 2025-03-23, 03:49 PM
Last Post: Bobbybear
  What's the link between Preferred Streaming Profile and config.xml Transcode Profile? aderlopas 5 2,299 2025-03-10, 07:52 AM
Last Post: mmortal03
  Streaming Failed (transcoder exited) jzk 3 407 2025-02-20, 03:26 PM
Last Post: mvallevand
  Streaming failed (transcoder exited) pouzolais 9 739 2025-02-12, 02:49 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode