SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #621  
Old 12-06-2015, 05:56 PM
Gustovier Gustovier is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: Chicago
Posts: 460
Quote:
Originally Posted by weeber View Post
The past week or so, I've finally noticed Comcast starting to broadcast in h264 like they promised to do several months ago (Atlanta area). Good news... PNE 1.2.5 and HDHR Prime both seem to handle the streams without issue.

I've seen it being used on Comedy Central, FXX, and AMC. And Comcast is really making use h264. 1-hr episodes of the Walking Dead were 5.2 GB w/MPEG-2 are now 1.9 GB w/h264. I'm a little concerned Comcast may be taking things a little too far with the compression, but quality seems pretty good (maybe a little softer).

Anyways, no need to worry about capturing h264 streams on Comcast.
Looks like I might have to finally move away from sageDCT as a couple of days ago a few of my channels were convert to h264(Comcast Chicago area) and sage dct is not handling this for these channels well at all. At least I'm thinking the issue is with sage dct.

*edit looks like sage dct is actually working fine with h264 channels.

Last edited by Gustovier; 12-06-2015 at 07:31 PM.
Reply With Quote
  #622  
Old 12-07-2015, 03:05 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Posted a new version 2.0.0. Only some very minor changes. The change list is on the first post. I am considering this version to be stable.

Josh
Reply With Quote
  #623  
Old 12-07-2015, 05:35 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
Posted a new version 2.0.0. Only some very minor changes. The change list is on the first post. I am considering this version to be stable.

Josh
It is not working getting no signal.

PrimeNetEncoder>Exception in thread "Thread-5" java.lang.IllegalThreadStateException
at java.lang.Thread.setDaemon(Unknown Source)
at jvl.primenetencoder.TunerOutput.run(TunerOutput.java:545)
Reply With Quote
  #624  
Old 12-07-2015, 06:45 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
It is not working getting no signal.

PrimeNetEncoder>Exception in thread "Thread-5" java.lang.IllegalThreadStateException
at java.lang.Thread.setDaemon(Unknown Source)
at jvl.primenetencoder.TunerOutput.run(TunerOutput.java:545)
You are always catching all of my errors

I put the wrong version of the JAR file in the upload. I just uploaded a new version. Let me know if that fixes it.
Reply With Quote
  #625  
Old 12-07-2015, 06:53 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
You are always catching all of my errors

I put the wrong version of the JAR file in the upload. I just uploaded a new version. Let me know if that fixes it.
Working ok now. Appears to be faster channel changes.
Reply With Quote
  #626  
Old 12-07-2015, 07:11 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
I tested both with mediaserver.transfer true and false and they both work. I am keeping it true to see how it performs.

Thanks
Reply With Quote
  #627  
Old 12-07-2015, 07:15 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
Working ok now. Appears to be faster channel changes.
I am seeing around 4 seconds for a channel change. Are you seeing roughly around the same?
Reply With Quote
  #628  
Old 12-07-2015, 07:19 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
I am seeing around 4 seconds for a channel change. Are you seeing roughly around the same?
About the same less on some channels. Some channels tune quicker than others but nothing really over 4 seconds.
Reply With Quote
  #629  
Old 12-07-2015, 07:30 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
About the same less on some channels. Some channels tune quicker than others but nothing really over 4 seconds.
Without some super speedups from ffmpeg, I do not know if we are going to get too much better than 4 seconds. You can see from the logs it takes on average 3750ms for ffmpeg to analyze the stream and determine the format, and start writing to file. Than Sage has to analyze the file itself before playing back.
Reply With Quote
  #630  
Old 12-07-2015, 08:02 PM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by jvl711 View Post
Posted a new version 2.0.0. Only some very minor changes. The change list is on the first post. I am considering this version to be stable.

Josh
Working great on Ubuntu, faster channel changes as well. I have PNE installed on the same machine that SageTV 9 is installed on.
Reply With Quote
  #631  
Old 12-07-2015, 08:28 PM
Gustovier Gustovier is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: Chicago
Posts: 460
I wonder if there is truly a way to get rid of using ffmpeg. It's my understanding that this is used to clean up the mpeg2 or mpeg4(for channels that have converted to h264) stream coming off the prime?
Reply With Quote
  #632  
Old 12-07-2015, 08:32 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Gustovier View Post
I wonder if there is truly a way to get rid of using ffmpeg. It's my understanding that this is used to clean up the mpeg2 or mpeg4(for channels that have converted to h264) stream coming off the prime?
Not quite if it was not for ffmpeg some of my mpeg2 channels sage would not be able to play them ... It was originally made to cleanup mpeg2 not h264. If you do not want to use FFMPEG you can use SagDCT with the dump option.

The only way I see this happening if SageTV had built in Prime support.

Last edited by nyplayer; 12-07-2015 at 09:07 PM.
Reply With Quote
  #633  
Old 12-08-2015, 09:27 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
Posted a new version 2.0.0. Only some very minor changes. The change list is on the first post. I am considering this version to be stable.

Josh
I di have some halts setting mediaserver.transfer=True went back to false did not get any halts.
Reply With Quote
  #634  
Old 12-08-2015, 03:37 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
I di have some halts setting mediaserver.transfer=True went back to false did not get any halts.
I do not have 100% proof of this, but I believe the halts may be caused by the SageTV process doing a garbage collection. After trying everything under the sun, I can not get the transfer to be 100% smooth. I did some extensive analysis of how PrimeNetEncoder's memory is handled by the JVM, and with the new switches that I recommend for running the process I am confident that the pauses are not coming directly from PrimeNetEncoder.

I am not sure if there is any other network encoder that is currently using the Media Server transfer method for us to confirm. I do still feel this would be the preferred method for transferring video to Sage.
Reply With Quote
  #635  
Old 12-08-2015, 05:16 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
When I was doing some troubleshooting (sorry, I don't think I have the log any more) I noticed that you auto stop recording when a certain time has elapsed with no data. What was this timeout based upon? Is it possible that there could be a network stack delay and the code pauses? Is it possible to extend the timeout delay?
Reply With Quote
  #636  
Old 12-08-2015, 06:02 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by SageWizdom View Post
When I was doing some troubleshooting (sorry, I don't think I have the log any more) I noticed that you auto stop recording when a certain time has elapsed with no data. What was this timeout based upon? Is it possible that there could be a network stack delay and the code pauses? Is it possible to extend the timeout delay?
It does not stop the recording it resets the recording. In my testing i have seen occurancrs where HDHomerRun does not change channels after a command was sent to it. This appears to happen most often when there has been no activity for a long time. I can make this configurable in the future. Iwas not sure it was going to work when i first added, but i am pretty sure it is pretty effective. I think it is around 8-10 seconds now.
Reply With Quote
  #637  
Old 12-08-2015, 06:59 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by jvl711 View Post
I do not have 100% proof of this, but I believe the halts may be caused by the SageTV process doing a garbage collection. After trying everything under the sun, I can not get the transfer to be 100% smooth. I did some extensive analysis of how PrimeNetEncoder's memory is handled by the JVM, and with the new switches that I recommend for running the process I am confident that the pauses are not coming directly from PrimeNetEncoder.

I am not sure if there is any other network encoder that is currently using the Media Server transfer method for us to confirm. I do still feel this would be the preferred method for transferring video to Sage.
The only other Network Encoders that use the MediaServer method of writing the stream is SageTV itself (when run as a network encoder). Aside from that, it's also how Clients receive media (images, video, etc) from the server.
__________________
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
Reply With Quote
  #638  
Old 12-09-2015, 06:19 PM
weeber weeber is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 104
Do I need to have Sage rediscover the PNE tuners after going to v2.0.0 from 1.2.5? I can't get 2.0.0 to work. When I call up v2.0.0, start Sage and try to tune, the tuner light comes on, but the TV screen stays black and I get the "No signal" message. I can stop playback, but PNE doesn't let go of the tuner, and I have to power cycle it so it releases.

Switching back to calling v1.2.5 and everything works. What am I missing? I'm using the same PNE properties file too.
Reply With Quote
  #639  
Old 12-09-2015, 06:25 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by weeber View Post
Do I need to have Sage rediscover the PNE tuners after going to v2.0.0 from 1.2.5? I can't get 2.0.0 to work. When I call up v2.0.0, start Sage and try to tune, the tuner light comes on, but the TV screen stays black and I get the "No signal" message. I can stop playback, but PNE doesn't let go of the tuner, and I have to power cycle it so it releases.

Switching back to calling v1.2.5 and everything works. What am I missing? I'm using the same PNE properties file too.
Wow... I have no clue. This was a very minor change... The only possibile thing I can think of is that you filled in the override ip address in the property file and it is an incorrect address. Besides that I am baffled. I just copied the new jar into my production system. No changes.
Reply With Quote
  #640  
Old 12-10-2015, 05:28 PM
RandyJohnson RandyJohnson is offline
Sage Advanced User
 
Join Date: Jan 2005
Location: Wichita Kansas
Posts: 122
Multiple Primes

When adding a second Prime I am wondering how the properties files should be setup.

tuners.count = 6 ... is this total number of primes or physical tuners?

I am assuming that I would have tuner3 - tuner5 for the second prime.

Are the ".port" and ".transcode.port" just incremented 7003/5003?

Thanks in advance...

Randy
__________________
Server: Intel i7-980X, Gigabyte X58, 12GB memory, 12TB for recordings, 8TB for DVD storage, headless
Software: Windows 7 64bit Ultimate (turned off UAC and firewall) - SageTV V7 7.0.23
Playbacks: (2) HD-200 Home Theater (1) HD-300 Placeshifter Mode
Tuners: (4) HDHomeRun Dual (8-clear QAM), (1) Hauppauge 1600 (analog), (4) r5000 Dishnetwork VIP 211
Sources: Wichita Kansas OTA, Cox Digital clear QAM, Cox Analog, Dishnetwork
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.