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 … 68 69 70 71 72 … 112 Next »
Intermittent but persistent truncated-recording problem

 
  • 0 Vote(s) - 0 Average
Intermittent but persistent truncated-recording problem
PeterWeb
Offline

Member

New Zealand
Posts: 51
Threads: 5
Joined: Feb 2020
#1
2021-08-19, 12:21 AM
Hi Martin & Sub,

Setup: Win10/NextPVR  5.1.4.210802 host, Nvidia Shield 2019 w/Kodi Matrix and Next PVR client 8.2.6, fibre internet

After many months of trouble-free recording and viewing, TVNZ's "1 News at 6" recordings started getting randomly truncated about a month ago. I typically view start viewing these about half an hour after they start recording - but the truncation doesn't correspond to that moment, nor is its location consistent when it happens.

Example truncation (will be captured in the attached logs): last night's News was truncated about 42 minutes in - the .ts file is about 530MB compared to the previous night's full 800ish.

Fwiw, I can't be 100% certain but the problem seems to have begun about the time Windows 10 updated itself to v21H1.

I tried a few patches like updated nshared.dll (from other threads) in the right places, then a full upgrade or two, getting to the latest version a couple or three days ago. But the intermittent problem recurred last night.


Attached Files
.zip   logs-20210819-1204.zip (Size: 721.87 KB / Downloads: 3)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,778
Threads: 998
Joined: May 2006
#2
2021-08-19, 01:44 AM
I have concerns about NextPVR forwarding Kodi style urls to ffmpeg sun will need to chech the Matt Huisman urls again

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,511
Threads: 785
Joined: Nov 2003
#3
2021-08-19, 01:46 AM
In the logs it looks like you started watching it in kodi about the 40 minute mark. Kodi used to have an issue where it'd only playback as much as was available when playback started (so about 40 minutes or so). It wasnt this you were seeing?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,511
Threads: 785
Joined: Nov 2003
#4
2021-08-19, 01:47 AM
(2021-08-19, 01:44 AM)mvallevand Wrote: I have concerns about NextPVR forwarding Kodi style urls to ffmpeg sun will need to chech the Matt Huisman urls again
What do you mean? The Matt Huisman urls are just redirects to the official TVNZ etc streams. I'm assuming he's doing this as a method to insulate user's from url changes (so he can just update redirect if TVNZ move it)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,778
Threads: 998
Joined: May 2006
#5
2021-08-19, 01:57 AM (This post was last modified: 2021-08-19, 01:57 AM by mvallevand.)
Look at 17:57:00 in nrecord.log.1 ffmpeg shouldn't be past that.

If the file is short as described I don't see it as a Kodi issue.  There is an attempt to play it after it is stopped but I need Kodi debug logs for Kodi issues

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,511
Threads: 785
Joined: Nov 2003
#6
2021-08-19, 02:04 AM
(2021-08-19, 01:57 AM)mvallevand Wrote: Look at 17:57:00 in nrecord.log.1 ffmpeg shouldn't be past that.
It looks ok from what I can tell. It does re-encode the audio from these stream.

Quote:If the file is short as described I don't see it as a Kodi issue. There is an attempt to play it after it is stopped but I need Kodi debug logs for Kodi issues
No, probably not a kodi issue, but it is an interesting coincidence that the truncated duration they mentioned pretty much matched when the playback started from Kodi.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,778
Threads: 998
Joined: May 2006
#7
2021-08-19, 02:17 AM
I was suggesting if you pass a Kodi url to ffmpeg you should strip it.

Martin
PeterWeb
Offline

Member

New Zealand
Posts: 51
Threads: 5
Joined: Feb 2020
#8
2021-08-19, 02:22 AM (This post was last modified: 2021-08-19, 02:27 AM by PeterWeb. Edit Reason: clarified that PC web browser was connected to NPVR to watch )
[quote pid="559466" dateline="1629338663"]

Quote:If the file is short as described I don't see it as a Kodi issue.  There is an attempt to play it after it is stopped but I need Kodi debug logs for Kodi issues
No, probably not a kodi issue, but it is an interesting coincidence that the truncated duration they mentioned pretty much matched when the playback started from Kodi.
[/quote]

My first theory when it started happening was that it was truncated where I started watching - but I *think* I've seen enough variation in the past month to rule that out. I'll pay very close attention for a few days, just in case.

More's to the point, the file is certainly truncated - I can see that in the TS file, and in VLC and of course I get an end of stream error when, say, checking it (in NPVR's web UI) via the PC's web browser earlier today. It *thinks* it's longer, but it isn't. So, unless Kodi somehow wrongly told NPVR to truncate it at that moment... (which will be in the logs, right?)

If you'd like me to track down Kodi logs from the Shield, I certainly will - but not if it just creates more work for you in an unrelated direction.

Additional system info I didn't mention: I am running ComSkip in parallel processing mode (no changes for at least a year).

Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,778
Threads: 998
Joined: May 2006
#9
2021-08-19, 02:29 AM (This post was last modified: 2021-08-19, 02:29 AM by mvallevand.)
I would turn on verbose logging (ctrl held on NextPVR web setting page) and we can see more of those IPTV: messages that are stripped out.

Martin
PeterWeb
Offline

Member

New Zealand
Posts: 51
Threads: 5
Joined: Feb 2020
#10
2021-08-19, 10:34 PM
(2021-08-19, 02:29 AM)mvallevand Wrote: I would turn on verbose logging (ctrl held on NextPVR web setting page) and we can see more of those IPTV: messages that are stripped out.

Martin

Done. I'll report back with new logs when there's something of interest. It didn't go wrong last night when following my usual recording/watching routine.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  New version problem with playback Rich A 47 4,279 2026-08-30, 12:23 AM
Last Post: Swami
  Problem with scanning SAT channels Escape7 23 9,530 2026-08-02, 05:13 PM
Last Post: mvallevand
  Advanced Recording Scheduling question Bobins 6 680 2026-07-17, 04:14 PM
Last Post: mvallevand
  90 second late recording artmetz 9 918 2026-06-24, 02:15 AM
Last Post: artmetz
  Guide Page Problem Metroid 13 1,332 2026-06-08, 05:53 PM
Last Post: Metroid
  recording one channel causes serviceto crash - sharkbite 7 842 2026-05-29, 01:20 AM
Last Post: mvallevand
  Problem with Live TV in Web client Bobins 4 807 2026-03-31, 06:54 PM
Last Post: Bobins
  Recording did not wake PC wietsevb 1 510 2026-03-21, 02:16 PM
Last Post: mvallevand
  Recording location details - need help modifying TJ23 7 1,342 2026-03-13, 05:53 AM
Last Post: Joram
  [SOLVED] Server hibernates while playing recording with kodi fla 5 2,041 2026-03-06, 10:45 PM
Last Post: fla

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

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

Linear Mode
Threaded Mode