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-21-2011, 04:46 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Plugin: ActiveAspectRatios

ActiveAspectRatios is a plugin that automatically switches the Aspect Ratio Mode based on aspect ratio information generated by comskip and your personal preferences.

My main reason for creating this plugin was to automatically switch the AR mode to ZoomC when I watch SD content that has been letterboxed. By doing this the video fills the entire 16x9 display without stretching or distorting the video.

See the wiki for detailed information on how to install and configure the plugin: http://code.google.com/p/tmiranda/wi...veAspectRatios

If you are impatient here are the quick and dirty instructions:

# Install the ActiveAspectRatios plugin from the UI section of the plugin manager.
# Edit comskip.ini to include the lines "verbose=10" and "output_aspect=1".
# Run comskip on the videos you are interested in. This allows comskip.exe to generate the .aspects file needed by the plugin.
# Bring up the options menu for any video that has a corresponding .aspects file. (These videos have an icon that looks like a blue box with a diagonal arrow on it.)
# Bring up the ActiveAspectRatios dialog and select the second item "Aspect Ratio Mappings for This Show".
# For each aspect ratio listed select which Sage AR Mode you want to use. Generally 4x3 video has an aspect ratio close to 1.50 and 16x9 video has an aspect ratio close to 1.98.

Note that this plugin will produce .aspects files for every recording you have. When you delete the recording you must delete its corresponding .aspects file either manually (not a good idea) or through some automated process. If you are using CommercialDetector you can simply add "aspects" to the setting "Cleanup Files With These Extensions".

Post support requests here.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.

Last edited by tmiranda; 03-27-2016 at 05:30 AM.
Reply With Quote
  #2  
Old 05-21-2011, 06:55 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Congrats Tom!! Just a few questions

1. I used to use the original aspect ratio plugin for sageTV 7; but quickly found out that it was making tuning into non-AR modded channels more clunky. Does this plugin interfere in any way in respect to lag in rendering/tuning into a channel that doesn't need AR correction.. after hitting Enter/Select to tune into a channel/show?

2. I have "Zoom C" available on my extender. But it's missing on my PC clients; which I could really use. Does this plugin offer a universal "Zoom C" setting for all clients?

3. Is this plugin compatible with Playon videos? I'm not sure why, by my primary PC client needs a "Fill" or "16x9" AR mode only for Playon... but not for any other Online Videos.

Thanks for all your hard work,
MKANET
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #3  
Old 05-22-2011, 04:03 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by mkanet View Post
Congrats Tom!! Just a few questions

1. I used to use the original aspect ratio plugin for sageTV 7; but quickly found out that it was making tuning into non-AR modded channels more clunky. Does this plugin interfere in any way in respect to lag in rendering/tuning into a channel that doesn't need AR correction.. after hitting Enter/Select to tune into a channel/show?

2. I have "Zoom C" available on my extender. But it's missing on my PC clients; which I could really use. Does this plugin offer a universal "Zoom C" setting for all clients?

3. Is this plugin compatible with Playon videos? I'm not sure why, by my primary PC client needs a "Fill" or "16x9" AR mode only for Playon... but not for any other Online Videos.

Thanks for all your hard work,
MKANET
1. I've never seen any of that. The plugin does it's work in a separate thread and it's not very CPU hungry.

2. No, but you can create custom AR modes in Sage. On my SageClient I usually use "Fill".

3. Yes and no. If comskip can process the file then it will work, if comskip can't process the file then it will not. Let me know how you make out because maybe this is something I can improve on.

Tom
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #4  
Old 05-22-2011, 02:41 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
1. Can your AR correction plugin make it so recordings/movies/shows that do NOT need AR correction feel as if this plugin was never installed? The last AR plugin seemed to affect ALL shows when tuning in; whether they needed AR changing or not. This was also the deal breaker for me for the previous plugin since over 99% of my shows do not need any AR manipulation.

2. As far as I know, there's no way to "add" a custom aspect ratio setting to PC clients. If I change the existing "Fill" settings to a proprietary setting, it will unfortunately affect videos that I want to use the stock "fill" AR. I basically want existing sageTV AR settings to be left untouched; supplementing new AR options like "Zoom C" on a PC .

Ultimately, being able to add a custom AR (a home made Zoom C) for PC clients; dedicated for a particular shows is what I'm looking for; otherwise it would be no different than the old AR plugin.

3. Maybe I'm not understanding you right, but I dont use comskip. I just would like to correct Playon AR invisibly to standard "fill" or "16x9"; as if it was displaying correct AR without noticing that it's been manipulated by this AR plugin without any fuss.

I appreciate your answers. If your AR plugin can't do any of these... no worries, but if it could.. that would be fantastic!

-Michael

Quote:
Originally Posted by tmiranda View Post
1. I've never seen any of that. The plugin does it's work in a separate thread and it's not very CPU hungry.

2. No, but you can create custom AR modes in Sage. On my SageClient I usually use "Fill".

3. Yes and no. If comskip can process the file then it will work, if comskip can't process the file then it will not. Let me know how you make out because maybe this is something I can improve on.

Tom
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #5  
Old 05-22-2011, 02:56 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Michael,

1 - This is the default behavior. If the video has no aspect ratio information then nothing is done. The way a video "has aspect information" is if you run comskip on it with the correct settings in the comskip.ini. Maybe this answers question 3 as well?

2 - I thought it was possible to add custom ratios to a SageClient but I'm not really sure. Sorry if I gave you bad advice.

3 - If you want to use the most powerful feature of the plugin, the ability to automatically adjust the AR Mode on a video by video basis, you must use comskip. You may not want comskip to produce the .edl files but it is needed to produce the .aspects files. If you only intend to change AR Mode based on channel or show name then you don't need comskip. The ability to change the AR Mode based on the contents of the .aspects file is really the difference between JREkiwi's Aspect plugin and this one.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #6  
Old 05-22-2011, 03:33 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Oh okay, thanks for the honest answers Tom. I'm sure there a lot of people that can take advantage of this. I'm a bit of an extreme minimalist; so, installing comskip is definitely not something I want to do just for AR adjustments for a couple of TV channels and Playon. Good luck with this plugin. I'm sure it will be GREAT for some people.

Quote:
Originally Posted by tmiranda View Post
Michael,

1 - This is the default behavior. If the video has no aspect ratio information then nothing is done. The way a video "has aspect information" is if you run comskip on it with the correct settings in the comskip.ini. Maybe this answers question 3 as well?

2 - I thought it was possible to add custom ratios to a SageClient but I'm not really sure. Sorry if I gave you bad advice.

3 - If you want to use the most powerful feature of the plugin, the ability to automatically adjust the AR Mode on a video by video basis, you must use comskip. You may not want comskip to produce the .edl files but it is needed to produce the .aspects files. If you only intend to change AR Mode based on channel or show name then you don't need comskip. The ability to change the AR Mode based on the contents of the .aspects file is really the difference between JREkiwi's Aspect plugin and this one.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #7  
Old 05-22-2011, 04:02 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by mkanet View Post
Oh okay, thanks for the honest answers Tom. I'm sure there a lot of people that can take advantage of this. I'm a bit of an extreme minimalist; so, installing comskip is definitely not something I want to do just for AR adjustments for a couple of TV channels and Playon. Good luck with this plugin. I'm sure it will be GREAT for some people.
No problem. I created it because it's something I need and now use daily. I hope others find it useful, and I'm willing to improve upon it if users have suggestions.

You can create a custom .aspects file (i.e. Use a text editor to create it, not run comskip) for videos if you like.

Tom
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #8  
Old 05-22-2011, 04:57 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Great plugin... I just had a show that had 2 diff ASPECT ratios was driving me crazy.... I like to fill my screen and this did it automatically once again thanks.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #9  
Old 05-22-2011, 05:24 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Ohhh... in the case you're willing to improve upon it if users have suggestions.... I have a couple to consider:


1. Client-specific settings stored in respective properties file:
SageTV Extender has "Zoom C"; so how is that setting going to work for the same TV channel on a different PC based client that doesnt have Zoom C? It doesnt make sense to save "Zoom C" for clients that dont support it.

2. User-friendly menu to create a custom .aspects file that can easily be changed in the menus, no need for manually creating/editing config files.

I have a question. What are the exact steps necessary to get only Playon playback to playback at "16x9"; not affecting any other Online Services or anything else.

If suggestions #1 and #2 above are added in a new release of this addon, in just a couple of minutes, anyone could define Playon playback to have 16x9 AR on the PC they want. I could also just as quickly and conveniently set "Zoom C" on the living room extender for a couple of channels.

I dont know if this is possible, but as a third suggestion... consider not depending on Comskip at all just to control AR. Just save whatever gets saved in the .aspects file in the respective client properties file(s). That way your plugin is fully dependable without external help.

This may be asking way too much; but just thought I'd at least run them by you. That's basically what I would need for it to be practical for me and my wife to depend on daily.

Thanks for your consideration,
Michael

Quote:
Originally Posted by tmiranda View Post
No problem. I created it because it's something I need and now use daily. I hope others find it useful, and I'm willing to improve upon it if users have suggestions.

You can create a custom .aspects file (i.e. Use a text editor to create it, not run comskip) for videos if you like.

Tom
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #10  
Old 05-22-2011, 06:26 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by nyplayer View Post
Great plugin... I just had a show that had 2 diff ASPECT ratios was driving me crazy.... I like to fill my screen and this did it automatically once again thanks.
You're welcome.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #11  
Old 05-22-2011, 06:41 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by mkanet View Post
Ohhh... in the case you're willing to improve upon it if users have suggestions.... I have a couple to consider:


1. Client-specific settings stored in respective properties file:
SageTV Extender has "Zoom C"; so how is that setting going to work for the same TV channel on a different PC based client that doesnt have Zoom C? It doesnt make sense to save "Zoom C" for clients that dont support it.

2. User-friendly menu to create a custom .aspects file that can easily be changed in the menus, no need for manually creating/editing config files.

I have a question. What are the exact steps necessary to get only Playon playback to playback at "16x9"; not affecting any other Online Services or anything else.

If suggestions #1 and #2 above are added in a new release of this addon, in just a couple of minutes, anyone could define Playon playback to have 16x9 AR on the PC they want. I could also just as quickly and conveniently set "Zoom C" on the living room extender for a couple of channels.

I dont know if this is possible, but as a third suggestion... consider not depending on Comskip at all just to control AR. Just save whatever gets saved in the .aspects file in the respective client properties file(s). That way your plugin is fully dependable without external help.

This may be asking way too much; but just thought I'd at least run them by you. That's basically what I would need for it to be practical for me and my wife to depend on daily.

Thanks for your consideration,
Michael
Michael,

I'm always looking to make my plugins better and useful to as many people as possible.

1. This is already how it's done. The mapping from comskip-generated aspect ratios to Sage AR mode is done on a per-client basis. You can only map aspect ratios to AR modes that exist on the extender/placeshifter/SageClient you are watching on. See, that was an easy suggestion to implement

2. I think that's a good idea. Of course I have no clue if it will be easy or hard to implement.

2.5. Currently you can force specific shows and specific channels to fixed AR modes. There is no way for the plugin to set the AR mode for PlayOn content.

3. This will be taken care of if I can figure out how to do suggestion #2.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #12  
Old 05-22-2011, 10:12 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by mkanet View Post
The last AR plugin seemed to affect ALL shows when tuning in; whether they needed AR changing or not. This was also the deal breaker for me for the previous plugin since over 99% of my shows do not need any AR manipulation.
FWIW, with the previous plugin you can turn off the debug window that pops up and makes it totally transparent whether it's switching or not.

John
Reply With Quote
  #13  
Old 05-23-2011, 06:10 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Thanks John. I didnt know that was an option. I can't remember the specifics since it's been a while since I used it. I'll give it a try.

Quote:
Originally Posted by JREkiwi View Post
FWIW, with the previous plugin you can turn off the debug window that pops up and makes it totally transparent whether it's switching or not.

John
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #14  
Old 05-23-2011, 08:51 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by JREkiwi View Post
FWIW, with the previous plugin you can turn off the debug window that pops up and makes it totally transparent whether it's switching or not.

John
Yes. And to re-emphasize: John's plugin is probably what most people will end up using. Mine is for special cases where you want to control the AR mode based on the content of the video and not the channel or show.

Example. I like to Watch Star Trek TNG. It's broadcast on two different channels. One channel always broadcasts it in 4x3 SD. The other channel SOMETIMES broadcasts it in 4x3 SD and SOMETIMES in letterboxed SD. So I can't setup the channel or the show to always use a certain AR mode.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #15  
Old 05-26-2011, 03:51 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Tom,

On my 1360x768 Screen I cannot see your entry in the setup menu it is off the Screen... Not visible maybe too many menu Items Default SageTV 7.. I have 11 and yours would make 12. I can see it using Diamond because Diamond Scrolls down. I change it by going to the recording screen.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #16  
Old 05-26-2011, 04:25 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by nyplayer View Post
Tom,

On my 1360x768 Screen I cannot see your entry in the setup menu it is off the Screen... Not visible maybe too many menu Items Default SageTV 7.. I have 11 and yours would make 12. I can see it using Diamond because Diamond Scrolls down. I change it by going to the recording screen.
That's a known issue any time you have more than one plugin adding things to the setup menu. The solution is to install my "ScrollingSetup" UI Mod plugin.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #17  
Old 05-26-2011, 04:49 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by tmiranda View Post
That's a known issue any time you have more than one plugin adding things to the setup menu. The solution is to install my "ScrollingSetup" UI Mod plugin.
Ok once again thx. Learn something new everyday in this forum.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #18  
Old 05-26-2011, 05:12 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by nyplayer View Post
Ok once again thx. Learn something new everyday in this forum.
That makes two of us.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #19  
Old 05-26-2011, 09:27 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
"ScrollingSetup" UI Mod plugin really didn't help it is still off the screen. Will not scroll down to view the text even though... I can select it while off the menu.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #20  
Old 05-27-2011, 05:50 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by nyplayer View Post
"ScrollingSetup" UI Mod plugin really didn't help it is still off the screen. Will not scroll down to view the text even though... I can select it while off the menu.
Please list what plugins you are using so I can reproduce the problem. Thanks.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
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
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) cslatt SageTV Customizations 48 06-11-2012 10:44 AM
Coming Soon: ActiveAspectRatios tmiranda SageTV v7 Customizations 44 05-24-2011 11:31 AM
SageTV Plugin Developers: Any way to see stats for your plugin? mkanet SageTV Software 4 12-12-2010 10:33 PM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
Plugin Manager: Configure plugin medwynd SageTV Beta Test Software 0 05-29-2010 08:43 AM


All times are GMT -6. The time now is 11:21 AM.


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