|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Prime Encoder Script
I've been using SageTV 7 for a number of years and recently with 2 HDHomerun Primes and SageDCT to capture my FIOS channels. However the the SageDCT process often hangs and the Primes miss recordings. I restart Sage or the SageDCT process and all is good for awhile and then it happens again and I miss more recordings. Can anyone using SageTV on Linux with Jwittkoski's Prime_encoder script tell me if this is more reliable than the SageDCT on Windows? I've tried all the recommended settings and tweaks for SageDCT but it is just too unreliable. Anyone have any thoughts? Thank you and Happy New Year to all the forum members. Thanks for keeping this forum alive and well.
|
#2
|
|||
|
|||
I was having the same problem. Then I bought a new router and the problem disappeared. I don't know why, but it's been more than two months an the problem is still resolved. I have to suspect that somehow the old router was the culprit.
|
#3
|
|||
|
|||
Well I was having the problem before with my original FIOS router, but I just got the new one for faster Internet speeds and its still doing the same thing. FriscoJohn, What router are you using now?
Does anyone have any experience with HDHomerun Primes under Linux? I'm trying to determine if I might have better performance with it. Last edited by checkbin; 01-05-2015 at 08:01 AM. |
#4
|
||||
|
||||
Quote:
I am not a linux guru, so it took a little bit of playing around to get it to run, but once I have it running, it's "fire and forget." I don't restart my ubuntu server but every two or three months. I do stop/restart the sage process probably every month just due to Java memory usage, but the Prime process always seems to work fine. (I do run both sage and the prime process as root. I think that they can be run under lower-level accounts, but i didn't mess with that.) let me know if you have any specific questions and i'll try to help you out. Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#5
|
|||
|
|||
Thanks Matt. I'm pretty versed in Linux and have a SageTV Linux license so I think I will give it a try. Were the Prime Encoder instructions pretty straight forward or did you have to do anything crazy to get it to work with the Prime?
|
#6
|
||||
|
||||
I think that they were straightforward. I'm pretty sure that I followed this site: https://github.com/jwittkoski/prime_encoder
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#7
|
|||
|
|||
I have one other question. Can a 64 bit Linux OS be used with the SageTV binary and the Prime Encoder script, or does it have to all be 32 bit? I assume I would still install 32 bit java in that case.
|
#8
|
|||
|
|||
checkbin
My router is a Netgear WNDR4300 |
#9
|
||||
|
||||
My Ubuntu is 64bit and I recall having somewhat of a mess when initially installing Sage and Java. I think that I did end up having to do a 32bit Java to make it work OK.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#10
|
|||
|
|||
Quote:
I had been using the prime_encoder script for a few months before I released it. During that time (1.5 years):
Hope that helps. --John |
#11
|
|||
|
|||
Quote:
My notes on Java install from when I last rebuilt my server are: Code:
Install 32 bit libs for 32 bit Java ----------------------------------- apt-get install libc6:i386 apt-get install zlib1g:i386 Java 7 Install -------------- From: http://java.com/en/download/manual.jsp#lin Get the "Linux" download (not 64 bit) mkdir /opt/jvm cd /opt/jvm tar xvzf jre-7u51-linux-i586.gz update-alternatives --install "/usr/bin/java" "java" "/opt/jvm/jre1.7.0_51/bin/java" 1 Hope that helps. --John |
#12
|
|||
|
|||
Thanks John for that info, and for the others who replied as well. I made the leap and set up a Linux box using Arch Linux and John's Prime Encoder Script. No major hurdle in setting it up and all I can say is Wow! The script works like a champ, and I now have a very stable HD Homerun Prime setup for the first time. While I liked the functionality Sage DCT provides, I did suffer lots of drop outs, missed sections of recordings, and pixellation way more times than I'd like. With John's script and a Linux setup, I have seen zero issues so far after making a few weeks of heavy recording using two Primes. Even recording with all 6 tuners at once, the Prime recordings are flawless (I do multiplex recordings across 2-3 drives). With the additional stability of Linux and the awesome performance of Prime Encoder script, I will never go back to Sage on Windows. And now that SageTV will soon be open source, I encourage everyone to try the Linux version. It's definitely worth it, even if it means learning some Linux.
|
#13
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#14
|
|||
|
|||
something like this will get you the current version of Java:
Code:
curl -L -C - -b "oraclelicense=accept-securebackup-cookie" -O http://download.oracle.com/otn-pub/java/jdk/8u40-b25/jre-8u40-linux-i586.tar.gz
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#15
|
|||
|
|||
Yes razrsharpe if you have a Linux license, definitely give it a try. I used the setup instructions for Arch Linux (http://forums.sagetv.com/forums/showthread.php?t=60786) and for me it was easy, as I use Linux professionally too. The steps are pretty much straightforward but some other Linux distros such as Ubuntu might be easier for beginners. Arch is a bit harder to set up, but I like it because its very lightweight, which I feel gives it even more of a performance edge as a Sage server. Good luck and let me know if you have any questions.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ubuntu + HDHomerunPrime + Prime Encoder | matt91 | SageTV Linux | 2 | 03-23-2014 03:46 PM |
Encoder number graphic shows wrong encoder being used | jpaddock3000 | SageMC Custom Interface | 11 | 02-05-2009 02:29 PM |
What Is Currently Recording Script | joe123 | SageTV Customizations | 18 | 02-05-2007 09:40 PM |
init script | n8willis | SageTV Linux | 7 | 01-15-2007 03:33 PM |
XBMC Script | Coolwave | SageTV Customizations | 18 | 03-01-2006 01:44 PM |