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 … 62 63 64 65 66 … 106 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
Offline

Posting Freak

Ontario Canada
Posts: 54,095
Threads: 967
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: 107,181
Threads: 773
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: 107,181
Threads: 773
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
Offline

Posting Freak

Ontario Canada
Posts: 54,095
Threads: 967
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: 107,181
Threads: 773
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
Offline

Posting Freak

Ontario Canada
Posts: 54,095
Threads: 967
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
Offline

Posting Freak

Ontario Canada
Posts: 54,095
Threads: 967
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
  Issue with screen readers trying to schedule a recording Stavros 9 87 6 hours ago
Last Post: Stavros
  No LiveTV or Recording on one channel only cher 2 250 2025-10-07, 10:21 AM
Last Post: cher
  NextPVR can't update EPG while recording a program cc58 4 350 2025-10-02, 03:50 PM
Last Post: cc58
  Show not recording when title contains \t tab character scoobyjam 5 453 2025-10-02, 02:06 AM
Last Post: mvallevand
  Recording stuck in loop Gmjh 17 1,429 2025-08-31, 09:25 PM
Last Post: Gmjh
  Externally generated SRT subtitles for DVB recording not displayed hmc 12 1,374 2025-08-17, 09:03 AM
Last Post: hmc
  New Installation on WIN11 Sleep Problem 12vibes 3 577 2025-07-09, 03:57 PM
Last Post: 12vibes
  Login problem Magda 1 427 2025-07-07, 12:40 PM
Last Post: mvallevand
  Issues watching one channel, new problem Ricknextpvr 21 1,870 2025-07-04, 02:32 AM
Last Post: mvallevand
  Recording Glitches - Debug Advice? andrewj 7 977 2025-06-23, 08:19 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