SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-20-2010, 07:23 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
SageTV Graph Plugins

SageTV V7 adds a feature that allows plugins to run as part of the graph creation process. The zip file includes two plugins that can be placed in %ProgramFils%\SageTV\SageTV\GraphPlugin" to assist in the graph building and enhance playback.

SGPConfig.exe - Configuration application (screen shots below)

ChangeRefreshRate.dll - changes the refresh rate based on the FPS of the file as playback begins using a user defined FPS->Refresh Rate map.

GraphTweaker.dll - Adds and blocks filters based on container and codec. It can also disable composition (Aero) during playback. In most cases it's best to set the filter in Sage to "Default" for any codecs that will be overridden with this plugin.

Both plugins use MediaInfo.dll so it must be copied as well.

main.reg - an example of how the tool can be used to load filters by container/codec.

Download and screenshots of the config tool are here.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #2  
Old 05-20-2010, 08:22 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Andy - I'm not the most technical when it comes to containers and codecs... what real world applications / use cases would the graph plugins enable?
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #3  
Old 05-20-2010, 08:58 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by LehighBri View Post
Andy - I'm not the most technical when it comes to containers and codecs... what real world applications / use cases would the graph plugins enable?
The main feature of ChangeRefreshRate is that it can switch refresh rates for you - so 24p (23.976fps) and 60p content both play at the right frame rate w/o needing to switch it yourself. It can also do native resolution switching (720p = 1280x720@60Hz, 1080i = 1920x1080@30Hz, 1080p = 1920x1080@60Hz, etc), but that feature is kind of hit-or-miss right now and you'd only want to enable it if your GPU DI/scaler is weaker than another VP in your system.

GraphTweaker is probably useful to more people. I use it to load ffdshow for m2ts/mkv (movies with FLAC or HD audio) and ac3filter for mpeg/ts (TV) files where only one would get used by Sage before depending on how I set it up.

Sage already does a great job of allowing filter (decoder) selection, this just provides more granularity for those who want it.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #4  
Old 05-20-2010, 09:03 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Any plans to package this for installation/uninstallation via the V7 plugin manager?
__________________
-- Greg
Reply With Quote
  #5  
Old 05-20-2010, 10:49 PM
Jabroni's Avatar
Jabroni Jabroni is offline
Sage Aficionado
 
Join Date: Mar 2006
Posts: 251
This could come very handy for me I previosly had a mapped button on my remote that would change the refresh rate but it was a bitch since i had to see first what fps the file i was playing had.

Now could you care to explain a bit more how to set it up?

I already grabbed the zip file and placed it onto my SageTV\SageTV dir, loaded the .reg onto my registry, checked with the config tool and it shows 24hz for 24fps material, and 24hz for 23.9somethng. Then I restarted the Sage service, and loaded the SageTV client. I tried playing back a 1080p 24fps MKV, however nothing happens and it stills plays at 1080p@60hz. Any way to debug whats happening??

Specs:
Win7 32bit
Video Card: ATI Radeon 5730
Drivers: 10.2 (10.4 gave me probs with sage, the driver crashes, so i had to rll back to 10.2)
SageTV 7.0.9 beta running as Service, and Client running on the same machine
__________________
SageTV 7.1.9 / Phoenix
Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD
Extender: 2x HD200 / 1x HD300

Reply With Quote
  #6  
Old 05-21-2010, 03:56 AM
impro impro is offline
Sage Aficionado
 
Join Date: May 2006
Posts: 268
Would this affect hd200 playback?
I have been having 24p playback problems forever
Reply With Quote
  #7  
Old 05-21-2010, 07:08 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by impro View Post
Would this affect hd200 playback?
no, this is for windows clients only

Quote:
I have been having 24p playback problems forever
You always (and all over the place) say you have been having problems forever with 24p but never explain what the problem is... care to elaborate? There are plenty of people on this forum that use 24p successfully (myself included) so it's definitely possible. Plus the hd200 has never officially supported 24p so we should all be happy it works at all
__________________
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
Reply With Quote
  #8  
Old 05-21-2010, 07:30 AM
stlbearboy stlbearboy is offline
Sage Advanced User
 
Join Date: Dec 2008
Posts: 81
I guess we are still stuck with the SageTV Demux for MKVs. Blu-Rays play fine. Recorded tv from HD-PVRs play fine. But MKVs ripped from Blu-Rays are stuttering in Sage. I was hoping I could use this to include the Haali splitter and produce the same graph as graphedit.

Fri 5/21 8:18:53.716 [AWT-EventQueue-0@cf2c80] DShowGraphFilters=Default DirectSound Device,VidRend,MPC - Video decoder (babgvant),ArcSoft Audio Decoder HD,SageTV Stream Demux,\\mediaserver\moviesk\Fast and Furious.mkx.mkv,
Fri 5/21 8:18:53.716 [AWT-EventQueue-0@cf2c80] Detected default audio stream index to be: 2
Fri 5/21 8:18:53.716 [AWT-EventQueue-0@cf2c80] ----------->Get getDurationMillis0=6412448.
__________________
Server AMD 9600 AMD 780G ATX Motherboard Vista Ultimate Edition 4GB Ram 3 Hauppauge HD PVR, 1 Hauppauge 1600, 2 Avermedia A180, 2 Hauppauge 1250, 1 Avermedia a188 duo
Reply With Quote
  #9  
Old 05-21-2010, 07:34 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by GKusnick View Post
Any plans to package this for installation/uninstallation via the V7 plugin manager?
Maybe. I'm not sure how useful it would be to deploy the dlls because they aren't useful w/o configuration via the 2' settings tool. Also it really should use an MSI to handle Visual Studio runtime dependencies.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #10  
Old 05-21-2010, 07:50 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by Jabroni View Post
This could come very handy for me I previosly had a mapped button on my remote that would change the refresh rate but it was a bitch since i had to see first what fps the file i was playing had.

Now could you care to explain a bit more how to set it up?

I already grabbed the zip file and placed it onto my SageTV\SageTV dir, loaded the .reg onto my registry, checked with the config tool and it shows 24hz for 24fps material, and 24hz for 23.9somethng. Then I restarted the Sage service, and loaded the SageTV client. I tried playing back a 1080p 24fps MKV, however nothing happens and it stills plays at 1080p@60hz. Any way to debug whats happening??

Specs:
Win7 32bit
Video Card: ATI Radeon 5730
Drivers: 10.2 (10.4 gave me probs with sage, the driver crashes, so i had to rll back to 10.2)
SageTV 7.0.9 beta running as Service, and Client running on the same machine
If "Write Log" is enabled (this is a per plugin setting) a detailed log will be written to folders in C:\Users\{username}\AppData\Local\babgvant.com\.

If the setting is checked and nothing shows up make sure that the dlls aren't "blocked" (right-click select properties).
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #11  
Old 05-21-2010, 07:51 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by razrsharpe View Post
Plus the hd200 has never officially supported 24p so we should all be happy it works at all
I think that the HD200 will support 24p w/ V7 if native resolution switching is enabled.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #12  
Old 05-21-2010, 07:53 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by stlbearboy View Post
I guess we are still stuck with the SageTV Demux for MKVs. Blu-Rays play fine. Recorded tv from HD-PVRs play fine. But MKVs ripped from Blu-Rays are stuttering in Sage. I was hoping I could use this to include the Haali splitter and produce the same graph as graphedit.

Fri 5/21 8:18:53.716 [AWT-EventQueue-0@cf2c80] DShowGraphFilters=Default DirectSound Device,VidRend,MPC - Video decoder (babgvant),ArcSoft Audio Decoder HD,SageTV Stream Demux,\\mediaserver\moviesk\Fast and Furious.mkx.mkv,
Fri 5/21 8:18:53.716 [AWT-EventQueue-0@cf2c80] Detected default audio stream index to be: 2
Fri 5/21 8:18:53.716 [AWT-EventQueue-0@cf2c80] ----------->Get getDurationMillis0=6412448.
You can disable the native MKV splitter.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #13  
Old 05-21-2010, 08:02 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by babgvant View Post
I think that the HD200 will support 24p w/ V7 if native resolution switching is enabled.
You still need to add 1080p24 to the list of unsupported extra resolutions in the hd200's property file (at least I had too). Once its there then yes the hd200 will switch to it automatically with native resolution switching...
__________________
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
Reply With Quote
  #14  
Old 05-21-2010, 08:23 AM
stlbearboy stlbearboy is offline
Sage Advanced User
 
Join Date: Dec 2008
Posts: 81
Thanks twice.
__________________
Server AMD 9600 AMD 780G ATX Motherboard Vista Ultimate Edition 4GB Ram 3 Hauppauge HD PVR, 1 Hauppauge 1600, 2 Avermedia A180, 2 Hauppauge 1250, 1 Avermedia a188 duo
Reply With Quote
  #15  
Old 05-21-2010, 08:43 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by razrsharpe View Post
You still need to add 1080p24 to the list of unsupported extra resolutions in the hd200's property file (at least I had too). Once its there then yes the hd200 will switch to it automatically with native resolution switching...
Having to add it makes sense because most displays don't support 23.976/24Hz input, but my impression (which could be wrong ) was that it was supported as part of the native output switching feature in V7.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #16  
Old 08-27-2010, 01:15 AM
impro impro is offline
Sage Aficionado
 
Join Date: May 2006
Posts: 268
HORRIBLE HORIZONTAL PANS.
PS3 playback is not even close.

quote: You always (and all over the place) say you have been having problems forever with 24p but never explain what the problem is... care to elaborate? There are plenty of people on this forum that use 24p successfully (myself included) so it's definitely possible. Plus the hd200 has never officially supported 24p so we should all be happy it works at all :quote
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
How does SageTV build a Directshow graph? gtdave SageTV Software 4 11-23-2009 04:57 PM
Can't get h.264 graph rendered in sagetv ryttingm SageTV Software 0 04-17-2008 10:36 AM
Does anyone know what directshow filters SageTV is using to build its graph? mkanet SageTV Software 1 07-03-2007 09:14 AM
do older plugins work with sagetv 4.0 ? georges Hardware Support 1 01-31-2006 10:12 AM


All times are GMT -6. The time now is 07:25 PM.


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