View Full Version : Shader question using on MPC-HomeCinema
squall12
18th November 2009, 12:44
Hi guy,
wanted to asked what is the recommended shader to used when watching rip blueray mkv movie to get good picture on my Samsung LCDTV? Using MPCHC with windows 7 OS and ATI 4670..
thanks
nurbs
18th November 2009, 12:52
Personally I like "sharpen complex 2", but I guess it comes down to personal preference.
Casshern
18th November 2009, 15:12
If you use EVR CP or VMR9 you should always use YV12 chroma upsampling first (at least with an ATI card, do not know about the nvideas) - or else you get blocky chroma, that is for example visible with red text on black background. You can combine this filter with a sharpening filter like sharpen complex 2. But one should adjust the parameters a little. More more info on the parameters of sharpen complex 2 see this post:
http://forum.doom9.org/showthread.php?p=1343982#post1343982
Personally I like "sharpen complex 2", but I guess it comes down to personal preference.
CiNcH
19th November 2009, 14:26
When should resizing come into play? Currently it is after the shaders, right? Which means that the artefacts, introduced by sharpening, are scaled as well. Sharpening an upscaled image would result in much higher shader usage..
So how would you define the post processing pipeline? Which stages are handles by DXVA, the renderer and external shaders?
Leak
19th November 2009, 20:25
When should resizing come into play? Currently it is after the shaders, right? Which means that the artefacts, introduced by sharpening, are scaled as well. Sharpening an upscaled image would result in much higher shader usage..
I assume you haven't tried a more recent version of MPC-HC, as you have been able to choose which shaders to run before and after scaling for some time now...
leeperry
19th November 2009, 21:21
basic sharpen at 0.65 looks good
ChronoReverse
20th November 2009, 06:42
Not sure if this would be the right place to ask but what would it take to get a pixel shader version of Deband? Is the Deband algorithm something that isn't suited for pixel shaders?
Casshern
20th November 2009, 10:30
Not sure if this would be the right place to ask but what would it take to get a pixel shader version of Deband? Is the Deband algorithm something that isn't suited for pixel shaders?
It depends on the exact nature of what deband is supposed to do - e.g. should it employ some form of dithering. Maybe you could post a pseudocode example of the deband (including the dithering) you have in mind....
Leak
20th November 2009, 15:17
It depends on the exact nature of what deband is supposed to do - e.g. should it employ some form of dithering. Maybe you could post a pseudocode example of the deband (including the dithering) you have in mind....
I think he wants a pixel shader version of the gradfun2db AviSynth filter...
The source for that would be here (http://avisynth.org/warpenterprises/files/gradfun2db_25_dll_20060315.zip).
EDIT: of course extracting the algorithm from the assembly could be a problem...
CiNcH
20th November 2009, 18:45
I assume you haven't tried a more recent version of MPC-HC, as you have been able to choose which shaders to run before and after scaling for some time now...
Which version would that be and how can this be achieved. I am using version 1.3.1342 and am trying to build a chain with the 'Shader Combiner'. But I can't define whether to apply a shader before or after scaling.
Casshern
20th November 2009, 18:54
Reverse engineering the algo from the assembly is no fun at all, especially as the source is devoid of almost any comments about what it is actually doing.
I think he wants a pixel shader version of the gradfun2db AviSynth filter...
The source for that would be here (http://avisynth.org/warpenterprises/files/gradfun2db_25_dll_20060315.zip).
EDIT: of course extracting the algorithm from the assembly could be a problem...
ChronoReverse
20th November 2009, 22:05
EDIT: of course extracting the algorithm from the assembly could be a problem...
Yeah, I've already taken a quick look at the assembly and there's no way I can make heads or tails of the algorithm from that lol. I had thought it might be written in C but nope. That's why I was wondering if it was an algorithm that would be documented somewhere.
Leak
22nd November 2009, 19:52
Which version would that be and how can this be achieved. I am using version 1.3.1342 and am trying to build a chain with the 'Shader Combiner'. But I can't define whether to apply a shader before or after scaling.
The shaders under "Shaders > Combine Shaders..." are applied before scaling, the shaders under "Shaders > Combine Screen Space Shaders..." are applied after scaling...
np: Speedy J - Caligula (A Shocking Hobby)
CiNcH
26th November 2009, 11:55
Thanks! Works great! Now I have to evaluate this a little bit.
I have not yet actively worked with Pixelshaders. The way I see it, they are executed for one picture at a time. Would it theoretically be possible to take more than one picture into account to perform things like motion estimation? E.g. for temporal deinterlacing and/or "in-between picture calculation". Or is the shader concept for Custom Presenters not enough to accomplish these kind of things? At least not the way it is currently implemented for MPC-HC.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.