SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-21-2010, 02:50 AM
sdsean's Avatar
sdsean sdsean is offline
Sage Expert
 
Join Date: Jul 2008
Posts: 571
Setting in Sage.properties for HD-PVR

Is there a setting in one of the properties files that will let me change
how the HD-PVR acts during a show save (eg. while watching live tv or timeshifted).

I noticed that every time sage saves off a show and starts a new one. . .it stops the HD-PVR, then brings it back up (noticed it cause of the pretty light going on/off).

Searched all over, but couldn't find anything relavent. . .
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned


Reply With Quote
  #2  
Old 04-21-2010, 01:17 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I think that this is just how Sage works, is not unique to the HD-PVR, and it is the same issue as the whole debate about the "pause" that occurs when watching LiveTV and the show ends. Each show in Sage is recorded as a separate file. I believe what happens is that as one show ends Sage sends a "stop recording" command to the tuner. Sage closes the file. Then Sage goes to record the next show so it starts a new file - sends the "start recording" command to the HD-PVR and you are recording again. I think the problem is that the HD-PVR takes a lot longer to start/sto recording and to sync to a new signal. Other tuners, especially OTA tuners do this much more quickly.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #3  
Old 04-21-2010, 02:38 PM
sdsean's Avatar
sdsean sdsean is offline
Sage Expert
 
Join Date: Jul 2008
Posts: 571
Yeah I've been all kinds of threads about the whole "pause" thing. . .

I was just wondering if there might be some other properties (besides the ones I already know about like "delay_to_wait_after_tuning") that might help.

Right now, I'm not focused too much on channel changing so much as the fact that SageTV starts hiccuping as it starts recording a new show when watching something live.

I'm not sure that the delay_to_wait setting will help that much since I'm not really changing channels, its just changing the show stream under the hood. . .

If I could just get it too either not shut down the HD-PVR or perhaps I could get it to pause playback automatically while this is going on (thereby creating a buffer and not hiccuping during playback) those would all help. . .
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned


Reply With Quote
  #4  
Old 04-21-2010, 02:53 PM
sdsean's Avatar
sdsean sdsean is offline
Sage Expert
 
Join Date: Jul 2008
Posts: 571
In another thread I just found these settings:

Quote:
For the missing gap between shows, check the SageTV server .properties file. Look for the videoframe/safe_fast_file_switching setting and try setting it to false. And in the server and any pc client SageTV .properties files, check the videoframe/time_to_start_into_tv_file_playback and be sure it's set to 0. That might help minimize it, but there will still be a gap of depending on how fast your server can tear down the recording graph and start up a new one.
I haven't tweaked those, I do have my delay to wait set to 1500, maybe could play with it again. . .

My machine is plenty stout so I'd assume my only bottle neck is simply the HD-PVR itself. . .

I really just want to minimize this. . . sometimes its like 5-7 seconds of playback hiccupping (like it rewinds half a sec, plays that half a sec, and over and over).
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned


Reply With Quote
  #5  
Old 04-21-2010, 06:31 PM
Rico66 Rico66 is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 407
As you mentioned this is pretty much the pause related discussion, which really gets emphasized with the hdpvr.
I think it would indeed make sense, if there would be a setting for the hdpvr not to be switched off, if you're not changing the channel. But I don't think that Sage has this.
Media Center/dvblink actually has this. They even started from the opposite direction by not switching off the hdpvr capture stream at all. But that can cause problems if you're changing channels, especially if this includes a change in resolution as well. Not sure how good this works though (I always wanted to try this out again, since I'm pretty annoyed by the pause behaviour, but haven't had the time yet...)
Reply With Quote
  #6  
Old 04-21-2010, 07:54 PM
sdsean's Avatar
sdsean sdsean is offline
Sage Expert
 
Join Date: Jul 2008
Posts: 571
OK here's what I found playing around. . . This is just info from my system
but I thought it a useful guide.

I saw this setting
never_stop_encoding=true/false

I thought maybe it would help and perhaps it does help with shows ending/begining. (but I'd have to wait another half hour or so for a show to end). . .

It basically just runs the tuners all the time, which I suppose is probably a bad idea for the HD-PVR, but maybe not. . .

It did not help with the hiccups when changing channels

safe_fast_file_switching=true/false

I have this set to false, no idea what it actually does. . .

delay_to_wait_after_tunning=(number in ms)

I have this set to 2500 currently, which I still think is an abhorrently high number.
I had it set as low as 750, and everything works, but the hiccups are still there when changing channels when that low, and 2500 seems to be a number where the are minimized (no idea if i'm losing parts of a show however). It seems to me (at least for the channel change case) there is some lag between the time the USB-serial fires the channel change, and the start/stop of the HD-PVR. I'd have to think SageTV certainly does know when the HD-PVR has started its encoding. . . . but Sage waits to build the graph since it could be the old channel and doesn't know if the channel change completed? In either case what's weird is that this number seems to effect both show endings and channel changing, which I find strange. . .

local_encoding_to_playback_delay=(some number)

Not sure what this does either. . . mine is set to 500 which I assume is ms.

Not sure what other settings might be useful. . .
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned


Reply With Quote
  #7  
Old 04-21-2010, 08:03 PM
sdsean's Avatar
sdsean sdsean is offline
Sage Expert
 
Join Date: Jul 2008
Posts: 571
acutally if i could just have playback be in the "paused" state for a couple of seconds that would be helpful. . . at least it wouldn't hiccup. . .does which / if there is a setting that can do that?
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned


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
Setting up the Sage.properties file??? agdm619 Hardware Support 12 12-26-2008 10:02 AM
Difference between SageClient.properties and Sage.properties? morfinx SageTV Software 1 12-30-2006 09:01 AM
When are the Win.bin, Win.bak, Sage.properties, and Sage.properties.autobackup saved? zubblwump SageTV Software 3 01-16-2005 08:54 AM
BUG: Recursive Video/Library Directory set up crashes sage (sage.properties) wayne SageTV Software 0 07-11-2003 12:59 PM


All times are GMT -6. The time now is 10:39 PM.


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