NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
1 2 3 4 5 … 109 Next »
Recording Glitches - Debug Advice?

 
  • 0 Vote(s) - 0 Average
Recording Glitches - Debug Advice?
andrewj
Offline

Member

Posts: 108
Threads: 20
Joined: Jan 2007
#1
2025-06-23, 10:35 AM
Hi,

I use NPVR to record mainly HD TV in the UK, using a pair of Hauppage WinTV-dualHD DVB devices. While the recordings are fairly high quality, each typically has a handful of "glitches" where the sound and image are disrupted for about 1s. I have confirmed that the glitches are present in the original MPEG-2 files exported by NPVR, and are not an artefact of the conversion to MP4 although this can make the fault a bit more "obvious".

The glitches occur on all channels, although they are rarer on SD recordings. We rarely if ever see the same issue on live TV, so it's not related to quality or strength of original signal. 

The recording system has a 12-core gen 11 i7 processor with 32GB RAM and is usually lightly loaded at common recording times, so system capacity is unlikely to be an issue. 

The glitches also occurred on my old i7-based system. However in December through January this year I temporarily moved recording to a much older system with a Xeon processor (using the same tuners and signal source), and the frequency of glitches was noticeably much lower. This suggests to me that there might be some oddity specific to the combination of hardware, or other software on the newer system.

What I'd appreciate at this stage is guidance on how to log NPVR and related activity so we can find out what's happening when a glitch occurs, and if NPVR offers any diagnosis of the issue. Unless I'm missing something there are no obvious "log level" settings in the NPVR client or web settings, is that correct?

Thanks
Andrew
andrewj
Offline

Member

Posts: 108
Threads: 20
Joined: Jan 2007
#2
2025-06-23, 10:41 AM
I have rescued my logs for yesterday, and have a sample recording using which I should be able to identify the timing of a glitch. If I can do this I'll share the logs.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,712
Threads: 172
Joined: Jun 2007
#3
2025-06-23, 01:39 PM
(2025-06-23, 10:35 AM)andrewj Wrote: The glitches occur on all channels, although they are rarer on SD recordings. We rarely if ever see the same issue on live TV, so it's not related to quality or strength of original signal. 
When you say "We rarely if ever see the same issue on live TV", do you mean when watching TV on a physical TV or in NPVR via "Watch Live"? There are some internal difference in how live TV vs recordings are viewed in various clients and actually watching live is more complicated than watching a recording. Also, real world evidence has found that the tuners in TVs are typically "more powerful"/better quality/etc. than computer counterparts and they can better handle lower signal strengths and/or small drops than the computer tuners. So, just because an actual TV doesn't have a signal problem doesn't mean that the computer tuner won't have a signal problem.

Your symptoms really do sound like a signal issue. Are there any splitters you can try removing for testing? Do you have an amplifier? Over-amplification can also cause problems.

(2025-06-23, 10:35 AM)andrewj Wrote: The recording system has a 12-core gen 11 i7 processor with 32GB RAM and is usually lightly loaded at common recording times, so system capacity is unlikely to be an issue. 

The glitches also occurred on my old i7-based system. However in December through January this year I temporarily moved recording to a much older system with a Xeon processor (using the same tuners and signal source), and the frequency of glitches was noticeably much lower. This suggests to me that there might be some oddity specific to the combination of hardware, or other software on the newer system.
Because NPVR basically just takes the digital transport stream that it receives and writes it out to disk directly without processing of any sort, the recording process does not need a very powerful system at all. However, one place were some users (myself included in the distant past) have seen "random glitching" in recordings related to PC hardware is when there is heavy disk access on the recording drive. If the drive is being overloaded (typically by other, non-NPVR processes) and having a long write queue, then it seems like some of the TS can get "dropped"--at least with some tuners/connections.

If you can, you might try to do your recordings to a local (not a network) drive which is dedicated to NPVR recording in order to isolate the recording disk activity. (Maybe you already are doing that...)

(2025-06-23, 10:35 AM)andrewj Wrote: What I'd appreciate at this stage is guidance on how to log NPVR and related activity so we can find out what's happening when a glitch occurs, and if NPVR offers any diagnosis of the issue. Unless I'm missing something there are no obvious "log level" settings in the NPVR client or web settings, is that correct?
On the NPVR Settings screen, if you press the Control key, a new button "Enable Verbose" will be displayed. Be careful about turning that on as it will make the logs much busier (and turn over more often resulting in less time covered by the 4 logs in the rotation). I'm also guessing that enabling verbose logging won't really help in your situation since it causes more logging of all the "internal processing" of NPVR, but when it is recording, the digital stream is just being directly written to the disk without any real internal processing.
andrewj
Offline

Member

Posts: 108
Threads: 20
Joined: Jan 2007
#4
2025-06-23, 03:00 PM
Thanks Brett. Re your first point yes, I was comparing live viewing on a (very good) TV vs recording on the PC. Also the odd glitch is not unknown on the TV. The only amplifier is upstream from everything and has separate outputs for each room, but there is a splitter on the PC feed. I can try removing that and running with just one tuner.

Disk bandwidth shouldn't be an issue. Recording runs to a dedicated local SSD.

I'll see if I can track down the moment of a glitch in my saved logs and see if NPVR reports anything useful. Otherwise I'll have to experiment with the signal path.
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,332
Threads: 143
Joined: Sep 2004
#5
2025-06-23, 03:07 PM
My personal experience is that invariably "blips" in a recording are caused by signal quality issues and as BrettB said, TV tuners are much more tolerant of signal issues than PC based tuners.
Aerial splitters / cable joins & damage are notorious for causing signal degradation. Also foliage (e.g.trees) obscuring the aerials line of sight to the transmitter can also be an issue. (Used to cause picture ghosting in the old analogue days but now causes "blips" in the received digital stream).

The NPVR logs won't necessarily show a "blip" in the recording stream however they would give us a clue on signal strength/quality at the point of tuning the channel.

Ray
NPVR Version= 7.0.4.251215
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 54,837
Threads: 982
Joined: May 2006
#6
2025-06-23, 03:15 PM (This post was last modified: 2025-06-23, 03:19 PM by mvallevand.)
If you decide to share a sample only an mpeg-ts (not an mp4 which will amplify any problems) same would. The splitter at the PC will have a negative impact.

If you use the yauiclient you can see some diagnostic information as shown here https://forums.nextpvr.com/showthread.ph...#pid601397 that might give you an idea of your stream quality. Strreams rarely are perfect.

Martin
andrewj
Offline

Member

Posts: 108
Threads: 20
Joined: Jan 2007
#7
2025-06-23, 07:13 PM
Thanks chaps. I've just worked through an example program for which I have the logs.

The error occurs in "Walking with Dinosaurs" at 25'22 and is visible in the .ts file. Recording started 2025-06-22 18:22 (18:25 official start), so the error occurred at about 18:47:22

The Tuner 1 log and NRecord.log both show recording starting & stopping, no specific activity at the error point. Attached for you to have a look and see if you can see anything. 

I have uploaded a copy of the .ts file to https://www.andrewj.com/public/Walking%2...8251915.ts in case that is useful.


Attached Files
.zip   Logs.zip (Size: 410.31 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 54,837
Threads: 982
Joined: May 2006
#8
2025-06-23, 08:19 PM
The file does a few gaps so yeah not much to do to help. The logs would be better if you sent the full logs, nothing in them about the recording, always send the zip file that NextPVR creates for you.

You don have a significant number (300+) of bad scheduled recordings on channels that are no longer in your channels list that you should take time to clean up.

Martin
andrewj
Offline

Member

Posts: 108
Threads: 20
Joined: Jan 2007
#9
2026-01-12, 09:41 AM
Hi,

I hope it's OK to reactivate this thread, but I'm still having the same problem, and therefore the background is still relevant.

I am still having intermittent issues with HD recordings, where the audio and video "glitch" a few times per show. The frequency does vary, but it's rare to get a whole one hour recording without a problem. If we're watching live HD TV on one of the televisions there is no such problem.

I have tried all of the following, but without resolving the issue:
  1. Swapping out the main signal amplifier/splitter for the whole house
  2. Running the antenna connection to the PC in the office with a passive splitter, an active splitter and no splitter (i.e. taking the feed just to the PC and not the office TV)
  3. Changing from two Hauppage USB dual tuners to a single quad PCIE tuner
  4. Upgrading and rebuilding the machine which does the recording. (The new system runs Win11 with an i7-11700 processor and RTX3060 GPU, so we can discount processing power issues)

I don't think it's a signal problem. For a while around the end of 2024 while I was rebuilding the main PC I had to move recording to an old Xeon-based system. During that period we saw few if any problems with the recordings. That setup used exactly the same Hauppage tuners and signal cabling as the other system, so I think we can probably eliminate causes external to the recording system.

In the hope that someone can have a look and see if the cause is evident, I've done a test recording:
* Logs attached
* The .TS file can be downloaded from https://www.andrewj.com/public/Valley%20...9002000.ts
* The recording started at 2026-01-10 18:57:00. Glitches were noted at:
    - 11'03 = 19:08:03
    - 26'01 = 19:23:01
    - 48'22 = 19:45:22

I think I've set full logging. In config.xml I have the following set:
    <LogLevel>DEBUG</LogLevel>
    <ExtendedLogging>true</ExtendedLogging>

If that's not correct, please could someone post exactly what I need in config.xml for full logging, as there doesn't seem to be an unambiguous statement of that.

Thanks in advance
Andrew


Attached Files
.zip   Valley of the Kings logs-20260111-1025.zip (Size: 879.62 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 54,837
Threads: 982
Joined: May 2006
#10
2026-01-12, 02:57 PM
Nothing in config.xml can really help diagnose bad digital recordings when the recording doesn't show any interruptions. Your problem isn't surprising though since TV can have better receivers.

However your logs are a mess because you have at least 192 recurring recording that will fail because the aren't on a valid channel so the logs are full of spam. If you can fix that could help in the future. Do you use Schedules Direct? If not disable it.

I didn't see you even play that recording in NextPVR.exe so which client are you using?

Finally it appears your web server doesn't know how to stream ts files so you link cannot be downloaded with any tools I have. Maybe zip it up.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem viewing or recording video pctc 6 349 2026-02-05, 11:32 PM
Last Post: pctc
  NextPVR IPTV recording - Parts are duplicated in the recording. Buckaragua 8 490 2026-01-20, 01:41 PM
Last Post: Buckaragua
  NextPVR status says device is recording when it is not FrogFan 4 289 2026-01-17, 12:30 AM
Last Post: FrogFan
  Ctrl-k to start recording. jcole998 2 222 2026-01-12, 02:12 PM
Last Post: jcole998
  Issues recording video gsalva 10 659 2026-01-03, 03:49 PM
Last Post: mvallevand
  Can NextPVR import TitanTV .TVPI files to schedule a recording dayvboy 100 23,387 2025-12-18, 06:39 PM
Last Post: mvallevand
  Issue with screen readers trying to schedule a recording Stavros 18 1,356 2025-11-09, 03:02 AM
Last Post: Stavros
  NextPVR can't update EPG while recording a program cc58 5 946 2025-10-28, 12:50 PM
Last Post: JamesAllen
  No LiveTV or Recording on one channel only cher 2 504 2025-10-07, 10:21 AM
Last Post: cher
  Show not recording when title contains \t tab character scoobyjam 5 1,002 2025-10-02, 02:06 AM
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