SageTV Community  

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

Notices

SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 12-18-2007, 01:05 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Understanding the custom aspect ratios

So the letterbox aspect ratio that Stanger posted is :

=Letterbox|source=2048,2048,4096,3072,
FrontEdgeToCenter,FrontEdgeToCenter,
Relative,Relative,Relative,Relative

The only change from the default is the 3072 value in the height field. If I am interpreting this correctly, what this rule says in plain English is to display the source image using only 3072/4096 (3/4) of the height. I'm guessing that the "FrontEdgeToCenter" means that the 3/4 that is used is centered on the image (in other words remove 1/8 from the top and 1/8 from the bottom). If you remove 1/4 of the height a 4:3 image you get a 16:9 image. Which is what this aspect ratio does.

Is that right?
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient

Last edited by bialio; 12-18-2007 at 01:46 PM.
Reply With Quote
  #22  
Old 12-18-2007, 02:28 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
CIH Vertical Stretch

=VStretch|source=2048,2048,4096,3072,
FrontEdgeToCenter,FrontEdgeToCenter,
Relative,Relative,Relative,Relative|blackstrip=0,0;

Assuming that the original source format is 16:9, the first part of this (same as letterbox) will yeild a 2.37:1 image with black bars on top and bottom.

Will the addition of blackstrip=0,0 here cause the 2.37:1 image to stretch vertically so as to eliminate the black bars?
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #23  
Old 12-18-2007, 02:58 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by bialio View Post
So the letterbox aspect ratio that Stanger posted is :

=Letterbox|source=2048,2048,4096,3072,
FrontEdgeToCenter,FrontEdgeToCenter,
Relative,Relative,Relative,Relative

The only change from the default is the 3072 value in the height field. If I am interpreting this correctly, what this rule says in plain English is to display the source image using only 3072/4096 (3/4) of the height. I'm guessing that the "FrontEdgeToCenter" means that the 3/4 that is used is centered on the image (in other words remove 1/8 from the top and 1/8 from the bottom). If you remove 1/4 of the height a 4:3 image you get a 16:9 image. Which is what this aspect ratio does.

Is that right?
Yeah, basically the x,y,w,h are centering in x and y, width and height. They're basically a scaled integer, with 0 being 0 and 4096 being 1.0.

blackstrip tells the extender how much black it can add to the image, so yes, I'd say blackstrip=0,0 would cause Sage to chop the top/bottom off but not add any bars (ie vertical stretch).

Still trying to get to the bottom of what exactly FrontEdgeToCenter etc are, though my guess is that yes, they define basically where x,y,w,h operate on the image.
Reply With Quote
  #24  
Old 12-18-2007, 03:03 PM
pez's Avatar
pez pez is offline
Sage Advanced User
 
Join Date: Aug 2004
Location: Arizona
Posts: 165
Quote:
Originally Posted by Opus4 View Post
Did you check the custom resolution & AR FAQs before posting?

It was already in the custom resolution FAQ from the beginning, but I added it to the AR post early this morning.

- Andy
I stand corrected. I must have missed it based on the information overload I was experiencing.
Reply With Quote
  #25  
Old 12-18-2007, 03:21 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by stanger89 View Post
Still trying to get to the bottom of what exactly FrontEdgeToCenter etc are, though my guess is that yes, they define basically where x,y,w,h operate on the image.
From some testing I did, here is what I added to the HD100's AR FAQ a little while ago:
Quote:
Originally Posted by Opus4 View Post
Here is what I think those position modes mean:

The FrontEdge prefix specifies an origin coordinate (0,0) at the top-left corner & the RearEdge prefix's origin is the bottom-right corner.

For the rest of the position mode name, this is what I noticed: Adding ToCenter causes the (width,height) to be centered on the (x,y) coordinate, with half on either side of the coordinate. Adding ToBorder caused the entire (width,height) to be added from the (x,y) coordinate towards the other side of the screen from the position mode's origin point.
If anyone finds different results, please say so.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #26  
Old 12-18-2007, 04:16 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Andy - if you have access, and are able to, could you share the scaling parameters for the 4 built in modes? I think it would help understand some of the parameters.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #27  
Old 12-18-2007, 04:18 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Quote:
Originally Posted by bialio View Post
=VStretch|source=2048,2048,4096,3072,
FrontEdgeToCenter,FrontEdgeToCenter,
Relative,Relative,Relative,Relative|blackstrip=0,0;

Assuming that the original source format is 16:9, the first part of this (same as letterbox) will yeild a 2.37:1 image with black bars on top and bottom.

Will the addition of blackstrip=0,0 here cause the 2.37:1 image to stretch vertically so as to eliminate the black bars?
Turns out this doesn't quite work. Adding blackstrip does remove the black bars, but it isn't stretching - it just zooms in so the left and right hand side of the picture get chopped off.

I can't figure out how to get it to scale the outcome of the source parameter to take up the entire screen without black bars......

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #28  
Old 12-19-2007, 08:28 PM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
I have my HD extender set up as 1280x720p at the moment and I'm not super thrilled with that as its not using 1:1 pixel mapping on the monitor. My plasma's (NEC 42xr3) native resolution is 1365x768. The TV has DVI input but not HDMI so I am using an HDMI->DVI cable. Is there any way to get the HD extender to use a custom HDMI resolution of 1365x768 @60hz? Its not clear to me how to do this from the FAQ as its not one of the specified HDMI resolutions.

When I had my PC connected to this plasma, I was able to use the nvidia control panel and set the pc to 1365x768 (see this thread http://www.avsforum.com/avs-vb/showt...61#post7184461).

Thanks,
Marc
Reply With Quote
  #29  
Old 12-19-2007, 09:55 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Try something like this:
Code:
extender_resolution_extra_modes=1366x768p@60|standard\=VESA_1366x768x60
Reply With Quote
  #30  
Old 12-21-2007, 07:59 PM
CyRex CyRex is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Middletown, CT
Posts: 297
I created a 'Pillarbox' aspect ratio that I thought I would share. Some of the programs I have been recording via my HDHR has black / gray bars on each side. This aspect ratio will remove the bars and stretch the image to fill the screen.

Code:
Pillarbox|source\=2048,2048,3048,4096,FrontEdgeToCenter,FrontEdgeToCenter,Relative,Relative,Relative,Relative|blackstrip\=0,0|cutstrip\=0,0
Thanks to stanger and Opus for posting and explaining the syntax for custom aspect ratio's. They are a very powerful and useful tool once you know how to use them (not that I do... )

-Dan

Edit: This actually stretches the image a bit more than necessary. Some of the programs I tried this on still had thin strips of black / gray on one side. You can tweak the third value (3048) to your liking. To cut off less from each side of the picture, increase the value.

Last edited by CyRex; 12-21-2007 at 08:03 PM.
Reply With Quote
  #31  
Old 12-21-2007, 08:54 PM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
Quote:
Originally Posted by stanger89 View Post
Try something like this:
Code:
extender_resolution_extra_modes=1366x768p@60|standard\=VESA_1366x768x60
Thanks for the suggestion. Unfortunately, this didn't work. My tv won't sync when I select this resolution (using 1365x768).
Reply With Quote
  #32  
Old 12-27-2007, 06:32 PM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
Quote:
Originally Posted by CyRex View Post
I created a 'Pillarbox' aspect ratio that I thought I would share. Some of the programs I have been recording via my HDHR has black / gray bars on each side. This aspect ratio will remove the bars and stretch the image to fill the screen.

Code:
Pillarbox|source\=2048,2048,3048,4096,FrontEdgeToCenter,FrontEdgeToCenter,Relative,Relative,Relative,Relative|blackstrip\=0,0|cutstrip\=0,0
Thanks to stanger and Opus for posting and explaining the syntax for custom aspect ratio's. They are a very powerful and useful tool once you know how to use them (not that I do... )

-Dan

Edit: This actually stretches the image a bit more than necessary. Some of the programs I tried this on still had thin strips of black / gray on one side. You can tweak the third value (3048) to your liking. To cut off less from each side of the picture, increase the value.
I sure hope this works. This was the last thing I think I needed to tweak to get my HDHR programs to my liking. I'll report back if it worked.
Reply With Quote
  #33  
Old 12-27-2007, 07:39 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
Quote:
Originally Posted by stanger89 View Post
This one will crop/expand letterbox content.
Code:
advanced_aspect_ratio_extra_modes=Letterbox|source\=2048,2048,4096,3072,FrontEdgeToCenter,FrontEdgeToCenter,Relative,Relative,Relative,Relative
thanks. works well. I just need to tweak the values a bit. it crops a little of the actual video.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #34  
Old 12-28-2007, 05:31 PM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
Quote:
Originally Posted by CyRex View Post
I created a 'Pillarbox' aspect ratio that I thought I would share. Some of the programs I have been recording via my HDHR has black / gray bars on each side. This aspect ratio will remove the bars and stretch the image to fill the screen.

Code:
Pillarbox|source\=2048,2048,3048,4096,FrontEdgeToCenter,FrontEdgeToCenter,Relative,Relative,Relative,Relative|blackstrip\=0,0|cutstrip\=0,0
Thanks to stanger and Opus for posting and explaining the syntax for custom aspect ratio's. They are a very powerful and useful tool once you know how to use them (not that I do... )

-Dan

Edit: This actually stretches the image a bit more than necessary. Some of the programs I tried this on still had thin strips of black / gray on one side. You can tweak the third value (3048) to your liking. To cut off less from each side of the picture, increase the value.
Works perfectly. Thanks!
Reply With Quote
  #35  
Old 12-29-2007, 07:23 PM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
I am having trouble getting 2 custom aspect ratios to show up correctly. I tried separating them by a semi colon. When a semi colon is used, no custom ARs show up. I then tried a colon. This only lets one show up. Any one get 2 custom ARs to show up on their HD extender?
Reply With Quote
  #36  
Old 12-29-2007, 07:29 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
I have 2 custom ARs and they both work fine. The semi colon is the correct separator. Here is the line I have in the file:

Code:
advanced_aspect_ratio_extra_modes=Letterbox|source\=2048,2048,4096,3151,FrontEdgeToCenter,FrontEdgeToCenter,Relative,Relative,Relative,Relative;Pillarbox|source\=2048,2048,3048,4096,FrontEdgeToCenter,FrontEdgeToCenter,Relative,Relative,Relative,Relative|blackstrip\=0,0|cutstrip\=0,0
Be sure you have word wrap turned off when editing the file.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.

Last edited by carlgar; 12-29-2007 at 07:33 PM. Reason: more information added
Reply With Quote
  #37  
Old 12-29-2007, 08:04 PM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
Quote:
Originally Posted by electronics4lif View Post
I am having trouble getting 2 custom aspect ratios to show up correctly. I tried separating them by a semi colon. When a semi colon is used, no custom ARs show up. I then tried a colon. This only lets one show up. Any one get 2 custom ARs to show up on their HD extender?
I forgot to mention that I was using SageMC. I reverted back to SageMC 6.3.5 and it is working correctly now (except for the modes text being cut off on the selection screen).
Reply With Quote
  #38  
Old 12-29-2007, 08:06 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Works fine for me in SageMC. I have two additional one's defined on both of my 100's.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #39  
Old 12-30-2007, 05:55 PM
popechild popechild is offline
Sage Expert
 
Join Date: May 2006
Posts: 725
Thanks guys, this is awesome info. I have a couple of questions about how this all works though... (I'm using SageMC, so some of it could be specific to that, but I wouldn't think so).

1) (When watching a dvd) The custom aspect ratios that I define don't show up when I hit the Options/Aspect Ratio route on the remote - I still just get Source, Fill, Zoom A and Zoom B. I have to hit Up on the remote to get a little menu that lets me select Aspect Ratio, then the custom ratios are listed in that list. Any idea why they don't show up using the Options route?

2) When I go the Up/Aspect Ratios route where I can see all the options, including the custom ratios, there's an "Edit Current" option which lets me change the zoom width/height on any of the aspect ratios (just like you can do on the server), but it doesn't actually seem to do anything, at least not when I changed the Zoom A or Zoom B options. Anybody know what this is there for?
Reply With Quote
  #40  
Old 12-30-2007, 06:56 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
The "Edit Current" works if you are using the server or a full client. The HD Extender doesn't support editing AR's on the fly.

As far as the first question, I think the others are there, you just have to scroll down to see them (there is no indicator that it's a scrollable list! - but it is!)

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
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
Where is the internet love for the HD extender? autoboy General Discussion 23 12-18-2007 11:54 AM
How does HD Media extender affect Sage+Meedio Users techgeek General Discussion 2 12-11-2007 02:47 PM
HDHR and New HD extender questions VikingCrown Hardware Support 18 12-05-2007 11:48 AM
dumb HD extender related questions drewg SageTV Media Extender 5 11-30-2007 06:32 AM
Multiple HD recording issue ptaylor Hardware Support 0 02-23-2007 11:10 PM


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


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