![]() |
Quote:
FYI... I have not tested this with Java 1.8. It might work fine, but I do not know. |
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. |
Quote:
|
1 Attachment(s)
Here is the properties file.
|
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 |
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?
|
Quote:
|
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! |
Quote:
|
Quote:
Thanks Fuzzy! |
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. |
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. |
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. |
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 |
Quote:
|
Quote:
|
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 |
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. |
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 |
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.
|
All times are GMT -6. The time now is 07:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.