Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st May 2019, 23:26   #56421  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,683
Quote:
Originally Posted by SirMaster View Post
I am using a projector with an anamorpic lens and the image spills off the screen, I just want to crop off some of the video with black and the projector being used doesn't have this option, so I was hoping madVR could do it.
If you configure your display as a projector, under devices, you can define a visible screen area to remove the spill over. It seems like you must already be using this if you are using an anamorphic lens, is there a reason you do not want to define the visible screen area?
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 1st June 2019, 03:46   #56422  |  Link
grendelrt
Registered User
 
Join Date: Sep 2017
Posts: 15
Quote:
Originally Posted by Manni View Post
I have noticed the same issue recently. Yes it should work as a toggle. I haven't had a chance to debug it, but it definitely doesn't work as it should. It could be a change in madVR, as I haven't changed the OS or GPU driver (I'm testing 430.86 at the moment but I get this issue with 385.28 to).

Please could you report:

GPU & driver version
OS version and build
madVR version

Anyone else noticed this?
I tried 430.86 and 430.39
Windows 10 1809
Madvr build 78 I want to say
grendelrt is offline   Reply With Quote
Old 1st June 2019, 07:31   #56423  |  Link
SirMaster
Registered User
 
Join Date: Feb 2019
Posts: 46
Quote:
Originally Posted by Asmodian View Post
If you configure your display as a projector, under devices, you can define a visible screen area to remove the spill over. It seems like you must already be using this if you are using an anamorphic lens, is there a reason you do not want to define the visible screen area?
Thanks for your assistance!

I feel like I have tried the right option, but I don't know how to describe what's not seemingly working correctly. So instead I have taken a video.

Hopefully you can see what's going on.

So essentially, the video spills over the left and right sides of the screen. I want to simply crop in the sides so that black is spilling over the sides rather than image data, because it's a very bright laser projector and you can see the spill even over black velvet.

When I use the "define visible screen area by cropping masked borders" it does bring in the sides, but all it's doing is shrinking the entire video, and that is also affecting the top and bottom of the image as well. It seems to be maintaining the aspect ratio, when what I want is to crop in the sides only, therefore changing the aspect ratio.

The video shouldn't change size at all, all that should happen is the spill over on the sides should be black rather than be active video.

At least that's what I want to do. Not sure how to make that happen but I feel like there should be a way. Normally I would use a feature on the projector itself called masking, but this projector has no masking option.

https://youtu.be/nL9pcxm9phM
SirMaster is offline   Reply With Quote
Old 1st June 2019, 11:27   #56424  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,683
Ah, yes. Unfortunately madVR does not have a manual crop option, it can only remove black bars or crop up to 7 lines from all sides.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 1st June 2019, 12:40   #56425  |  Link
Siso
Registered User
 
Siso's Avatar
 
Join Date: Sep 2013
Location: Bulgaria
Posts: 402
Quote:
Originally Posted by Asmodian View Post
Ah, yes. Unfortunately madVR does not have a manual crop option, it can only remove black bars or crop up to 7 lines from all sides.
Manual crop would be a good feature
Siso is offline   Reply With Quote
Old 1st June 2019, 13:39   #56426  |  Link
elraffa
Registered User
 
Join Date: Dec 2013
Posts: 27
Quote:
Originally Posted by grendelrt View Post
I tried 430.86 and 430.39

Windows 10 1809

Madvr build 78 I want to say
does 0.92.17 the last madvr version? where can I download new builds?

Enviado desde mi Redmi Note 6 Pro mediante Tapatalk
elraffa is offline   Reply With Quote
Old 1st June 2019, 13:44   #56427  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,214
You don't want the new builds, they're for testing HDR to SDR conversion, a final isn't that far off just grab 0.92.17.
ryrynz is offline   Reply With Quote
Old 1st June 2019, 16:23   #56428  |  Link
Warner306
Registered User
 
Join Date: Dec 2014
Posts: 1,124
Quote:
Originally Posted by SirMaster View Post
Thanks for your assistance!

I feel like I have tried the right option, but I don't know how to describe what's not seemingly working correctly. So instead I have taken a video.

Hopefully you can see what's going on.

So essentially, the video spills over the left and right sides of the screen. I want to simply crop in the sides so that black is spilling over the sides rather than image data, because it's a very bright laser projector and you can see the spill even over black velvet.

When I use the "define visible screen area by cropping masked borders" it does bring in the sides, but all it's doing is shrinking the entire video, and that is also affecting the top and bottom of the image as well. It seems to be maintaining the aspect ratio, when what I want is to crop in the sides only, therefore changing the aspect ratio.

The video shouldn't change size at all, all that should happen is the spill over on the sides should be black rather than be active video.

At least that's what I want to do. Not sure how to make that happen but I feel like there should be a way. Normally I would use a feature on the projector itself called masking, but this projector has no masking option.

https://youtu.be/nL9pcxm9phM
Isn't it correct for a 2.40:1 movie to have black bars when shown on a 2.35:1 screen? Otherwise, you would lose image data.

Edit: I think the only possible solution I can think of is to set up a 2.35:1 profile in screen config with the top and bottom of the image cropped to get a 2.35:1 aspect ratio and then check zoom big black bars away to see if the 2.40:1 movie (I assume that is Lucy on UHD Blu-ray) is zoomed beyond the borders of the media player window with some cropping at the screen edges.

Last edited by Warner306; 1st June 2019 at 19:15.
Warner306 is offline   Reply With Quote
Old 1st June 2019, 17:07   #56429  |  Link
bcec
Registered User
 
Join Date: Nov 2014
Posts: 81
@madshi:

there's been an influx of 4k remasters with teal+orange color grading that looks awful. do you think it would ever be possible to add something like a de-teal/orange at all?
bcec is offline   Reply With Quote
Old 1st June 2019, 20:53   #56430  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 5,894
Quote:
Originally Posted by garson View Post
Here's new screenshot, while movie is playing.
i can't see anything odd except for the decoder queue it higher then it should be.
the issue could even be the file it self.
huhn is offline   Reply With Quote
Old 1st June 2019, 23:38   #56431  |  Link
tp4tissue
Registered User
 
tp4tissue's Avatar
 
Join Date: May 2013
Posts: 406
Quote:
Originally Posted by bcec View Post
@madshi:

there's been an influx of 4k remasters with teal+orange color grading that looks awful. do you think it would ever be possible to add something like a de-teal/orange at all?
Could you list some examples of teal/orange movies?
__________________
Ghetto | 2500k 5Ghz
tp4tissue is offline   Reply With Quote
Old 2nd June 2019, 00:22   #56432  |  Link
garson
Registered User
 
Join Date: May 2011
Posts: 48
Quote:
Originally Posted by huhn View Post
i can't see anything odd except for the decoder queue it higher then it should be.
the issue could even be the file it self.
Thanks huhn.
Anything I can do to change/fix this (decoder queue being high)? This is CPU queue size in madvr general settings, right?
Default is 12, I increased it to 16 (saw some recommendations).
garson is offline   Reply With Quote
Old 2nd June 2019, 00:33   #56433  |  Link
Siso
Registered User
 
Siso's Avatar
 
Join Date: Sep 2013
Location: Bulgaria
Posts: 402
Quote:
Originally Posted by garson View Post
Thanks huhn.
Anything I can do to change/fix this (decoder queue being high)? This is CPU queue size in madvr general settings, right?
Default is 12, I increased it to 16 (saw some recommendations).
CPU queue is 16 by default
Siso is offline   Reply With Quote
Old 2nd June 2019, 00:37   #56434  |  Link
garson
Registered User
 
Join Date: May 2011
Posts: 48
Quote:
Originally Posted by Siso View Post
CPU queue is 16 by default
Oh, ok.
I am gonna try to increase it a bit and see how it goes.
garson is offline   Reply With Quote
Old 2nd June 2019, 05:12   #56435  |  Link
tp4tissue
Registered User
 
tp4tissue's Avatar
 
Join Date: May 2013
Posts: 406
@garson,

is there a reason you're watching a 720p file ? is that just for testing ?

Scaling 720p to 1080p results in far worse quality and more gpu use than simply watching a 1080p file.
__________________
Ghetto | 2500k 5Ghz
tp4tissue is offline   Reply With Quote
Old 2nd June 2019, 05:46   #56436  |  Link
SirMaster
Registered User
 
Join Date: Feb 2019
Posts: 46
Quote:
Originally Posted by Warner306 View Post
Isn't it correct for a 2.40:1 movie to have black bars when shown on a 2.35:1 screen? Otherwise, you would lose image data.

Edit: I think the only possible solution I can think of is to set up a 2.35:1 profile in screen config with the top and bottom of the image cropped to get a 2.35:1 aspect ratio and then check zoom big black bars away to see if the 2.40:1 movie (I assume that is Lucy on UHD Blu-ray) is zoomed beyond the borders of the media player window with some cropping at the screen edges.
So he is using an anamorphic lens. The lens stretches the image out horizontally to fill out the screen. It's a rather large 15ft wide screen.

The projector is doing the vertical stretch. We don't use madvR to do the stretch for other reasons. (rendering times go from 30ms to 300ms when we enable anamorphic stretch in madVR due to how the image and chroma scaling compound or something like that.)

His screen is 2.37:1 and the movie is 2.40:1.

What he normally does, is zooms the projector so that the narrowest movies (2.40:1) fill the screen vertically, and then that means they overshoot the sides by a bit. This also means that 2.35:1 movies will overshoot all 4 sides. Normally with a decent projector this isn't a problem since they offer image masking, and you just mask off the 4 sides of the projector's image to fit your screen perfectly. This is what he did on his previous JVC RS600.

However, he just got a BenQ LK970 laser projector that does not have this masking option.

I think another issue is that his anamorphic lens is not perfect and it stretches the image horizontally slightly more than it should. So the issue is that if he wants to fill his screen vertically, the image will always overshoot his screen horizontally. This is why we need to cover some of the projector's image with black essentially so that the overshoot is invisible.

I am trying to understand your edited response, but I will have to think about it some more. Maybe my latest reply here sheds some more light on the set up and what we are trying to achieve.

Recap:

2.40 movie, stretched vertically by the projector to fill the projector's full 16:9 panel. Projector stretch is a 2.35:1 -> 16:9 stretch, so there is still a small black edge on the top and bottom of the projector's 16:9 panel after it vertically stretches 2.35:1 -> 16:9, because the movie is 2.40:1.

Projector is lens zoomed to make the 2.40:1 image fill the 2.37:1 screen vertically. This leaves a horizontal picture overshoot due to 2 factors. 1, because 2.40:1 is a wider aspect ratio than his screen, and 2, because his anamorphic horizontal stretch lens is not perfect and stretches the image slightly too far.

What we need to do in some way is to take a 2.40:1 movie and essentially crop off the sides a bit to make it a narrower aspect ratio. In truth we would also probably crop the top and bottom a little bit too, but again this is a crop that really is just trimming off some of the image data turning it into black, hopefully no zooming or scaling should be taking place or else that just messes it all up again.

So if you viewed this on a normal monitor, it would look like the video does not fill all the way to the edge of the screen, but it's not shrunk so scaling is not affected, it's just covered up by black. Need to render a black border over the top of the video to cover up some of the video on the sides and a little bit on the top and bottom too ideally.

Last edited by SirMaster; 2nd June 2019 at 05:52.
SirMaster is offline   Reply With Quote
Old 2nd June 2019, 08:45   #56437  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,683
Is it a really weak GPU or using crazy upscaling settings? 300ms is way too high for reasonable settings on even a low end dGPU.

madVR cannot do this, you need a manual crop option and madVR is designed assuming you are not willing to lose more than 7 lines of the image off all sides under any circumstances.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 2nd June 2019, 17:13   #56438  |  Link
Warner306
Registered User
 
Join Date: Dec 2014
Posts: 1,124
Quote:
Originally Posted by SirMaster View Post
So he is using an anamorphic lens. The lens stretches the image out horizontally to fill out the screen. It's a rather large 15ft wide screen.

The projector is doing the vertical stretch. We don't use madvR to do the stretch for other reasons. (rendering times go from 30ms to 300ms when we enable anamorphic stretch in madVR due to how the image and chroma scaling compound or something like that.)

His screen is 2.37:1 and the movie is 2.40:1.

What he normally does, is zooms the projector so that the narrowest movies (2.40:1) fill the screen vertically, and then that means they overshoot the sides by a bit. This also means that 2.35:1 movies will overshoot all 4 sides. Normally with a decent projector this isn't a problem since they offer image masking, and you just mask off the 4 sides of the projector's image to fit your screen perfectly. This is what he did on his previous JVC RS600.

However, he just got a BenQ LK970 laser projector that does not have this masking option.

I think another issue is that his anamorphic lens is not perfect and it stretches the image horizontally slightly more than it should. So the issue is that if he wants to fill his screen vertically, the image will always overshoot his screen horizontally. This is why we need to cover some of the projector's image with black essentially so that the overshoot is invisible.

I am trying to understand your edited response, but I will have to think about it some more. Maybe my latest reply here sheds some more light on the set up and what we are trying to achieve.

Recap:

2.40 movie, stretched vertically by the projector to fill the projector's full 16:9 panel. Projector stretch is a 2.35:1 -> 16:9 stretch, so there is still a small black edge on the top and bottom of the projector's 16:9 panel after it vertically stretches 2.35:1 -> 16:9, because the movie is 2.40:1.

Projector is lens zoomed to make the 2.40:1 image fill the 2.37:1 screen vertically. This leaves a horizontal picture overshoot due to 2 factors. 1, because 2.40:1 is a wider aspect ratio than his screen, and 2, because his anamorphic horizontal stretch lens is not perfect and stretches the image slightly too far.

What we need to do in some way is to take a 2.40:1 movie and essentially crop off the sides a bit to make it a narrower aspect ratio. In truth we would also probably crop the top and bottom a little bit too, but again this is a crop that really is just trimming off some of the image data turning it into black, hopefully no zooming or scaling should be taking place or else that just messes it all up again.

So if you viewed this on a normal monitor, it would look like the video does not fill all the way to the edge of the screen, but it's not shrunk so scaling is not affected, it's just covered up by black. Need to render a black border over the top of the video to cover up some of the video on the sides and a little bit on the top and bottom too ideally.
I think you can accomplish this.

If you don't have the ability to crop an image, showing a 2.40:1 movie on a 2.35:1 or 2.37:1 screen would require leaving small black bars at the top and bottom of the image, like this, rather than have the image spill out the sides:

2.40:1 movie on 2.35:1 screen

If you define at 2.37:1 rectangle in screen config (3840 x 1620 or 4096 x 1728), then zoom control will crop all content to fit this rectangle, so it should always have the correct width and height to fit a 2.37:1 scope screen with cropping when necessary.

Under zoom control, you need to select automatically detect hard coded black bars and if there are big black bars ...zoom the bars away completely.

I really don't know how an anamorphic lens works in practice. So I can't tell you if the lens will stretch this rectangle correctly. You should be able to use the anamorphic stretch in madVR with zoom control enabled. If you are outputting to 4096 x 2160p, then set image upscaling to something like Lanczos3 + AR to lower rendering times for the required upscaling.

I think the anamorphic stretch looks right without screen masking in screen config with zoom control set to automatically detect hard coded black bars and if there are big black bars ...zoom the bars away completely.

I wrote some instructions on zoom control in the madVR guide in my signature (under 2. Processing) that could be worth reading. There are also some pictures with my TV used as the example projector screen to show what zoom control is doing, but there is no anamorphic stretch in the example. Because I can't test this, I'm not sure if I got the instructions right. I guess you can try them and report back...
Warner306 is offline   Reply With Quote
Old 2nd June 2019, 19:45   #56439  |  Link
Charky
Registered User
 
Join Date: Apr 2018
Location: Paris, France
Posts: 58
Quote:
Originally Posted by bcec View Post
@madshi:

there's been an influx of 4k remasters with teal+orange color grading that looks awful. do you think it would ever be possible to add something like a de-teal/orange at all?
As an amateur filmmaker, I can tell you that it's most probably not possible. Color grading is a very complex task done shot by shot with an artistic intent. It's not something that can be done (or "undone", which is technically doing another color grading based on an already color graded picture, with which will only degrade picture quality) on the fly with an algorithm. Even the auto-adjust option or LUT presets you can find in NLVE software like Adobe Premiere are just a base you have to manually tweak shot by shot for optimal results.

Bottom line : no, I don't think you can "un-teal & un-orange" a movie that has been color graded this way
__________________
Charky

"Rule #1 : If it works, don't change anything."
Charky is offline   Reply With Quote
Old 2nd June 2019, 21:15   #56440  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,683
Quote:
Originally Posted by Warner306 View Post
If you don't have the ability to crop an image, showing a 2.40:1 movie on a 2.35:1 or 2.37:1 screen would require leaving small black bars at the top and bottom of the image, like this, rather than have the image spill out the sides:
What they want is no small black bars at the top and bottom, losing image data off the sides. They already know how to get a proper image but they would rather lose some ot the image from the sides than have the remaining black bars.

This is why it cannot be done with madVR.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT +1. The time now is 07:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.