NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 15 16 17 18 19 … 34 Next »
Recordings fail

 
  • 0 Vote(s) - 0 Average
Recordings fail
Bstephens
Offline

Junior Member

usa
Posts: 40
Threads: 6
Joined: Feb 2021
#1
2021-12-09, 06:29 PM
After many months of happy service, a few days ago I noticed several recording fails. 

While I was investigating, I was prompted to upgrade to Impish. That failed and now I can only boot ubuntu 20.04.3 in recovery mode.

Nextpvr starts. I can open a channel from a browser and receive a signal after restarting Nextpvr one time. But every subsequent try fails. 

I reloaded the tuner drivers from their PPA. No help. 

Logs attached. 

Bob


Attached Files
.zip   logs-20211209-1153.zip (Size: 806.87 KB / Downloads: 8)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#2
2021-12-09, 06:44 PM (This post was last modified: 2021-12-09, 06:48 PM by mvallevand.)
Are you sure it isn't just a problem with certain channels and not a pattern problem? KTXH and Movies! seem to be failing regularly but others seem ok.

A good check for the signal strength of your existing configuration without a full scan is

dvbv5-scan -a 0 /var/opt/nextpvr/adapter0-ATSC-channels.conf

dvbv5-scan -a 1 /var/opt/nextpvr/adapter1-ATSC-channels.conf


Martin
Bstephens
Offline

Junior Member

usa
Posts: 40
Threads: 6
Joined: Feb 2021
#3
2021-12-09, 09:42 PM
The pattern seems to be:
1. Restart Nextpvr
2. Open a channel stream (any channel that is active, KPRC, Start, etc.) It successfully receives streaming data.
3. Try to open a "problem" channel, like Movies. It times out and fails.
4. After that it will not open any channel even the previously successful ones (KPRC).

I have not had time to confirm that the pattern holds for the Pluto extra, but I will later this evening. If Pluto fails in a similar fashion, I guess that would eliminate a problem with the tuner drivers.
Bob

Bob
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2021-12-09, 09:46 PM
It take a very, very long time to timeout, perhaps you aren't waiting long enough,

Martin
Bstephens
Offline

Junior Member

usa
Posts: 40
Threads: 6
Joined: Feb 2021
#5
2021-12-09, 10:26 PM
Perhaps I am not giving it a lot of time. But scheduled recordings are failing hours later. It surely doesn't take 6 or 8 hours to recover from trying to access a failed tuner channel.

Here's what happens when I test with Pluto in the mix:
1. Open any live Pluto stream. Success.
2. Open an empty Pluto stream. Blank, "starting device, please wait." Naturally. There is nothing there.
3. Open any live Pluto stream. Success again. So far, this is what would be expected.
4. Open any active TV tuner channel. Success.
5. Try to open Movies or one of the failed tuner channels. "Starting device, please wait." Nothing after many minutes.
6. Try to open an active TV channel. Nothing. "Starting device, please wait." Nothing after many minutes.
7. Try to open a previously successful Pluto channel. Nothing. "Starting device, please wait." Nothing after many minutes.

Is something going on with the tuner or drivers that hoses Nextpvr? It only affects the live stream. Recorded streams playback fine.

I will rescan the channels and see if that helps. It ought to at least reduce the failed OTA channels.

Bob
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2021-12-09, 11:06 PM
Ok I’ll take a look. Obviously shouldn’t do that.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#7
2021-12-10, 01:26 AM (This post was last modified: 2021-12-10, 01:27 AM by mvallevand.)
First IMO there is no value introducing the discussion about Pluto without logs to support it.

Second I agree that is an issue on bad stations that sub needs to look at but at the same time, if you know the problem is playing two channels, it starts with the old joke "Doctor, Doctor it hurts when I do this"

Re-scanning ATSC is not recommended if you have bad signals. You will end up with other problems.

These log entries are definitely bad when there is no signal, the device wasn't stopped and for some reason NextPVR creates a writer.

Code:
2021-12-08 22:04:37:417 [DEBUG] status 00 | quality 00 | signal ffff2928 | snr 0000 | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2021-12-08 22:04:37:442 [INFO] Creating writer for: LIVE&/home/stephens/recordings/live-Movies!-82252-2.ts (live mode)
2021-12-08 22:04:37:443 [DEBUG] mutex would be: Global\NPVR-mutex-879c22cc02a4c585d85211fb3c5ae844
2021-12-08 22:04:37:443 [DEBUG] Created shared memory
2021-12-09 11:38:51:132 [DEBUG] Ctrl-C...shutting down

In that time, this resulted in failed recordings.

This is equally bad we just don't know when it was killed.

Code:
2021-12-09 11:50:42:470 [DEBUG] status 00 | quality 00 | signal ffff2540 | snr 0000 | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2021-12-09 11:50:42:495 [INFO] Creating writer for: LIVE&/home/stephens/recordings/live-KTXH-DT-2963-2.ts (live mode)
2021-12-09 11:50:42:496 [DEBUG] mutex would be: Global\NPVR-mutex-e63c6bf49e06deaddb587a2cbb168397
2021-12-09 11:50:42:496 [DEBUG] Created shared memory

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#8
2021-12-10, 01:57 AM
Give this updated DeviceHostLinux file a go, and let me know if helps. Unzip it and replace the existing file of the same name.


Attached Files
.zip   DeviceHostLinux.zip (Size: 254.1 KB / Downloads: 12)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#9
2021-12-10, 10:29 PM
I had back luck yesterday because my stations were all playing ok. I just was able to duplicate the issue and the new behaviour seems to work, it drops out much faster and the tuner is freed up so good job. Hopefully @BStephens will see the same result.

Code:
2021-12-10 17:21:52:359 [DEBUG] waiting for signal lock
2021-12-10 17:21:52:507 [DEBUG] status 01 | quality 00 | signal 5f15 | snr 007d | ber 00000000 | unc 0000007d | pre_ber 00000000 | per 00000000 |
...
2021-12-10 17:21:58:966 [DEBUG] status 01 | quality 00 | signal 5b6d | snr 007d | ber 00000000 | unc 0000007d | pre_ber 00000000 | per 00000000 |
2021-12-10 17:21:59:009 [DEBUG] status 01 | quality 00 | signal 5b6d | snr 007d | ber 00000000 | unc 0000007d | pre_ber 00000000 | per 00000000 |
2021-12-10 17:21:59:034 [ERROR] Failed to start stream

The only thing is I am not sure if the server knows how to deal with this.

Code:
2021-12-10 17:21:59.040    [ERROR][6]    Unexpected error on LocalRecorder.StartStream(): System.Net.WebException: The remote server returned an error: (500) Stream Unavailable.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Net.WebClient.GetWebResponse(WebRequest request)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
   at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2021-12-10 17:21:59.040    [ERROR][6]    Unable to StartStream(): The remote server returned an error: (500) Stream Unavailable.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#10
2021-12-10, 10:43 PM
Yep, those are the error messages I expect to see in nrecord log (which is returned as a failure to start channel). Are you seeing an issue?
« 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
  Direct access to recordings TugboatBill 1 122 2025-05-05, 11:04 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 807 2024-12-20, 03:23 AM
Last Post: ballfam
  Recordings fail, sometimes while playing WagMan 9 542 2024-11-07, 12:46 PM
Last Post: mvallevand
  recordings fail, somtimes while playing WagMan 0 209 2024-11-02, 03:00 AM
Last Post: WagMan
  Random skipping in recordings ballfam 25 2,356 2024-04-29, 07:58 PM
Last Post: ballfam
  Failed Recordings sgar75 13 1,172 2024-04-23, 09:16 PM
Last Post: mvallevand
  failed recordings CDinger 11 1,072 2024-04-21, 03:29 AM
Last Post: CDinger
  No NVENC option in settings/transcoder and subtitles missing from ts recordings AWellesley 6 1,050 2024-03-04, 03:19 PM
Last Post: mvallevand
  upcomings recordings kfmf 9 958 2023-12-21, 08:48 PM
Last Post: mvallevand
  NextPVR i.mjh.nz no audio on some recordings Nzbaxterman 22 2,372 2023-12-20, 11:55 PM
Last Post: Nzbaxterman

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

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

Linear Mode
Threaded Mode