|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#241
|
|||
|
|||
Quote:
PS on Comcast Portland the only ones they Copy Protect is NBATV HBO STARZ SHOWTIME ENCORE. Al others are copy freely. Last edited by nyplayer; 07-26-2015 at 07:57 PM. |
#242
|
|||
|
|||
Quote:
In PrimeNetEncoders.properties, I have ffmpeg.delay=2000. Could a different value here make a difference? It seems like even though SageTV can see the tuners, when it's trying to access a tuner there is some kind of timeout that causes SageTV to think that the tuner is no longer accessible; and it appears that PrimeNetEncoder increases the likelihood of that happening. Last edited by jgsouthard; 07-26-2015 at 10:19 PM. |
#243
|
|||
|
|||
Quote:
I have autologon to my server enabled. windows 8.1 pro 64 bit ffmpeg latest 64 bit primencoder properties ffmpeg.delay=1000 sage.properties delay_to_wait_after_tuning=10000 on my prime tuners allow ffmpeg.exe through firewall full access Last edited by nyplayer; 07-27-2015 at 07:23 AM. |
#244
|
|||
|
|||
Quote:
I think I'm tracking pretty close other than that I didn't know about the "delay_to_wait_after_tuning=10000" parameter (mine was on the default 0 for each tuner). I also lowered by ffmpeg.delay to 1000 from 2000 (I've also tried 500 and still got halt errors, though). I've modified the delay_to_wait_after_tuning parameter and I'll do some testing with that. What is the unit for that number? Normally I'd guess it was milliseconds, but 10,000 milliseconds would be 10 seconds, and that seems awfully long. I'd have thought we might want the tuner to wait a second or two. |
#245
|
|||
|
|||
Quote:
|
#246
|
||||
|
||||
I honestly don't think delay_to_wait_after_tuning has any impact on network encoders. Sage doesn't tell the encoders to tune, then wait then tell them to start recording. It simply tells them to START recording from a given channel to a given filename. Any after-tuning delay would be implemented in the network encoder itself, not controlled by sage.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#247
|
|||
|
|||
I'm seeing the same "Halt Detected In Recording" errors with PrimeNetEncoder and HDHomeRun Prime as jgsouthard. Using the same values mentioned as nplayer a few posts ago, except I'm using W7 SP1 Pro 64bit.
It works great but every now an then I get the halt detected message. Sometimes it is just a single event, sometimes more (I've had it show as x21 times once). I turned on verbose debug output and was watching the UI to try and catch it today. Caught a single event when it was doing an favorites record. From the PrimeNetEncoder-tuner0.txt file. You can see about a minute and a half into the recording it halts and restarts: Code:
07/30/2015 17:30:00 - ------------------------------------------------------------------------------- 07/30/2015 17:30:00 - Switching Channel for Tuner: 13182976 0 07/30/2015 17:30:00 - ------------------------------------------------------------------------------- 07/30/2015 17:30:00 - Local IP: 192.168.1.152 07/30/2015 17:30:00 - Listening Port: 6972 07/30/2015 17:30:00 - ffmpeg Transcode Port: 5000 07/30/2015 17:30:00 - Starting transcoder: \\htpc\tv\HowItsMade-S14E06-17148970-0.ts 07/30/2015 17:30:00 - Passing stream to file unaltered 07/30/2015 17:30:01 - Switch channel: 678 07/30/2015 17:30:01 - Send stream to transcoder: 5000 07/30/2015 17:31:24 - ------------------------------------------------------------------------------- 07/30/2015 17:31:24 - Stopping Recording: 13182976 0 07/30/2015 17:31:24 - ------------------------------------------------------------------------------- 07/30/2015 17:31:24 - Stopping the stream: 07/30/2015 17:31:24 - Recording stopped 07/30/2015 17:31:24 - ------------------------------------------------------------------------------- 07/30/2015 17:31:24 - Switching Channel for Tuner: 13182976 0 07/30/2015 17:31:24 - ------------------------------------------------------------------------------- 07/30/2015 17:31:24 - Local IP: 192.168.1.152 07/30/2015 17:31:24 - Listening Port: 6972 07/30/2015 17:31:24 - ffmpeg Transcode Port: 5000 07/30/2015 17:31:24 - Starting transcoder: \\htpc\tv\HowItsMade-S14E06-17148970-1.ts 07/30/2015 17:31:24 - Passing stream to file unaltered 07/30/2015 17:31:25 - Switch channel: 678 07/30/2015 17:31:25 - Send stream to transcoder: 5000 07/30/2015 18:00:00 - ------------------------------------------------------------------------------- 07/30/2015 18:00:00 - Stopping Recording: 13182976 0 07/30/2015 18:00:00 - ------------------------------------------------------------------------------- 07/30/2015 18:00:00 - Stopping the stream: 07/30/2015 18:00:00 - Recording stopped Code:
Thu 7/30 17:31:24.171 [FSManager@15fbf15] Async encoder halt detector found a halt; kick the Seeker so it can restart the device file=MediaFile[id=17209940 A[17148970,1783995,"How It's Made",57390@0730.17:30,30] mask=TV host=HTPC encodedBy=SageDCT-HDHomeRun Prime Tuner 13182976-0 on 127.0.0.1:6972 SCIHD format=MPEG2-TS 0:00:00 0 kbps [] \\htpc\tv\HowItsMade-S14E06-17148970-0.ts, Seg0[Thu 7/30 17:30:00.002-Wed 12/31 18:00:00.000]] size=11061732 Thu 7/30 17:31:24.171 [Seeker@cf1b7c] Seeker awoken Thu 7/30 17:31:24.171 [Seeker@cf1b7c] MemStats: Used=320MB Total=539MB Max=1037MB Thu 7/30 17:31:24.173 [Seeker@cf1b7c] MARK 1 currRecord=null enc=Hauppauge HVR USB2 Video Capture #2 clients=[] ir=false Thu 7/30 17:31:24.173 [Seeker@cf1b7c] Seeker in AUTOMATIC mode nextRecord=A[17130359,3667636,"House",70522@0803.06:00,60] nextTTA=304115827 Thu 7/30 17:31:24.173 [Seeker@cf1b7c] newRecord=null Thu 7/30 17:31:24.173 [Seeker@cf1b7c] NOTHING TO RECORD FOR NOW... Thu 7/30 17:31:24.173 [Seeker@cf1b7c] MARK 1 currRecord=null enc=Hauppauge HVR USB2 Video Capture clients=[] ir=false Thu 7/30 17:31:24.174 [Seeker@cf1b7c] Seeker in AUTOMATIC mode nextRecord=null nextTTA=9223372036854775807 Thu 7/30 17:31:24.174 [Seeker@cf1b7c] newRecord=null Thu 7/30 17:31:24.174 [Seeker@cf1b7c] NOTHING TO RECORD FOR NOW... Thu 7/30 17:31:24.174 [Seeker@cf1b7c] MARK 1 currRecord=A[17148970,1783995,"How It's Made",57390@0730.17:30,30] enc=SageDCT-HDHomeRun Prime Tuner 13182976-0 on 127.0.0.1:6972 clients=[] ir=false Thu 7/30 17:31:24.174 [Seeker@cf1b7c] Seeker in AUTOMATIC mode nextRecord=A[17148983,2059683,"How It's Made",57390@0730.18:00,30] nextTTA=1715827 Thu 7/30 17:31:24.174 [Seeker@cf1b7c] newRecord=A[17148970,1783995,"How It's Made",57390@0730.17:30,30] Thu 7/30 17:31:24.175 [Seeker@cf1b7c] Keeping record just the way it is. Thu 7/30 17:31:24.175 [Seeker@cf1b7c] MARK 1 currRecord=null enc=SageDCT-HDHomeRun Prime Tuner 13182976-2 on 127.0.0.1:6975 clients=[] ir=false Thu 7/30 17:31:24.175 [Seeker@cf1b7c] Seeker in AUTOMATIC mode nextRecord=A[17099261,15940449,"Bones",21252@0730.20:00,60] nextTTA=8915827 Thu 7/30 17:31:24.175 [Seeker@cf1b7c] newRecord=null Thu 7/30 17:31:24.175 [Seeker@cf1b7c] NOTHING TO RECORD FOR NOW... Thu 7/30 17:31:24.175 [Seeker@cf1b7c] MARK 1 currRecord=null enc=SageDCT-HDHomeRun Prime Tuner 13182976-1 on 127.0.0.1:6970 clients=[] ir=false Thu 7/30 17:31:24.176 [Seeker@cf1b7c] Seeker in AUTOMATIC mode nextRecord=A[17133806,17133782,"The Whispers",21251@0803.21:01,59] nextTTA=358175827 Thu 7/30 17:31:24.176 [Seeker@cf1b7c] newRecord=null Thu 7/30 17:31:24.176 [Seeker@cf1b7c] NOTHING TO RECORD FOR NOW... Thu 7/30 17:31:24.177 [Seeker@cf1b7c] RootFile=\\htpc\tv fstype=null fileLength=11061732 file=\\htpc\tv\HowItsMade-S14E06-17148970-0.ts Thu 7/30 17:31:24.178 [Seeker@cf1b7c] Doing pre-emptive file format detection on recording MediaFile....\\htpc\tv\HowItsMade-S14E06-17148970-0.ts Thu 7/30 17:31:24.181 [Seeker@cf1b7c] Using internal format detector first... Thu 7/30 17:31:24.185 [Seeker@cf1b7c] AV Format:Ret:0 Program:1 Duration:4c9f8f5 Format:AV-INF|f=MPEG2-TS;br=2884000;[bf=vid;f=MPEG2-Video;fps=29.970030;fpsn=30000;fpsd=1001;ar=1.777778;arn=16;ard=9;w=1920;h=1080;lace=1;cs=yuv420p;main=yes;tag=0100;pid=256;index=0;];[bf=aud;f=AC3;sr=48000;ch=6;br=384000;main=yes;lang=eng;tag=0101;pid=257;index=1;];(0:0:08.034'533.3) Thu 7/30 17:31:24.185 [Seeker@cf1b7c] File Format Parsed-2a \\htpc\tv\HowItsMade-S14E06-17148970-0.ts=MPEG2-TS 0:00:08 2884 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]] Thu 7/30 17:31:24.189 [Seeker@cf1b7c] File Format Parsed-2b \\htpc\tv\HowItsMade-S14E06-17148970-0.ts=MPEG2-TS 0:00:08 2884 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]] Thu 7/30 17:31:24.190 [Seeker@cf1b7c] SEEKER HAS DETECTED A HALT IN THE ENCODER...TRYING TO RESET IT file=\\htpc\tv\HowItsMade-S14E06-17148970-0.ts size=11061732 Thu 7/30 17:31:24.190 [Seeker@cf1b7c] VF.submitJob(VFJob[InactiveFile r=0.0 t=0 file=null ifn=\\htpc\tv\HowItsMade-S14E06-17148970-0.ts]) Thu 7/30 17:31:24.190 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@11efe57] VF processing job VFJob[InactiveFile r=0.0 t=0 file=null ifn=\\htpc\tv\HowItsMade-S14E06-17148970-0.ts] nPlayin=false Thu 7/30 17:31:24.190 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@11efe57] VF discarding job VFJob[InactiveFile r=0.0 t=0 file=null ifn=\\htpc\tv\HowItsMade-S14E06-17148970-0.ts] Thu 7/30 17:31:24.190 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@11efe57] VF processing job null nPlayin=false Thu 7/30 17:31:24.191 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@11efe57] VF thread is now waiting for 0:00:00.000 Thu 7/30 17:31:24.213 [Seeker@cf1b7c] MediaFile startSegment enc=null MediaFile[id=17209940 A[17148970,1783995,"How It's Made",57390@0730.17:30,30] mask=TV host=HTPC encodedBy=SageDCT-HDHomeRun Prime Tuner 13182976-0 on 127.0.0.1:6972 SCIHD format=MPEG2-TS 0:00:08 2884 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]] \\htpc\tv\HowItsMade-S14E06-17148970-0.ts, Seg0[Thu 7/30 17:30:00.002-Thu 7/30 17:31:24.211]] Thu 7/30 17:31:24.214 [Seeker@cf1b7c] MediaFile created subfile:\\htpc\tv\HowItsMade-S14E06-17148970-1.ts MediaFile[id=17209940 A[17148970,1783995,"How It's Made",57390@0730.17:30,30] mask=TV host=HTPC encodedBy=SageDCT-HDHomeRun Prime Tuner 13182976-0 on 127.0.0.1:6972 SCIHD format=MPEG2-TS 0:00:08 2884 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]] \\htpc\tv\HowItsMade-S14E06-17148970-0.ts, Seg0[Thu 7/30 17:30:00.002-Thu 7/30 17:31:24.211]]
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners |
#248
|
|||
|
|||
Thanks for the update, CptKirk. There's something going on with PrimeNetEncoder that some of us are seeing, but not all (e.g. nyplayer).
I've tried everything suggested by nyplayer and others, and I'm still getting the halts on a regular basis. They are generally NOT right at the beginning of a recording, but more commonly (surprisingly consistently) about 1-5 minutes into the recording. If I have multiple recordings starting at once, the halts will occur on all tuners at about the same time (within a minute or two of each other). This makes me think that the issue is most likely related to system activity or system load, but it also appears that PrimeNetEncoder is somehow more sensitive to it than SageDCT was. With SageDCT I was seeing halts like this maybe once every 2-3 days, and then only a signal quick incident (but I was seeing occasional pixelation or video blips that are totally gone now). So something changed with PrimeNetEncoder, possibly to generate Halts when SageDCT would keep going with pixelation. Right now I'm recording to a separate partition on my primary (single) hard drive in the SageTV server (WD Black, SATA II), so I'm going to try recording onto a separate SATA III drive (also WD Black) to offload some of the system overhead and see if that helps. As an experiment (but a long shot, I think), I'm also going to try inserting a remotely-powered signal booster into the incoming cable line at the demarc box. I'm going through about 14db of signal loss due to splitters between the incoming cable and my HDHomeRun Prime, leaving Signal Strength (as shown in HD Config) in the 84% range (Yellow). But Signal Quality and Symbol Quality are both consistently 100%, so I don't really think that's the problem. But tweaking PrimeNetEncoder and/or SageTV properties hasn't helped at all....
__________________
Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121 Server operating headless with 3 HD300 extenders as clients Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware Comcast cable TV, two cablecards in HDHRP's OpenDCT 0.5.28 network encoder |
#249
|
|||
|
|||
Quote:
See this thread I meant to post it here about scheduled tasks priority. http://forums.sagetv.com/forums/show...2&postcount=55 |
#250
|
|||
|
|||
Checked the task manager and Java is running at normal priority.
The Sage server does an auto-login and then runs a batch file for PNE that is in the startup group. I'm not using scheduler.
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners |
#251
|
|||
|
|||
Quote:
__________________
Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121 Server operating headless with 3 HD300 extenders as clients Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware Comcast cable TV, two cablecards in HDHRP's OpenDCT 0.5.28 network encoder |
#252
|
|||
|
|||
Quote:
I am still having trouble getting PrimeNetEncoder set up on my server. I can add the tuners an do a channel scan, but am getting a number of "weird" channels (like OKC-118). My guess is there is a mapping problem or Sage is somehow not seeing the HDhomerun channel scan. Would really appreciate any help here. Last edited by civerson4; 08-02-2015 at 10:30 AM. Reason: Re-attach Properties file |
#253
|
||||
|
||||
Sage does't use the HDHR's channel scan. It goes off the channel list from the EPG provider.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#254
|
|||
|
|||
Right, but when I do the channel scan in Sage, something is wrong. The HDHR channel scan finds 477 channels. When I do the channel scan in Sage, I get 201 channels--and they are not "real channels" (like OKC-118). I have a feeling I have a single wrong setting somewhere, but I have been the instructions line-by-line multiple times.
Anyone happen to be in Orange County, CA? Cox Cable transitions to all digital and requires a set top box in 4 weeks--and I really don't want to give up on Sage in 4 weeks. Certainly not an expert at this stuff--but I have had Sage running 7-8 years and hope to have another 7+ years. Thanks. |
#255
|
||||
|
||||
It's my understanding that you don't do a channel scan in Sage with this tuner. After following the installation instructions, you select the EPG for your region and go. Don't scan in Sage.
|
#256
|
|||
|
|||
Thanks--but still no go.
I just tried adding the 7001 tuner without a channel scan. Sage adds 6 different tuners (all the same name) and it can't tune a channel. Sceenshot (showing 3 versions of the same tuner attached). |
#257
|
|||
|
|||
Quote:
http://forums.sagetv.com/forums/show...&postcount=176 You have to make sure to add ffmpeg.exe to your firewall. |
#258
|
||||
|
||||
Hey NP, after replacing those lines mentioned in the thread that you linked to, does the user still need to alter the encoding host IP address to match the Sage machine, or is that optional?
|
#259
|
|||
|
|||
You can either use 127.0.0.1 or the host IP your preference. 127.0.0.1 only use if Primeencoder and SageTV Server are running on the same machine.
|
#260
|
|||
|
|||
Thanks for the help trouble shooting--really appreciate it.
I swapped the sage properties info from nyplayer's link and that solved my duplicates issue. I can add each of the 3 tuners (and only see 3 tuners), but still no signal within Sage when I tune a channel. I have sage in service mode (shutting it down before making any property file changes). The Prime Encoder works with the HDHR software. Windows firewall is turned off--but I added ffmpeg.exe as an exception anyway. Any other ideas? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interest in HDHomeRun Prime Network Encoder | jvl711 | Hardware Support | 175 | 04-13-2015 01:11 PM |
Prime Encoder Script | checkbin | SageTV Linux | 14 | 03-22-2015 07:50 AM |
SageTV as a network encoder / recording on network encoder works, not from server | perfessor101 | SageTV Software | 0 | 06-21-2014 05:59 AM |
Ubuntu + HDHomerunPrime + Prime Encoder | matt91 | SageTV Linux | 2 | 03-23-2014 03:46 PM |
HDHomerun Prime? | cenwesi | Hardware Support | 26 | 04-19-2011 05:40 PM |