NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 835 836 837 838 839 … 1231 Next »
Aspect Ratio Setups

 
  • 0 Vote(s) - 0 Average
Aspect Ratio Setups
volksman
Offline

Member

Posts: 131
Threads: 23
Joined: Jan 2006
#1
2006-03-20, 06:19 PM
Hey All!

I can't seem to find any docs to tell me how to modify the Aspect Ratio section of the config so that I can limit it to 16:9 or 4:3 only (so I don't have to hit F7 a whack of times to find the ratio I want).

I've found the section of Config.xml to edit but no clue what to do with it.

Any help would be very much appreciated.
chud
Offline

Member

Posts: 183
Threads: 18
Joined: Oct 2005
#2
2006-03-20, 07:09 PM
i'm lazy, so i've copied in a wack of text from some instructions that i gave someone else on this forum. in your case it sounds like you want to edit the config.xml file and delete all but two of the aspect ratio settings that work for you (ie, count on your fingers while hitting F7). if you want to know what is going on and how to setup your own exact aspect ratios, hopefully the info below helps...


Quote:ok, well 800x600 is 4:3 so (assuming you are outputing to a 4:3 tv/monitor) you should find that the default aspect ratio (0,0,1,1) gives you fullscreen and perfect 4:3. any letterboxed widescreen (widescreen picture but with black bars on top and bottom to make the whole picture 4:3) should also look fine.

if you've got DVDrips of 16:9 material, chances are that the black bars were cropped out (essential for good encoding) and now it is stretched in height. you'll need a custom aspect ratio to "unstretch" it.

if you like math, this is what you need to do. let's define some variables:

Htv - height of TV
Wtv - width of TV
H - height of video
W - width of video
Hsf - height scale factor
Wsf - width scale factor (you won't need this one unless you want to watch 4:3 on a widescreen tv)

Hsf = Wtv/Htv * H/W

GBPVR aspect:
0, (1-Hsf)/2), 1, ((1+Hsf)/2)

you can just use the aspect ratios for the H and W parameters, not the absolute resolutions.

so, for a 16:9 video playing back on your 4:3 screen, you would find:

Hsf = 4/3 * 9/16 = 0.75

so we need to squeeze the height to 75% of the original. to do that and have the picture centered in the vertical, we need to push the bottom up by half of this amount, and the top down by half. in the config.xml change:

<AspectRatio1>0,0.125,1,0.875</AspectRatio1>

for 2.35 material:

Hsf = 4/3 * 1/2.35 = 0.567

<AspectRatio1>0,0.216,1,0.784</AspectRatio1>

note that Htv and Wtv are the height and width of your actual picture (get out the tape measure), not necessarily the video card output resolution. you can imagine your CRT monitor when you would output 800x600 and 1280x1024. both would fill the entire monitor, but one is a 4:3 aspect, the other 5:4!

hope this helps...
volksman
Offline

Member

Posts: 131
Threads: 23
Joined: Jan 2006
#3
2006-03-20, 07:27 PM
Well this is the part that is stumping me:

<AspectRatio0>0,0,1,1</AspectRatio0>
<AspectRatio1>0,-0.125,1,1.125</AspectRatio1>
<AspectRatio2>0,0.125,1,0.875</AspectRatio2>
<AspectRatio3>0.08,0,0.92,1</AspectRatio3>
<AspectRatio4>-0.05,-0.01,1.04,1</AspectRatio4>
<AspectRatio5>-0.05,-0.089,1.04,1.089</AspectRatio5>
<AspectRatio6>-0.05,-0.17,1.04,1.17</AspectRatio6>
<OverlayAspectRatio0>0,0,1,1</OverlayAspectRatio0>
<OverlayAspectRatio1>0,0.125,1,0.875</OverlayAspectRatio1>
<OverlayAspectRatio2>0.08,0,0.92,1</OverlayAspectRatio2>

Is it safe to remove the OverlayAspectRatio or is that for the actual overlays (I'm using VMR9 so again does this affect me?)?

And if I read the above correctly I would only want the following for a 4:3 TV to have 4:3 and 16:9 ratios:

<AspectRatio0>0,0,1,1</AspectRatio0>
<AspectRatio1>0,0.125,1,0.875</AspectRatio1>

yeah?
chud
Offline

Member

Posts: 183
Threads: 18
Joined: Oct 2005
#4
2006-03-20, 07:56 PM
all correct, although i wouldn't really worry about deleting the overlay settings...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2006-03-20, 08:02 PM
Just leave the OverlayAspectRatio settings, they not used for VMR.
teddy3501
Offline

Junior Member

Posts: 35
Threads: 8
Joined: Mar 2006
#6
2006-03-21, 02:00 AM
does anyone know what each of the aspects are?

<AspectRatio0>0,0,1,1</AspectRatio0> <!-- 4:3 -->
<AspectRatio1>0,-0.125,1,1.125</AspectRatio1>
<AspectRatio2>0,0.125,1,0.875</AspectRatio2> <!-- 16:9 -->
<AspectRatio3>0.08,0,0.92,1</AspectRatio3>
<AspectRatio4>-0.05,-0.01,1.04,1</AspectRatio4>
<AspectRatio5>-0.05,-0.089,1.04,1.089</AspectRatio5>
<AspectRatio6>-0.05,-0.17,1.04,1.17</AspectRatio6>
<OverlayAspectRatio0>0,0,1,1</OverlayAspectRatio0>
<OverlayAspectRatio1>0,0.125,1,0.875</OverlayAspectRatio1>
<OverlayAspectRatio2>0.08,0,0.92,1</OverlayAspectRatio2>

sub, any chance of including comments in the xml config file?
[SIZE="1"]Asus A8N-SLI Deluxe, Athlon 64 3500+, 2gig Corsair XMS,
nVidia GeForce 7300GS 128MB (PureVideo decoder), Hauppauge PVR-150
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#7
2006-03-21, 02:04 AM
Quote:sub, any chance of including comments in the xml config file?
No. Sorry. I provide a GUI for those things I intend the user to change (config.exe).
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG probs, aspect ratio probs, DVD probs IanJ 1 1,483 2010-10-09, 04:25 PM
Last Post: sub
  I have lost aspect ratio with EVR bethanyrayne 7 2,686 2010-06-05, 09:41 AM
Last Post: bethanyrayne
  F7 to change aspect ratio works in live TV but not on recorded programs rcs914 2 1,529 2010-03-24, 12:38 PM
Last Post: rcs914
  Aspect Ratio not right when viewing recoding larrypg 1 1,254 2010-03-16, 02:30 AM
Last Post: johnsonx42
  Wrong Aspect ratio and cutting end of recordings cisconz 0 1,002 2010-02-24, 12:56 AM
Last Post: cisconz
  Aspect ratio problem dspdrew 4 1,939 2010-02-20, 02:11 AM
Last Post: dspdrew
  Video a little out of aspect on my monitor luttrell1962 4 1,803 2010-02-13, 05:53 AM
Last Post: luttrell1962
  Force 16:9 aspect ratio for video file dvasco 32 10,719 2010-02-07, 05:17 PM
Last Post: dvasco
  Transcode Xvid profile aspect ratio Warwick 0 1,242 2009-10-07, 08:46 AM
Last Post: Warwick
  1 ratio for TV and another for video? mrspaces 7 2,795 2009-10-03, 04:03 PM
Last Post: johnsonx42

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode