2019-03-10, 04:12 PM
*** Problems with overlapping recordings
About a year ago, I was in this forum reporting a bug where npvr was
creating defective recordings. Although the records could play black
within npvr itself, they could not play using wmplayer. With vlc they
do play, but the time fields were all zero and the hotkeys don't work,
although the progress bar still works.
This bug started happening when I switched from Windows media center
to npvr in 2016. It continued when I switched from a Ceton tuner card
to an HDHomerun. In the last year, there have been several new
versions of npvr, but the problem has not disappeared.
In the last month, I changed from a Windows 7 system to a new computer
running Windows ten, and the problem persisted.
So that eliminated almost all the variables. The bug did not occur
with media center, but it did with npvr in numerous configurations --
ceton vs hdhomerun, Windows 7 vs windows 10.
The only possibility left is that this is a bug in npvr.
During the last month I started looking at specific situations when it
happens and when it doesn't, and this has led me to find exactly what
the bug is in npvr.
Here are two scheduled programs:
21:29:00+0:31: 4 25 REC Fam [Fam.S01E09.Ocean.View.ts]
22:00:00+0:30: 61 25 REC Broad City [Broad.City.S05E07.Shenanigans.ts]
Fam was recorded from 21:29 for 31 minutes on tuner 25, while Broad
City was recorded from 22:00 for 30 minutes on tuner 25. Fam is on
channel 4, and Broad City is on channel 61. So, theoretically, tuner
25 switches from channel 4 to channel 61 at exactly 10 pm.
Here's the NPVR status as of about 30 seconds past 10 pm:
![[Image: npvr-settings-190307b.gif]](http://www.generationaldynamics.com/ww2010/npvr-settings-190307b.gif)
This state of affairs goes on for two minutes.
Notice that BOTH programs are recording, even though they're on
different channels using the same tuner. There is no planet on which
that make sense.
The result is that the meta-data for BOTH recordings is wiped out.
This is the bug that's been occurring for years.
This is due to pre-padding (defaults to one minute) and post-padding
(defaults to two minutes). Pre- and post-padding is a GOOD thing when
you're recording the same channel, but is a BAD thing when you're
changing channels.
To fix this bug in npvr requires a new "overlap algorithm":
This should fix the bug in npvr that creates defective recordings.
I'm providing this information to you in the hope that it will be
useful to you.
Have a nice day!
About a year ago, I was in this forum reporting a bug where npvr was
creating defective recordings. Although the records could play black
within npvr itself, they could not play using wmplayer. With vlc they
do play, but the time fields were all zero and the hotkeys don't work,
although the progress bar still works.
This bug started happening when I switched from Windows media center
to npvr in 2016. It continued when I switched from a Ceton tuner card
to an HDHomerun. In the last year, there have been several new
versions of npvr, but the problem has not disappeared.
In the last month, I changed from a Windows 7 system to a new computer
running Windows ten, and the problem persisted.
So that eliminated almost all the variables. The bug did not occur
with media center, but it did with npvr in numerous configurations --
ceton vs hdhomerun, Windows 7 vs windows 10.
The only possibility left is that this is a bug in npvr.
During the last month I started looking at specific situations when it
happens and when it doesn't, and this has led me to find exactly what
the bug is in npvr.
Here are two scheduled programs:
21:29:00+0:31: 4 25 REC Fam [Fam.S01E09.Ocean.View.ts]
22:00:00+0:30: 61 25 REC Broad City [Broad.City.S05E07.Shenanigans.ts]
Fam was recorded from 21:29 for 31 minutes on tuner 25, while Broad
City was recorded from 22:00 for 30 minutes on tuner 25. Fam is on
channel 4, and Broad City is on channel 61. So, theoretically, tuner
25 switches from channel 4 to channel 61 at exactly 10 pm.
Here's the NPVR status as of about 30 seconds past 10 pm:
![[Image: npvr-settings-190307b.gif]](http://www.generationaldynamics.com/ww2010/npvr-settings-190307b.gif)
This state of affairs goes on for two minutes.
Notice that BOTH programs are recording, even though they're on
different channels using the same tuner. There is no planet on which
that make sense.
The result is that the meta-data for BOTH recordings is wiped out.
This is the bug that's been occurring for years.
This is due to pre-padding (defaults to one minute) and post-padding
(defaults to two minutes). Pre- and post-padding is a GOOD thing when
you're recording the same channel, but is a BAD thing when you're
changing channels.
To fix this bug in npvr requires a new "overlap algorithm":
- If one recording is overlapping the next recording on the same
tuner on the same channel, then overlapping is wonderful.
- But if they're on different channels, then the end time of the
first recording and the start time of the second recording must be
adjusted so that there's a gap of a few seconds between them, to
give the tuner a chance to reset. This has to override the pre-
and post- settings, since it never makes sense to record two
different channels on the same tuner at the same time.
This should fix the bug in npvr that creates defective recordings.
I'm providing this information to you in the hope that it will be
useful to you.
Have a nice day!