NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 5 6 7 8 9 … 37 Next »
Aspect Formula

 
  • 0 Vote(s) - 0 Average
Aspect Formula
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#1
2011-02-13, 05:57 PM
Hi, I'm frustrated. Taking deep breaths...

I never understood the trial and error system of trying to figure out the x,y values for positioning and offsets. They make no sense and never did even on the MVP. This was also evident using the MVP Position plugin.

Why is it that when you change the X or Y (seemingly beyond some unknown point) the offsets go berzerk? All of the time spent dialing in the offsets is then shot and you need to start over. Repeat indefintely. This time I can't seem to get it right. When the menuing appears proper and I launch a video, the video is way out of whack.

Please, sub/martin, what's the formula?

Jim
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#2
2011-02-13, 06:10 PM
Well I already told you what I recommend here, http://forums.nextpvr.com/showthread.php...post403609

Blame GBPVR/NPVR users for this nightmare accepting that the default looks like crap. For some reason you want to get every pixel out of your monitors. Proper screen design is to include overscan in the design and not worry about the edges.

Also if you are trying to get a good 4:3 look on PAL with Default, you might as well forget it.

I don't understand the comment about video, that will show based on your configured choice, and it can't be adjusted out of whack.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#3
2011-02-13, 06:14 PM
Quote:Why is it that when you change the X or Y (seemingly beyond some unknown point) the offsets go berzerk? All of the time spent dialing in the offsets is then shot and you need to start over. Repeat indefintely. This time I can't seem to get it right. When the menuing appears proper and I launch a video, the video is way out of whack.
The offset x/y and width/height settings make no difference video playback on the MVP/NMT. All it changes is where the menus are shown on the screen.

If you set the offsets to 0,0 and width and height to the size of the screen, then the NPVR screens fill the entire frame buffer sent to the MVP/NMT. If you're instead set the offsets to 40,40 and the width and height to 80 pixels less than the size of the screen, then the screens NPVR sends to the MVP/NMT will have black border of 40 pixels on each side, with the actual interesting bits of the screen using the slightly smaller space in the middle. None of this makes any difference to where the video is shown on the screen - it's only about the menus.
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#4
2011-02-13, 06:25 PM
I figured out the video, the damn zoom on the PCH was set wrong... doh.

Yes, I'm using the divisible by 4. But I just don't understand why I can't simply set the OSD to 1280 x 720 with 0x0 offset, to match my resolution? Well, that's not the crux of the matter. When changes are made, as described above, there really seems to be no method to the madness in setting the resolution and offset.

All things considered though, this is miles ahead of the GBPVR NMT implementation. I'm just in whiner mode from the recent upgrade. =)
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#5
2011-02-13, 06:28 PM
sub Wrote:The offset x/y and width/height settings make no difference video playback on the MVP/NMT. All it changes is where the menus are shown on the screen.

If you set the offsets to 0,0 and width and height to the size of the screen, then the NPVR screens fill the entire frame buffer sent to the MVP/NMT. If you're instead set the offsets to 40,40 and the width and height to 80 pixels less than the size of the screen, then the screens NPVR sends to the MVP/NMT will have black border of 40 pixels on each side, with the actual interesting bits of the screen using the slightly smaller space in the middle. None of this makes any difference to where the video is shown on the screen - it's only about the menus.

Didn't catch your post in time before I posted. But if I understand, I should be setting it to 1280x720 and then substracting the offsets from there, right?
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#6
2011-02-13, 06:46 PM
Yes that is the forumula

1280 = width + (2 * offset) can also be

width = 1280 - (2*offset)

Martin
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#7
2011-02-13, 09:46 PM
Martin, that formula didn't work. What did work for me was width= hRes - (1*offset). From there I calculated the vertical value based on the resolution ratio. NPVR does NOT like negative offsets. Here's a vbscript to do the calculation that worked for me:

Code:
' Save as res.vbs
' Modify your resolution and offsets
' From the command line, cscript.exe res.vbs

Option Explicit
Dim hResolution, vResolution
Dim hOffset, vOffset
Dim width, height

' Set your TV resolution
hResolution = 1280
vResolution = 720

' Set your offsets
hOffset = 64
vOffset = 0

If hOffset mod 4 <> 0 Then wscript.echo "hOffset is not divisable by 4"
If vOffset mod 4 <> 0 Then wscript.echo "vOffset is not divisable by 4"

width = hResolution - hOffset

'new height = (original height / original width) * new width
height = (vResolution / hResolution) * width

wscript.echo "width (x)  = " & width
wscript.echo "offset (x) = " & hOffset

height = height - vOffset
wscript.echo "height (y) = " & height
wscript.echo "offset (y) = " & vOffset

'wscript.echo "new res    = " & width & "x" & height
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
jtokach
Offline

Member

Posts: 192
Threads: 36
Joined: Oct 2004
#8
2011-02-13, 09:48 PM
I feel like I found my "sleep number". ;-)
-Jim
---------------------------------------------
GBPVR Website
GBPVR Wiki
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#9
2011-02-13, 10:03 PM
Unless sub is using the ratio that you use somehow, that script doesn't make sense, since its wrapping the frame buffer after the first line giving an effective offset of 32 but I'm glad you found a solution that works. I'm surprised that this doesn't cut off the clock with a y offset of 0.

I suspect you would do just as well by using 1216,680, 32, 20

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Menu aspect ratio dslowik 2 1,399 2009-12-28, 04:28 AM
Last Post: dslowik

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

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

Linear Mode
Threaded Mode