NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 373 374 375 376 377 … 433 Next »
NPVR - VMR9 have wrong AR (WinXP)

NPVR - VMR9 have wrong AR (WinXP)
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#51
2010-12-29, 11:56 PM
Nothing changed for me with latest patch.

And i am on ATI5770.

BTW, the patch you posted today broke playback of not interlaced videos - now they have black borders around pictures or they are oversan with wrong AR. Was OK with patch you posted first on this thread.
The scaling problem was only with interlaced videos, rest was OK.
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#52
2010-12-30, 12:03 AM
Looks like i will stay on GB-PVR for long time.

I can enable FFDshow deinterlacing and output MPEG-2 as progresive, but this will decrease picture quality + framerate and increase CPU usage :/
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#53
2010-12-30, 12:10 AM
Have you got a progress MPEG-2 sample? All the MPEG-2 Sources I have here are interlaced.
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#54
2010-12-30, 12:51 AM (This post was last modified: 2010-12-30, 12:55 AM by hoborg.)
sub Wrote:Have you got a progress MPEG-2 sample? All the MPEG-2 Sources I have here are interlaced.

This happend on all video formats.

BTW, can i ask why nPVR needs to touch the Size X/Y sliders when opening video? Should not this be set just after user hit F7? At last if VMR7/9 is used.
If video will be opened like in Graphstudio, the problem won't happend until user hit F7.
I still have at last one sample with wrong AR - it does not work correctly even when EVR is in use, but no problem in Graphstudio.
Just for test, can you create patch with disabled AR definition (F7) - to open video like in Graphstudio - is that possible?

For example, since i am on digital LiveTV, i didnt used F7 in GB-PVR for ~1year now.
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#55
2010-12-30, 02:48 AM
hoborg Wrote:BTW, can i ask why nPVR needs to touch the Size X/Y sliders when opening video?
It has to. It basically needs to do this to make sure the video plays with the correct aspect ratio. For example, if you've got a 16:9 window, and try to play 4:3 video, then it needs to use the VMR SetOutputRect() API to tell the video it needs to appear in the middle of the window with black bars on the sides. SetOutputRect() is effectively the Size and Offset sliders in the VMR9 render settings.

If you wanted a version that didnt call SetOutputRect, than it'll be stuck in the 'Full' aspect ratio, and whatever video you watch will fill the screen.

When you press F7 to the 'Full' aspect ratio, then the Offsets are set to (0,0) and the Size is set to (1,1), which is the defaults that work in VMR9. Any other aspect ratio mode uses values other than these, and will see the problem.

Quote:For example, since i am on digital LiveTV, i didnt used F7 in GB-PVR for ~1year now.
Thats because you're not using the VMR9 renderer, so you dont see this bug in the renderer. Instead it's using Direct3D.
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#56
2010-12-30, 07:18 AM (This post was last modified: 2010-12-30, 07:25 AM by hoborg.)
sub:
So no way out?

I am not programer, so maybe my questions can be stupid for you :/.
If i open video in graphstudio, all is OK, i can change increase/decrease window size without problem and AR is still correct. Such a thing is not possible? Just increase window size to fullscreen, but not fill whole screen.
Simply just like Graphstudio doing it, i think you understand what i mean.

Strange i newer saw this issue before, for example MPC-HC or MediaPortal didnt have such problem, both should use VMR9 renderer, but maybe it is modified in some way.
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#57
2010-12-30, 10:50 AM
No luck with the latest patch for me either. I'm using an ATI HD 4550 btw. I'll give it a try with VMR9 in Windows 7 later on if I get the chance; just to see.

Even if you can't fix it for XP (I'm moving to Windows 7/EVR at some point anyway), it would still be nice if you could make it remember the last used aspect ratio, so if you have it set to, for example, "remove letterbox", then next time you play a video that's what it uses straight away.

Thanks as always for taking the time to look at these problems.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#58
2010-12-30, 04:55 PM
hoborg Wrote:sub:
So no way out?

I am not programer, so maybe my questions can be stupid for you :/.
If i open video in graphstudio, all is OK, i can change increase/decrease window size without problem and AR is still correct. Such a thing is not possible? Just increase window size to fullscreen, but not fill whole screen.
Simply just like Graphstudio doing it, i think you understand what i mean.
Its complicated to explain, but the app needs to do this way. A lot of the reason stems from how the alpha blended OSD graphics need overlaid onto the video, with the graphics staying in the same position, while the video is moved into different positions within the window as your change aspect ratio modes.

I can get the video to appear in the correct place on the screen, but the OSD graphics get stuffed up. For example, NPVR shows a panel at the bottom of the screen that contains a filename and description of the video, and the timeline. If you're playing a downloaded movie, with a super wide 2.35 aspect ratio, then a person viewing this on a 4:3 screen would end up with huge black bars above and below the video maintain the correct aspect ratio, with the video filling the smaller portion in the middle. Normally NPVR would display it's OSD graphics in the normal fixed spot at the bottom of the window (in the black bar in this case). If I dont control the size/offset settings in the renderer, then I can get the video to appear in the correct location, but the OSD would go with it - ie the info and timeline would be miles away from the bottom of the screen, and squished (short and wide) into the bottom part of the video in the middle of the screen. (also breaking stuff like the ability to click on the timeline to skip etc)

When you're in a tool like GraphStudio/GraphEdit, you're not having to deal with stuff like OSD graphic placement etc, so people usually dont go as far as a adjusting stream placement in the renderer. NPVR has to move the video around by tweaking the offset/size settings on the video stream.

Quote:Strange i newer saw this issue before, for example MPC-HC or MediaPortal didnt have such problem, both should use VMR9 renderer, but maybe it is modified in some way.
I dont know about MPC-HC, but MediaPortal was like GBPVR and used a custom allocator presenter to draw all its frames using Direct3D rather than using VMR9's renderer. Some apps resize the actual window to be the same shape as the video, or they dont show any OSD graphics, so the problems arent relevent to these.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#59
2010-12-30, 08:42 PM
This patch adds a VMR9Custom renderer option, which uses Direct3D for rendering with VMR9.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#60
2010-12-30, 08:57 PM
sub Wrote:This patch adds a VMR9Custom renderer option, which uses Direct3D for rendering with VMR9.

Wow, assuming this works out, I think it's time to give NPVR a name and make it real.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (10): « Previous 1 … 4 5 6 7 8 … 10 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  npvr is not responding johndutcher 3 1,566 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,047 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,604 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,806 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,822 2021-01-04, 02:58 AM
Last Post: tesla1886
  maximize goes to wrong monitor workmanrob 2 1,390 2020-12-27, 03:30 PM
Last Post: workmanrob
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,234 2020-12-27, 02:27 AM
Last Post: sub
  Can NPVR offset only 3 channel listings in EPG? acemib 20 7,382 2020-04-27, 01:28 PM
Last Post: mvallevand
  Import recorded tv shows to NPVR mattman1968 9 6,195 2020-03-03, 12:57 PM
Last Post: Jimixter
  Easiest way to migrate NPVR to a new machine JP23 1 2,022 2020-02-24, 04:55 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode