|
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 |
#441
|
||||
|
||||
Quote:
FYI... I have not tested this with Java 1.8. It might work fine, but I do not know. |
#442
|
|||
|
|||
Hi jvl711,
I'm getting the following problem using version 1.2.4 of PrimeNetEncoder when trying to access any of the tuners on my 2nd HDHomerun Prime => 10/04/2015 19:00:13 - Checking to see if the tuner is locked. 10/04/2015 19:00:13 - Tuner is locked. Force unlocking the tuner. 10/04/2015 19:00:13 - Switch channel: 1027 10/04/2015 19:00:13 - Using Lockkey: 1627678092 10/04/2015 19:00:13 - Command output: ERROR: unknown getset variable 10/04/2015 19:00:13 - Send stream to UDP port: 5003 10/04/2015 19:00:13 - Using Lockkey: 1627678092 10/04/2015 19:00:13 - Command output: ERROR: unknown getset variable All of the tuners on the first tuner work just fine. What would cause the tuner to report as being locked? Also what is the "ERROR: unknown getset"? Any information that you could provide regarding this problem would be greatly appreciated. Thanks for all of your hard work on this driver. |
#443
|
||||
|
||||
Quote:
__________________
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 |
#444
|
|||
|
|||
Here is the properties file.
|
#445
|
||||
|
||||
The problem is your tuner3.number entries (and 4 and 5).
PrimeNetEncoder uses the .id and the .number properties to determine how to locate and interact with a given tuner. What you are doing is telling it that tuner3.id and tuner3.number point to tuner #3 on the device with id 1311C562. There is not tuner 3 on that device, as it only has 0, 1, and 2. you need the entries to read as follows: Code:
tuner0.id=131142D4 tuner0.number=0 tuner1.id=131142D4 tuner1.number=1 tuner2.id=131142D4 tuner2.number=2 tuner3.id=1311C562 tuner3.number=0 tuner4.id=1311C562 tuner4.number=1 tuner5.id=1311C562 tuner5.number=2
__________________
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 |
#446
|
||||
|
||||
Finally got around to setting up 1.2.4 yesterday, and today I've noticed a marked increase in stream glitches in all recordings since the change. Have to think it's related, as I've always had pretty good signal quality. Before I roll back, any recommendations on some buffering tweaks to hopefully not lose any bits through the process?
__________________
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 |
#447
|
||||
|
||||
Quote:
|
#448
|
||||
|
||||
nyplayer - your suggestion of using the batch file, and pointing to the Java 8 Java.exe location in the file worked! the console came up without any complaint, I was able to see and set-up all three tuners in SageTV and things seem to be working fine now.
Thank you Very much for your suggestion! I am seeing some video glitches which seem to also have been noticed others... Testing continues, but THANK YOU!
__________________
Eckwell / Chicago, IL SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC) STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure DEFAULT STV Comskip triggered by DirMON2 --- HD100 / HD200 /HD300 BMI fanart |
#449
|
||||
|
||||
In the mean time, I am planning on disabling the mediaserver push on it this morning - since it's on my server, it's not really necessary - hopefully it will narrow down where the stream is getting dropped.
__________________
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 |
#450
|
|||
|
|||
Quote:
Thanks Fuzzy! |
#451
|
||||
|
||||
Auto Start for PrimeNetEncoder?
How are folks running this? Batch file at start up?
And what about timing and not wanting to have more than one running, etc. What is "best practice" at this point? thanks again.
__________________
Eckwell / Chicago, IL SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC) STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure DEFAULT STV Comskip triggered by DirMON2 --- HD100 / HD200 /HD300 BMI fanart |
#452
|
|||
|
|||
Quote:
You also have to export it and change the priority from 7 to 4 then delete from task scheduler and re-import it. Windows by default starts every task with priority of 7 that is below normal. This thread explains priority. http://forums.sagetv.com/forums/show...2&postcount=55 I chose not to run it as a runnable task because it uses SageTV Java heap. Last edited by nyplayer; 10-05-2015 at 09:49 AM. |
#453
|
||||
|
||||
Quote:
With the MediaServer enabled: Code:
HDHomeRun(UDP) -> PrimeNetEncoder(SDIN) -> ffmpeg(STDOUT) -> SageTV Media Server(TCP) Code:
HDHomeRun(UDP) -> PrimeNetEncoder(STDIN) -> ffmpeg(STDOUT) -> PrimeNetEncoder -> File(CIFS/SMB) Code:
HDHomeRun(UDP) -> PrimeNetEncoder(STDIN) -> ffmpeg(CIFS/SMB) In any case, the data is still getting damaged somewhere.
__________________
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 |
#454
|
||||
|
||||
Hi,
Released RC1 of PrimeNetEncoder. Please provide feedback positive or negative. I would like to release a stable version and I want to make sure there is as little issues as possible. Josh |
#455
|
||||
|
||||
Well, I dropped in the 1.2.5, started it up, and had similar results. I then added the java parameters you put in the batch file and it seems markedly better. not sure which parameter makes the biggest fix, but it is recording great right now (on the first stream I tried). I'll load it up here for a bit and see if it keeps up.
__________________
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 |
#456
|
|||
|
|||
Quote:
|
#457
|
||||
|
||||
Fuzzy and nyplayer,
Thanks for the quick responses. I decided on those parameters after a large amount of tracing of what the JVM was doing while running my app. That has been mainly what I was looking at over the past few weeks. I think it is really running well with these parameters. Garabage collection is very low, which is going to reduce the number of pauses. Let me know if you guys think I should make those parameters part of a normal PrimeNetEncoder install? Josh |
#458
|
||||
|
||||
Well, i put all 3 on high bitrate local channels, and along with comskipping and plex transcoding to max the cpu, they seem to be playing back flawlessly. (I went back to using the MediaServer method).
This is using your java parameters in the batch file (actually inserted into my .cmd file that handles setting the current directory and points to the specific java.exe directly), launched as a high privilege service at priority 4.
__________________
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 |
#459
|
||||
|
||||
Quote:
You are correct. The new methodology is a little more costly, but I think the benefits out way the extra processing. Below are the reasons for the changes. 1. I hope to move the remuxing to Sage in the future. Doing so requires reading from the HDHomeRun directly, so that I can pass the stream unaltered to the MediaServer. 2. Reading the stream directly from the HDHomeRun allows me to monitor the data being generated from the HDHomeRun. I have on occasion seen the HDHomeRun not properly respond to request. If I see that data is not being sent I can quickly reset the tuner without disrupting any other part of the streaming process. Josh |
#460
|
||||
|
||||
I wasn't really discussing the UDP from the HDHR to PNE, or even the STDIN pipe into ffmpeg. I was discussing the unneeded step of having ffmpeg pipe back to PNE, for it just to write to a file. I understand the need if using the MediaServer to bring it back to PNE, since ffmpeg doesn't know about sage MediaServer protocols. I was just expecting it to skip that step and just pass an output filepath to ffmpeg if MediaServer is disabled.
__________________
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 |
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 |