View Full Version : looking for banding artifact removal for mpc
empleat
5th June 2019, 23:14
Hey,
i am using svp pro and i can't use vlc. I am using currently mpc and there is banding artifact while watching in full color range. Madvr isn't an option, it is to demanding. I am looking for banding artifact removal solution for mpc.
BetA13
6th June 2019, 02:32
You are in Luck, I have some shaders for MPC HC/BE.
Heres all the Deband shaders i found in HLSL.
Since i am unable to find the Source where i have them from, im just gonna ZIP them and upload it for you.
Then you can see if theres something in there for you.
Download:
https://filehorst.de/d/cltsDwlz
In the ZIP is:
!Debanding090-16-0.hlsl 3,1 KB
!Debanding080-16-0.hlsl 3,1 KB
!Debanding064-16-0.hlsl 3,1 KB
!Debanding300-16-0.hlsl 3,1 KB
!Debanding064-16-48.hlsl 3,1 KB
!Debanding150-16-0.hlsl 3,1 KB
!Debanding100-16-0.hlsl 3,1 KB
!Debanding080-16-48.hlsl 3,1 KB
!Debanding200-16-0.hlsl 3,1 KB
!Debanding300-16-48.hlsl 3,1 KB
!Debanding200-16-48.hlsl 3,1 KB
!Debanding100-16-48.hlsl 3,1 KB
!Debanding150-16-48.hlsl 3,1 KB
!DebandingMPV.hlsl 3,9 KB
!DebandingDefault.hlsl 3,9 KB
DebandMPC.hlsl 2,4 KB
Deband.hlsl 5,1 KB
I hope this helps you. ;)
empleat
7th June 2019, 15:38
Hmm, how to use it ? There is no tutorial. I found tutorial how to add shaders to mpc, which probably used older version of mpc and names of sections didn't existed. I added shader with name mpc and there is yet question to add that to post resize, or pre resize. I also don't know where i edit strenght, which is important. Right now movie looks to blocky, hmm maybe it was already like that, not sure now.
To my problem. I can use any of these players for windows: https://www.svp-team.com/wiki/Manual:Video_players
But i knew only how to fix debanding for vlc - which i can't use and madvr which is to demanding and lower quality movies looks bad on it, unless someone know about some settings, which would make it less demanding, there is a lot of options. I am gonna try to find some other player, which can fix artifact banding, but there are a lot. If someone know fix for any of these players please let me know.
BetA13
7th June 2019, 17:39
hy,
sorry i didnt know you would need an tutorial..
I would suggest to use the MPCBE player, wich has more resizing filter options in the menu..
Get it here: (its the same as MPC just with new Features)
https://forum.doom9.org/showthread.php?t=165890
So a Tutorial it is, here we go:
1. open the MPC player and set the video Output.
https://i.imgur.com/cux5Mag.png
2. Copy the SHADER FILES to: C:\Your Path to mpc\MPC-HomeCinema\Shaders
3. Go to Shader settings in the mpc menu and set up your shaders, you can make profiles here: USE POST RESIZE !!
https://i.imgur.com/jh22E8k.png
4.Now while your playing your video, select the shader you setup from here:
https://i.imgur.com/sx3lnx6.png
You can edit the shader files (hlsl) via an editor or notepad++, whatever you like.
There are preconfigured Debanding shader in the Pack:
!Debanding090-16-0.hlsl 3,1 KB
!Debanding080-16-0.hlsl 3,1 KB
!Debanding064-16-0.hlsl 3,1 KB
!Debanding300-16-0.hlsl 3,1 KB
!Debanding064-16-48.hlsl 3,1 KB
!Debanding150-16-0.hlsl 3,1 KB
!Debanding100-16-0.hlsl 3,1 KB
!Debanding080-16-48.hlsl 3,1 KB
!Debanding200-16-0.hlsl 3,1 KB
!Debanding300-16-48.hlsl 3,1 KB
!Debanding200-16-48.hlsl 3,1 KB
!Debanding100-16-48.hlsl 3,1 KB
!Debanding150-16-48.hlsl 3,1 KB
Test em and see what fits best for your needs..
Also, one more question, are you using LAV? Or an codec pack?
You might wanna setup LAVFilter also.
The Shaders you can edit like this..
Open one with notepad, then look for:
/* --- Settings --- */
#define Threshold 80 //0-4096 (Default 64)
#define Range 16 //1-64 (Default 16)
#define Grain 48 //0-4096 (Default 48)
#define Iterations 1 //1-16 (Default 1)
there you can change the settings, its pretty self explaining.
Greetz
empleat
7th June 2019, 21:06
I have geforce 780.
You recommended mpc be, so i installed it and in install directory there are no folders to put the shaders in. And i choosen 32 bit, because it has to be 32 bit for mpc to support svp. You didn't specify, it probably doesn't matter.
BetA13
7th June 2019, 23:09
there should be a Folder named Shaders.
https://i.imgur.com/GushhEp.png
It does not matter if 32bit or 64bit..
After putting the Files in the Shader Folder you should be able to select them:
https://i.imgur.com/W7cFhOK.gif
empleat
8th June 2019, 01:47
I forget to answer this - yes i am using built in lav filters.
I switched back to mpc hc, because mpc be stop responding when i skip ahead 5 seconds and it is not possible to turn off deinterlacing.
It is now set. But i have run into another problem yet. I have discovered that my picture suffer from noise. When i use denoise3d - under blur section in raw ffdshow video filter, picture is perfectly clear, but audio is ahead from video and every 5 seconds screen freezes.
This is not even problem with svp, i had similar problem in vlc without svp.
And i found article, in which someone solved it by: not using h.264 default codec, but this didn't help me.
So i can't even test if this shader works, because noise artifact. Is there fix for noise too ?
Because ffdshow denoiser3d doesn't work. I keep trying but, not sure, if it can be even fixed.
I wanted to test ffmpeg, but official tutorial is useless: https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg and i don't have even folder bin there. Also they say to use 7zip, which instead of extracting files, makes another archive ending with .tar - strange...
I yet found in mpc is by default included shader denoise, but it doesn't work and i have no idea what changing these values does:
#define width (p0[0])
#define height (p0[1])
#define val0 (1.0)
#define val1 (0.125)
#define effect_width (0.1)
Maybe it can work.
BUMP
Not sure about best setting and don't know what these values do. Some explanation of values would be nice, for default shader denoise.hlsh and that !Debanding080-16-48.hlsl you linked.
EDIT:Btw i tested thoroughly this deband and it doesn't work to well. Video is still pixelated on dark backgrounds.
BUMP
Is there any other debanding sharder, or filter anything ?
BUMP
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.