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 … 56 57 58 59 60 … 100 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: 52,768
Threads: 954
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: 106,626
Threads: 767
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: 106,626
Threads: 767
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: 52,768
Threads: 954
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: 106,626
Threads: 767
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: 52,768
Threads: 954
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: 52,768
Threads: 954
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
  Problem with encrypted channels achim_m 0 61 2025-05-03, 03:34 PM
Last Post: achim_m
  Failed: Recording interrupted jzk 3 279 2025-04-18, 09:06 PM
Last Post: mvallevand
  Unable to delete recording. File may be in use. seattlefog 24 652 2025-04-13, 01:08 AM
Last Post: sub
  Directory not deleted after recording deleted Bobins 13 689 2025-03-08, 05:30 PM
Last Post: sub
  Recording IPTV lemmy999 8 487 2025-03-02, 06:13 PM
Last Post: lemmy999
  Temporarily Suspend Recording andrewj 1 164 2025-02-25, 12:44 PM
Last Post: mvallevand
  Series recording doesn't have cancel series markn62 9 2,200 2025-02-22, 09:24 PM
Last Post: jcole998
  Recording ken_dearden 8 585 2025-02-20, 12:22 PM
Last Post: ken_dearden
  Not recording new episo qttor 7 386 2025-02-17, 10:54 PM
Last Post: mvallevand
  Channel lock issue during recording erik123 1 167 2025-02-08, 03:35 AM
Last Post: BrettB

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

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

Linear Mode
Threaded Mode