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 »
Windows client hanging when playing recording

 
  • 0 Vote(s) - 0 Average
Windows client hanging when playing recording
TGinAZ
Offline

Junior Member

U.S.A.
Posts: 25
Threads: 5
Joined: Sep 2021
#1
2021-09-30, 12:16 PM
I'm running version 5.2.0.210912 on a Windows 10 PC, and I'm having problems watching some (not all) recordings.  The NextPVR client appears to hang in a loop and is totally unresponsive... the only way to continue is killing the app.

I tried opening the TS file with Windows Media Player, and while it doesn't hang, it plays for a couple of minutes and then jumps to near the end of the 30+ minute video.  Obviously suggesting something is wrong with the recording.

This recording, and the others that cause the problem, was created with NextPVR from a SiliconDust HDHomeRun tuner.

Can anyone help fix my problem (the NextPVR recording or playback problem, not all my other issues!)  ;-)

Would it help to have a copy of the logs and/or TS file?
https://drive.google.com/drive/folders/1AoRgv8U0mDn2mTv9Ir4593fQOBL588W5

Thanks in advance!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#2
2021-09-30, 01:07 PM
This seems to be a duplicate post and I even recall sub asking what the tuner source was but I can't find the original

Anyway the video in file I looked at was very corrupt, and it started off ok the expression "Garbage In Garbage Out" comes to mind and you need to get a better antenna to fix the signal. Sometimes sub channel OTA stations run with low power too. Recording quality has nothing to do with NextPVR it just captures the signal as it receives it.

Perhaps if you tried the LAV video decoder it might not hang? Sub might be able to improve NextPVR and not hang, but it won't make the recording watchable.

Looking at the logs the only other explanation would be something is disrupting the UDP broadcast but that seems unlikely. It is not a disk write error since the stream itself is fine.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#3
2021-09-30, 11:55 PM
(2021-09-30, 01:07 PM)mvallevand Wrote: This seems to be a duplicate post and I even recall sub asking what the tuner source was but I can't find the original
I accidentally deleted his post, so asked him to repost - I even supplied the text from the original post.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2021-10-01, 12:07 AM
The bulk of the file is missing. The recording is 00:32:58 long,but only 85MB and big chunks of it a are missing. The first couple of minutes are ok, then it breaks up and resumes late in the recording. It is most likely a reception issue, but possibly something wrong with your network. NextPVR would have recorded everything it received from the device.
TGinAZ
Offline

Junior Member

U.S.A.
Posts: 25
Threads: 5
Joined: Sep 2021
#5
2021-10-03, 12:49 AM
While I can understand acquiring a lousy signal, and yes, that is definitely a possibility, I don't understand how the recording could be corrupt (not smart enough to understand the details). I would have expected the recording to show all sorts of screen blanking, etc. But in this case, the file is bad and crashes the program?

The NextPVR client HANGS! The only way to recover is to have Windows terminate the app... nothing works in the client. If you were to try to play that recording, does your client hang? Opening the TS file with VLC doesn't cause the program to crash.... but it obviously is a lousy file.

Thanks! I'm still trying to figure things out (and not have my wife mad at me as I cut the cord!).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#6
2021-10-03, 12:55 AM
I played it in a NextPVR app for Android and the file did not crash. Did you try it with 32 bit LAV as I suggested?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2021-10-03, 01:04 AM
(2021-10-03, 12:49 AM)TGinAZ Wrote: While I can understand acquiring a lousy signal, and yes, that is definitely a possibility, I don't understand how the recording could be corrupt (not smart enough to understand the details).  I would have expected the recording to show all sorts of screen blanking, etc. 
It might not be clear to how things work behind the scenes. What you describe is more like how analog tv behaved. ie, we'd actually record black frames etc when there are gaps.

With digital, the broadcaster is encoding the audio and video, and we're just writing the data to disk as it arrives. We're not re-encoding the video, so there is no opportunity for us to insert black frames to fill in the gaps etc.

What happens when you're playing it, is that it reads the next frame of video and displays it at the timestamp it says to use. In your case, you're managing to display a few minutes of frames, then eventually the next frame it gets is for display 28 minutes later, so it's sitting there (with previous frame still showing) waiting for that time to show that next frame. In theory it should stay responsive during that period, but with frame frozen on the screen, waiting for the time to display the next frame, but I think that gap is just too damn big, and causes some buffer issues.

I'm intending to use your sample file as test to see if I can improve the situation, which is about all I can really do.

Quote:But in this case, the file is bad and crashes the program?

The NextPVR client HANGS!  The only way to recover is to have Windows terminate the app... nothing works in the client.  If you were to try to play that recording, does your client hang?  Opening the TS file with VLC doesn't cause the program to crash.... but it obviously is a lousy file.
True - ideally it shouldn't hang, and it certainly does try to cope with some of these types of scenarios. Exact behaviour can come down to choice of decoders etc though. Ultimately, if you only receive like 3 minutes of marginal signal over half an hour, you're never going to be happy with the results you're going to get from that channel. NextPVR can't work miracles. Your only real options are either deleting the weak channel, or getting a better antenna.

Also, remember this is a hobby project, written by one guy in his spare time. Yeah, it's not perfect. Pretty good, but not perfect.
TGinAZ
Offline

Junior Member

U.S.A.
Posts: 25
Threads: 5
Joined: Sep 2021
#8
2021-10-03, 02:33 PM
(2021-10-03, 12:55 AM)mvallevand Wrote: I played it in a NextPVR app for Android and the file did not crash.  Did you try it with 32 bit LAV as I suggested?

Martin


Thanks for the suggestion Martin, but I have no idea how to find that setting... please help!


(Here's another issue... I'm not getting emails notifying of new replies in spite of selecting that option when I post.)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#9
2021-10-03, 03:03 PM
I believe the link is in the NextPVR settings but it is here https://github.com/Nevcairiel/LAVFilters/releases You want the 32 bit version even with 64 bit Windows.

Martin
TGinAZ
Offline

Junior Member

U.S.A.
Posts: 25
Threads: 5
Joined: Sep 2021
#10
2021-10-03, 04:14 PM
I won't quote your reply.... after all, it's not that far back! Smile

First, I want to say you show remarkable restraint and politeness in your replies!  Such a contrast from so many developers and on so many forums.  THANK YOU!  Also, your helpful explanations provide insight that I really appreciate.  Again, THANK YOU!

Digital broadcasts... if I understand correctly, while NextPVR might be communicating with my SiliconDust tuner, the data may be corrupt (potentially because of lousy reception). Since using something like HDHomeRun would display garbage on the screen, I just assumed the file on my disk would provide that same level of garbage without messing with your code. Does the timestamp come from the tuner, or is it applied by NextPVR as it writes data to the disk?  It just makes me assume the "envelope" should always be good, but the frame content might be bad.

And if the decoder isn't your code, I can understand that a garbage frame could be the source of a decoder "hang". I didn't see a link in settings for LAV, but I'll check out your link and look again.

Just as an aside... while my antenna is really cheap, it is picking up from repeaters on two mountains, and while most stations come in quite well, there are a few that are problematic.  A neighbor has a very expensive antenna and experiences similar issues with those problem stations.

I totally understand that marginal signals are not something NextPVR can do anything about!  As someone who did code in assembly languages for mini-computers in the 70s, I'm often amazed that programs work as well as they do.  Geeze, in those days we used paper tape and punched cards, and miniscule capacity disks were the size of washing machines.

And yes, I am aware the project is a hobby, and I applaud the efforts. "Pretty good, but not perfect"?  Nah, perhaps not perfect, but I would say EXCELLENT!
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Glitches - Debug Advice? andrewj 7 358 2025-06-23, 08:19 PM
Last Post: mvallevand
  Windows could not start the NextPVR Service service on Local Computer Error 193:0xc1 Jimmyts100 7 5,881 2025-06-18, 06:26 PM
Last Post: jcole998
  Advanced Recording Scheduling question Bobins 7 340 2025-06-17, 12:56 AM
Last Post: mvallevand
  "Recording interrupted" problem started happening sharkbite 8 701 2025-06-02, 08:08 AM
Last Post: sharkbite
  Failed: Recording interrupted jzk 3 504 2025-04-18, 09:06 PM
Last Post: mvallevand
  NPVR Windows recordings folder cleanup.... Colincam 21 3,561 2025-04-16, 07:38 PM
Last Post: mvallevand
  Unable to delete recording. File may be in use. seattlefog 24 1,353 2025-04-13, 01:08 AM
Last Post: sub
Question video skips back when playing yanivf 24 1,469 2025-04-09, 06:29 PM
Last Post: mvallevand
  Windows 24H2 - Can't install Hauppage Drivers Lao Pan 6 1,667 2025-04-04, 04:49 AM
Last Post: seattlefog
  NextPVR client no longer works Rich A 13 1,053 2025-03-30, 10:04 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