|
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 |
#321
|
|||
|
|||
Because the name is different in your primenetencoder properties file you can name them what you want. You can name them Crapshoot 1 , Crapshoot 2 , Crapshoot 3.
|
#322
|
|||
|
|||
Thanks, that's simple enough.
__________________
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 |
#323
|
|||
|
|||
Hmm, getting no signal when I try to tune a channel with 1.2.2. There must just be something simple that I'm not catching.
Everything was working ok with 1.0.1. Went through the install guide: - updated firewall profiles with the new settings. - got ffmpeg in place, using v2.8 now - got my correct HDHR device ID - updated the PrimeNetEncoder.properties file (corrected tuner 0) - updated sage properties to set network encoders and discovery to true - removed the HDHR tuners from within SageTV. Shutdown SageTV. Then edited the sage properties file to remove all references to HDHR tuners. - no problems encountered when adding the tuner - but after getting the tuner added, can not get anything on the channels. The channels tune and play using the HDHomeRun Setup app. I've attached the files I'm using.
__________________
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 Last edited by CptKirk; 09-17-2015 at 01:13 PM. |
#324
|
|||
|
|||
Firewall settings
On another note just noticed something. The install guide mentions the following for the firewall:
Quote:
Do the 5 thousand values need to match up?
__________________
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 |
#325
|
|||
|
|||
Quote:
Did you see this post. Also read the post after it you can just delete the primnetencoders.properties and run the jar once it will create a blank properties file. One thing I do is first try it with the firewall off to make sure it is a firewall issue it will save you a lot of headaches. http://forums.sagetv.com/forums/show...&postcount=306 Last edited by nyplayer; 09-17-2015 at 03:09 PM. |
#326
|
|||
|
|||
nyplayer, thanks for the reply.
Still beating my head against the wall Haven't been able to figure out yet why I'm getting no signal. I had seen your post and made that correction. I tried the ports I was using with 1.0.1, no luck, still no signal. Deleted the PrimeNetEncoder.properties file, ran the .jar and let it create one. Edited that appropriately, no luck, still no signal. I completely disabled/turned off the windows firewall, no luck, still no signal. Would you be willing to attach your PrimeNetEncoder.properties file and your PrimeNetEncoder-tuner0.txt file (after you have tuned to a live TV channel)? Maybe I can figure out something by comparing them to mine.
__________________
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 |
#327
|
|||
|
|||
Quote:
Also notice how it handles tuner locks my favorite piece of code jvl711 put in .. no more missed recordings because tuners are being used by other apps. Last edited by nyplayer; 09-17-2015 at 04:05 PM. |
#328
|
|||
|
|||
Working now (with firewall disabled).
I had your comment about tuner 0 misunderstood I guess. Template file: Quote:
Quote:
__________________
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 |
#329
|
|||
|
|||
Quote:
Last edited by nyplayer; 09-17-2015 at 04:43 PM. |
#330
|
||||
|
||||
Quote:
The one big change is that ffmpeg is no longer handling the udp stream from HDHomeRun, PrimeNetEncoder is. |
#331
|
|||
|
|||
Quote:
|
#332
|
|||
|
|||
Quote:
In Firewall - Add a program, I had 3 entries for: Java (TM) Platform SE binary Checked - Java (TM) Platform SE binary - Private - Jre6 Checked - Java (TM) Platform SE binary - Public - Jre7 unChecked - Java (TM) Platform SE binary - Private - Jre7 I had Java6 on the machine for quite a while and recently changed to Java7. For some reason the Java6 uninstalled (it was a pretty old version) left a Jre6 entry in the firewall settings. So I deleted the Jre6 entry and check the Jre7 one, like so: Checked - Java (TM) Platform SE binary - Public - Jre7 Checked - Java (TM) Platform SE binary - Private - Jre7 Now with the firewall enabled/on channels are getting signal. But with that strange setting I had in the firewall was working ok with PrimeNetEncoder 1.0.1. Maybe the changes in 1.2.2 are handling Java a little differently?
__________________
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 |
#333
|
|||
|
|||
Quote:
|
#334
|
|||
|
|||
I hope so. Wouldn't want other spending hours on it.
jvl711, After I added all the channels to my now new working tuner I started to just go channel to channel making sure that they were all working. Randomly I would get the No Signal message. I attached a log. You can see where it was working on some channels and then not on others. I've also seen it when just jumping to a channel from the channel guide. I'm on Comcast in Houston. I'm going to tweak these values up to 1000 and 5000000, respectively. Hoping that will help. ffmpeg.delay=500 ffmpeg.probesize=2000000 EDIT: I did the following changes: ffmpeg.delay=500 ffmpeg.probesize=2000000 (original setting, about 20% of the time getting no signal) ffmpeg.delay=500 ffmpeg.probesize=5000000 (solid, no problems) ffmpeg.delay=500 ffmpeg.probesize=4000000 (solid, no problems) ffmpeg.delay=500 ffmpeg.probesize=3000000 (solid, no problems) So it looks like this ffmpeg.probesize value may be need to be tweaked (as you mention in your install guide) if there are signal problems. For me 3000000 works.
__________________
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 Last edited by CptKirk; 09-17-2015 at 06:31 PM. |
#335
|
||||
|
||||
Quote:
This section below is where the problem started. Code:
09/17/2015 18:48:24 - ------------------------------------------------------------------------------- 09/17/2015 18:48:24 - Stopping Recording: 13182976 0 09/17/2015 18:48:24 - ------------------------------------------------------------------------------- 09/17/2015 18:48:24 - Stopping the TunerOutput thread 09/17/2015 18:48:24 - Switch channel: none 09/17/2015 18:48:24 - Using Lockkey: 1224816701 09/17/2015 18:48:24 - Command output: null 09/17/2015 18:48:24 - Stopping the encoder process 09/17/2015 18:48:24 - waiting for the process to stop 09/17/2015 18:48:24 - Recording stopped 09/17/2015 18:48:24 - Start commmand received: START PrimeNetEncoder Prime Tuner 0 Digital TV Tuner|1955240967|636|2885067409542|\\htpc\tv\42642_636_0917_1848-0.ts|Great 09/17/2015 18:48:24 - ------------------------------------------------------------------------------- 09/17/2015 18:48:24 - Switching Channel for Tuner: 13182976 0 09/17/2015 18:48:24 - ------------------------------------------------------------------------------- 09/17/2015 18:48:24 - Channel: 636 09/17/2015 18:48:24 - File: 42642_636_0917_1848-0.ts 09/17/2015 18:48:24 - UploadID: 1955240967 09/17/2015 18:48:24 - Quality: Great 09/17/2015 18:48:24 - Local IP: 192.168.1.152 09/17/2015 18:48:24 - Listening Port: 5000 09/17/2015 18:48:24 - Stream listening Port: 7000 09/17/2015 18:48:24 - Checking to see if the tuner is locked. 09/17/2015 18:48:24 - Switch channel: 636 09/17/2015 18:48:24 - Using Lockkey: 1590562913 09/17/2015 18:48:25 - Command output: null 09/17/2015 18:48:25 - Send stream to UDP port: 7000 09/17/2015 18:48:25 - Using Lockkey: 1590562913 09/17/2015 18:48:25 - Command output: null 09/17/2015 18:48:25 - Passing stream to SageTV unaltered (ffmpeg stream copy) 09/17/2015 18:48:25 - Starting TunerOutput thread for stdin to ffmpeg then stdout to SageTV MediaServer 09/17/2015 18:48:25 - Tuner output thread constructed for UploadID: 1955240967 09/17/2015 18:48:25 - Tuner output thread HDHomeRun(UDP) -> PrimeNetEncoder(SDIN) -> ffmpeg(STDOUT) -> SageTV Media Server(TCP) 09/17/2015 18:48:25 - Sleeping to allow ffmpeg to fully launch: 500 09/17/2015 18:48:25 - TunerBridge thread started udpPort: 7000 09/17/2015 18:48:25 - Tuner bridge has transfered: 0 09/17/2015 18:48:25 - Sending write open command 09/17/2015 18:48:25 - Write open sent successfully 09/17/2015 18:48:25 - Tuner bridge has transfered: 0 09/17/2015 18:48:25 - Tuner bridge has transfered: 130284 09/17/2015 18:48:25 - Tuner bridge has transfered: 543508 09/17/2015 18:48:26 - Tuner bridge has transfered: 902776 09/17/2015 18:48:26 - Tuner bridge has transfered: 1255464 09/17/2015 18:48:26 - Tuner bridge has transfered: 1606836 09/17/2015 18:48:26 - Tuner bridge has transfered: 2017428 09/17/2015 18:48:27 - Tuner bridge has transfered: 2401700 09/17/2015 18:48:27 - Unhandled Exception writing stream to file: The pipe has been ended 09/17/2015 18:48:27 - Tuner bridge has transfered: 2408280 09/17/2015 18:48:27 - Tuner bridge has transfered: 2408280 09/17/2015 18:48:27 - Tuner bridge has transfered: 2408280 09/17/2015 18:48:27 - Unhandled Exception writing stream to file: The pipe has been ended It looks as if ffmpeg might have crashed. Then PrimeNetEncoder did not handle that failure properly. So channel changes on that same tuner were not working properly. Make sure you are using a stable release of ffmpeg, and make sure probesize and analyze duration are reasonable sizes. I think if those settings are too low for ffmpeg to determine the stream it may exit. FYI... ffmpeg.delay is not required as much any more with the new vesion because ffmpeg is no longer handle any socket communication in this version. |
#336
|
|||
|
|||
Hope I'm not being a pain. Just have some time available and I like digging
As mentioned above tweaking ffmpeg.probesize fixed the problem for me. Changing gears again... Once a tuner has been used will it ever go back to an idle state? Can it? Should it? It looks like once a tuner has been used it stays in a connected state. I was checking with the Status command you mentioned in the install guide. Quote:
__________________
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 |
#337
|
||||
|
||||
Quote:
Sage connects to PrimeNetEncoder, so connected tells you when sage has an active connection. So it should only be idle when Sage is not running. |
#338
|
|||
|
|||
PrimeNetEncoder and Java crashes:
Just watching TV and the normal scheduled shows are recording. Noticed that the PrimeNetEncoder windows started throwing errors, also in SageTV. Quote:
Quote:
__________________
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 |
#339
|
|||
|
|||
Windows 10 question
I'm a current SageDCT user but am looking at possible reasons or advantages to this integration with my 2 Prime units. I'm currently on Win8.1 and have been fairly stable (Fios CC by the way). The whole reason I'm asking is in the last two weeks I had a 1TB harddrive get corrupt that all my troubleshooting so far points to SageDCT not handling tuning to a channel stream correctly (to be fair wife kept trying to tune to the same channel in rapid succession and that channel was not marked Copy once... ended up corrupting the MBR and the MBR-backup and I was unable to repair). Honestly been using SageDCT without issue for at least a couple of years now but the aforementioned HD crash and the repeated annoying MS Windows 10 upgrade pop-ups on my server has me asking questions.
My questions are: 1) Advantages for PrimeNetEncoder vs. the SageDCT in general, and 2) With all I've heard about WMC not being on Win10 friendly, and SageDCT relying on WMC during it's initial setup.. Is PrimeNetEncoder more Windows 10 friendly if I was to take advantage of the free Windows 10 upgrade on my server? Thanks for the patience. Tried searching for an answer but didn't get a clear hit. - Chad |
#340
|
|||
|
|||
Quote:
2. SageDCT does not rely on WMC I do not know where you got this info from.... maybe many years ago it did. I do not see how SageDCT can mess up your MBR you probably have a Hard Drive problem. Check your drives for errors. I prefer the latest release of the PrimNetEncoder ... Locks Tuners will not miss a recording because tuner is being used by another Application.... Easy to upgrade FFMPEG ... Uses Sage network discovery no need to cut and paste sage properties entries. Last edited by nyplayer; 09-18-2015 at 09:03 AM. |
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 |