NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 93 94 95 96 97 … 433 Next »
Problem with back-to-back recordings with HDHR Prime tuner on different channels

Problem with back-to-back recordings with HDHR Prime tuner on different channels
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#11
2017-02-27, 04:55 AM
Looking at the NRecord.log, I think that I may have figured out what the problem is. I'm guessing that when NextPVR has a tuner locked, tuned to a channel and streaming from that channel to a port, then changes the tuner to a different channel and directs streaming to a different port, it is presuming that the HDHR will stop streaming to the first port. But, (again still guessing at this point) the HDHR is actually streaming the newly tuned channel to BOTH ports. I just checked the HDHR's log and here's what it shows:
Code:
20170227-03:53:55 Tuner: tuner0 tuning 804 WCCO HD (auto:237MHz-1)
20170227-03:53:56 CableCARD: tuner0 804 WCCO HD (auto:237MHz-1) access = subscribed
20170227-03:53:57 Tuner: tuner0 streaming rtp to 192.168.143.10:36312
20170227-03:59:59 Tuner: tuner0 tuning 825 USA HD (auto:159MHz-9)
20170227-03:59:59 Tuner: tuner0 streaming rtp to 192.168.143.10:36313
20170227-04:00:00 CableCARD: tuner0 825 USA HD (auto:159MHz-9) access = subscribed

Since the log file doesn't ever show streaming stopping, it doesn't help a whole lot.

I just setup a new test, and during the overlapping time period, I'll check the network traffic to see if it is indeed going to both ports.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#12
2017-02-27, 05:12 AM (This post was last modified: 2017-04-22, 02:07 PM by BrettB.)
BrettB Wrote:I just setup a new test, and during the overlapping time period, I'll check the network traffic to see if it is indeed going to both ports.

Well that test showed that after the channel change, NRecord was only listening on the new UDP port. So my guess was wrong. Here's an updated set of logs which shows the 2nd test.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#13
2017-02-27, 05:56 AM
Hopefully this patch will stop the original recording at the time it switches over.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#14
2017-03-02, 01:37 PM (This post was last modified: 2017-04-22, 02:07 PM by BrettB.)
sub Wrote:Hopefully this patch will stop the original recording at the time it switches over.

Thanks for looking into this problem, sub. Unfortunately, it doesn't appear that this fix is quite right. I just got a chance to put it in to test. See the attached logs. I started a recording of WCCO 4 News at 6:57am (it was scheduled until 7:00am) on channel 804. Then scheduled Bad Dog! (starting at 7:00am) on channel 818. At 6:59, the 2nd recording did start trying to do the pre-padding as expected. And waited until 7:00am to force allocating the tuner. The NRecord.log does now show
Code:
2017-03-02 07:00:00.289    [DEBUG][10]    Stopping stream from previous frequency: 1
And, the file for WCCO 4 News did stop growing at 7:00am when the file for Bad Dog! started. So, that all looked good. Smile

But then when I went to test playing the file for WCCO 4 News in NextPVR, it is showing a timeline duration of 00:07:50. It plays until 00:02:49 and then returns to the recording list. And the recording list indicates that it went until 7:05am. (I'm fairly sure that for other recordings where the pre- or post-padding couldn't be honored, the recording list is showing the actual start/end time for the recording without the pre- and/or post-padding time.)

Here's a link where you can download the .ts file from the WCCO 4 News recording: https://bowmantech-my.sharepoint.com/per...YibPNiBRn4

UPDATE: I extracted the timing.info file from the WCCO 4 recording (included in the new logs.zip). It didn't seem to go on until 07:50. So I tried playing it in the Native NextPVR, and it shows the duration at 02:50. (Updated logs zip should show this play attempt.) So, maybe it is just an issue with the web client (used by my X-NEWA in Kodi) OSD determining the file length.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#15
2017-03-02, 02:30 PM
Quote:So, maybe it is just an issue with the web client (used by my X-NEWA in Kodi) OSD determining the file length.

No it is more than just timing.info and the visual duration. Checking your logs and earlier ones in the thread, the post processing is happening on the first file when the second file stops not when the station changes.

2017-03-02 07:05:00.079 [DEBUG][10] Starting: C:\Users\Public\NPVR\Scripts\PostProcessing.bat "E:\NPVR Recordings2\WCCO 4 News This Morning at 6\WCCO 4 News This Morning at 6_20170302_06000700.ts" 804 193795 1565 "WCCO 4 News This Morning at 6"

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#16
2017-03-04, 02:32 PM
mvallevand Wrote:No it is more than just timing.info and the visual duration. Checking your logs and earlier ones in the thread, the post processing is happening on the first file when the second file stops not when the station changes.

Thoughts, sub?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#17
2017-03-04, 06:59 PM
I think I know what's going on, and I'll have another go at fixing it, but it'll have to wait a few days - my home office, and development machine are currently dismantled while I'm redecorating the room.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#18
2017-03-18, 03:16 PM
sub Wrote:I think I know what's going on, and I'll have another go at fixing it, but it'll have to wait a few days - my home office, and development machine are currently dismantled while I'm redecorating the room.

Hey, sub. How's the redecorating coming along?
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#19
2017-04-01, 02:52 PM
BrettB Wrote:Hey, sub. How's the redecorating coming along?

Any progress on this problem, sub?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#20
2017-04-03, 04:44 AM
I'm not able to provide you a patch for this, but I'm fairly confident I have resolved it for the next release.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  decoder issue? some channels don't play Donsch 10 5,153 2023-12-04, 10:19 PM
Last Post: turkeypets
  Failed recordings won't delete Spid4567 3 2,453 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  Unable to access tuner after hibernation bm_00 1 1,223 2022-12-12, 02:00 PM
Last Post: mvallevand
  Tuner not being released when live TV stopped on Kodi dark_half 7 2,830 2022-06-12, 11:59 PM
Last Post: sub
  All my recordings start 90 sec early ncsercs 2 1,357 2022-03-19, 03:28 AM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,690 2022-01-03, 04:45 AM
Last Post: mvallevand
  double channels MaxOne72 2 1,311 2021-08-15, 05:22 AM
Last Post: MaxOne72
  NPVR4 and MPC-HC problem The Solutor 29 7,150 2021-07-27, 03:45 PM
Last Post: The Solutor
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,119 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,488 2021-03-21, 11:21 PM
Last Post: careads

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

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

Linear Mode
Threaded Mode