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 … 144 145 146 147 148 … 1231 Next »
Stretch video horizontally but not vertically

 
  • 0 Vote(s) - 0 Average
Stretch video horizontally but not vertically
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#1
2009-04-10, 02:21 PM
Hi all,

Bit of a strange request this one, coming from a friend of mine who has decided to give gbpvr a try but has a weird way of wanting to watch stuff.

He watches a lot of old 4:3 content, but wants it stretched to fill the entire 16:9 screen (gbpvr's fill mode does that fine).

All his films though are DVD rips to xvid, which I'm guessing have had the black bars removed as part of the transcode, which means they usually stretch vertically so that a 2:35:1 film also fills the entire screen. In this case, that's not what is wanted. The original aspect ratio (with black bars) should be visible. Toggling to Auto usually fixes this.

Now for the killer... he controls all this via a bluetooth mouse and doesn't want to get up to press F7 to toggle modes. So he needs a mode that stretches 4:3 but leaves the 16:9 and 21:9 stuff alone.

So the questions are really:

a) is there a way to toggle using the mouse?
b) is there a way to set the aspect ratios in config.xml so that any video is always stretched horizontally but never vertically?

I'm not expecting a solution, but thought I'd ask anyway :-)

(Actually, in the case of a) - does anyone know of a program to allow a key press to be mapped to a mouse button?)
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2009-04-10, 05:09 PM
oh, sure, it's always a 'friend' who wants some kinky aspect ratio.; the person asking is straight as an arrow... Big Grin

a) no, not directly, but there are plenty of programs that can do that. I use EventGhost for such things, though it's probably overkill for your purpose.

b) it depends on exactly which modes give the desired results, vs which mode is being used when Auto is selected (understand that all Auto does is choose one of the other modes based on whether the source is 16:9 or 4:3). The aspect ratios are controlled in this bit of config.xml (assuming he has the TV Shape set to 16x9):
Code:
<AspectRatioModes shape="16x9">
    <AspectRatioMode name="Auto" ratio="0,0,0,0" />
    <AspectRatioMode name="Fill" ratio="0,0,1,1" />
    <AspectRatioMode name="Remove LetterBox" ratio="0,-0.125,1,1.125" />
    <AspectRatioMode name="PillarBox" ratio="0.08,0,0.92,1" />
  </AspectRatioModes>

So for 16:9 content, gb-pvr selects the Fill ratio, while for 4:3 content, GB-PVR selects PillarBox (I think; I have a 4:3 set, so I haven't played with 16x9 settings). So what your 'friend' needs to do is see which mode gives the desired result for each content type, vs which mode is selected with Auto (ie, see how the screen looks when Auto is selected, then toggle the modes to see which one looks the same as Auto). It may be possible then to mess with the modes so that Auto results in the desired appearance, even if the resulting mode no longer matches the name.

Example from my setup:
Code:
<AspectRatioModes shape="4x3">
    <AspectRatioMode name="Auto" ratio="0,0,0,0" />
    <AspectRatioMode name="Fill" ratio="0,0,1,1" />
    <AspectRatioMode name="LetterBox" ratio="-0.15,0,1.15,1" />
    <AspectRatioMode name="WideScreen" ratio="0,0.125,1,0.875" />
    <AspectRatioMode name="Zoom" ratio="-0.15,-0.15,1.15,1.15" />
  </AspectRatioModes>

For 16:9 source material when the TV Shape is set to 4x3, GB-PVR picks "LetterBox". By default, this mode letterboxes the 16:9 content... but that's not what I wanted. Much of the time, my HD channels are broadcasting 4:3 content pillarboxed into a 16:9 frame. So by default, the show becomes a 4:3 square in the middle of the TV. Also, even on many 16:9 shows, the left and right sides are just 'extra', because they know the frame is likely to be cropped to 4:3 later. So, I changed the numbers for "Letterbox" to fill the screen (pushing the left and right sides off the edges of the screen). Then for cases where I really do want to see the full widescreen display, I added the new "WideScreen" ratio (which has the numbers from the original "Letterbox" mode). Finally, because I have a couple of 'funny' channels that broadcast in a 4:3 format, but often re-broadcast a 16:9 feed from somewhere else which can in turn include a pillarboxed 4:3 show, I added the "Zoom" ratio which fixes that.

90% of the time then, Auto does what I want. 4:3 channels fill the screen, as do 16:9 channels. Then I use F7 (mapped to a button on my remote) for the odd cases.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2009-04-10, 05:29 PM
Further question though: does your 'friend' have his TV Shape setting in Config (i think it's on the first page) set to 16x9? I keep thinking that leaving the setting on 'Fill' all the time should give him the desired results, but you're saying Fill stretches the 4:3 content as desired, but he has to go back to Auto for 16:9 stuff... I'd have thought Auto would select "Fill" anyway, so it doesn't quite add up to me.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#4
2009-04-10, 05:47 PM
johnsonx42 Wrote:Further question though: does your 'friend' have his TV Shape setting in Config (i think it's on the first page) set to 16x9? I keep thinking that leaving the setting on 'Fill' all the time should give him the desired results, but you're saying Fill stretches the 4:3 content as desired, but he has to go back to Auto for 16:9 stuff... I'd have thought Auto would select "Fill" anyway, so it doesn't quite add up to me.

Sadly it is a real friend, not a "friend" friend. I'm quite happy with a harmony remote talking to an MCE receiver via HIP, etc and have no problems with aspect ratios. Plus I mainly watch real DVDs where Auto behaves as it should. In friend's case...his problems are a) he's too lazy to use F7 (and can't via a mouse) and b) he has too many crappy AVIs that are probably no longer in the correct aspect ratio anyway.

To answer your question though, yes the TV shape setting was set to 16:9.

Fill stretches the 2:35:1 content because I'm guessing the process of ripping/xviding has removed the black bars in an attempt to save space so Fill then stretches the edge of the actual video to the edge of the screen. With a proper DVD, the black bars are still part of the content (someone correct me if I'm wrong?) so Fill can only stretch the edge of the blackness to the edge of the screen, leaving the picture part in the correct ratio.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#5
2009-04-10, 05:50 PM
johnsonx42 Wrote:I keep thinking that leaving the setting on 'Fill' all the time should give him the desired results, but you're saying Fill stretches the 4:3 content as desired, but he has to go back to Auto for 16:9 stuff... I'd have thought Auto would select "Fill" anyway, so it doesn't quite add up to me.

Actually, thinking about it, if left on Auto, when a 2:35:1 AVI was played, the picture filled the entire screen (acting like Fill). But if you toggled through all the modes and back to Auto, then the aspect ratio was correct (with black bars).
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#6
2009-04-10, 06:10 PM
imilne Wrote:Actually, thinking about it, if left on Auto, when a 2:35:1 AVI was played, the picture filled the entire screen (acting like Fill). But if you toggled through all the modes and back to Auto, then the aspect ratio was correct (with black bars).

That's odd. Cycling through the aspect ratios shouldn't change anything when you get back to Auto. Aside from Auto, which other aspect ratio was correct?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
athomas
Offline

Member

Posts: 136
Threads: 14
Joined: Apr 2005
#7
2009-04-11, 11:12 AM
Auto should display any video aspect ratio in its proper form if the codec is working properly. I once had a problem with different aspect ratios not properly displaying. It was the codec. Once I had the proper one selected and configured, it worked great.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#8
2009-04-11, 04:22 PM
athomas Wrote:Auto should display any video aspect ratio in its proper form if the codec is working properly. I once had a problem with different aspect ratios not properly displaying. It was the codec. Once I had the proper one selected and configured, it worked great.

Yes, you're right, ffdshow won't work with auto until you change a setting somewhere in it's config, but I have no recollection which setting it was. I haven't seen a similar issue with other decoders, but I imagine there are others.

Also, you can't leave the decoder selection at 'System Default', even if whichever decoder you have as default happens to work. Likewise, the decoder you do have selected has to work; if that decoder fails to connect and the graph fails back to a different decoder, Auto won't work that way either.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#9
2009-04-11, 05:09 PM
johnsonx42 Wrote:Yes, you're right, ffdshow won't work with auto until you change a setting somewhere in it's config, but I have no recollection which setting it was. I haven't seen a similar issue with other decoders, but I imagine there are others.

Also, you can't leave the decoder selection at 'System Default', even if whichever decoder you have as default happens to work. Likewise, the decoder you do have selected has to work; if that decoder fails to connect and the graph fails back to a different decoder, Auto won't work that way either.

Hmm, that's maybe part of the problem then. I think nVidia PureVideo was selected in the decoder section but the AVIs are probably all xvid which I think was being handled by ffdshow.

I've emailed him about EventGhost but haven't heard back so who knows...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Composite Source using Hauppauge PVR500 gives sound but no video DukeBrymin 1 3,029 2012-02-03, 02:41 AM
Last Post: slowtech
  Two Channels Without Video skycyclepilot 5 3,473 2011-10-29, 07:49 PM
Last Post: sub
  Zehd's Video Library Slick Skin Snooze 0 2,222 2011-09-03, 01:09 AM
Last Post: Snooze
  New Machine (probably old problems), Video Render Options jvcleave 12 5,314 2011-02-01, 08:37 AM
Last Post: stustunz
  No Video in PVRX2 GUI TonySmith35 13 4,866 2011-01-09, 10:31 PM
Last Post: steevo
  Attempts to play .dvd files in Video Library results in PVRX2 not responding Jwbrit 2 2,018 2010-11-04, 11:37 PM
Last Post: Jwbrit
  Resolution Issues when re-encoding captured video bgrieb 5 2,889 2010-11-02, 03:52 AM
Last Post: mvallevand
  Skip forward during playback freezes video then audio smiffypr 3 2,826 2010-10-19, 12:46 AM
Last Post: smiffypr
  No Sound for MPEG2 video dartis 5 10,809 2010-09-12, 11:46 PM
Last Post: rw1
  PVRX2.exe not rendering anything? no menu, video, nothing ClwFLGator 6 3,345 2010-08-24, 04:42 PM
Last Post: ClwFLGator

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

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

Linear Mode
Threaded Mode