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 > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th June 2019, 23:14   #1  |  Link
empleat
Registered User
 
Join Date: Jun 2018
Posts: 24
looking for banding artifact removal for mpc

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.
empleat is offline   Reply With Quote
Old 6th June 2019, 02:32   #2  |  Link
BetA13
cosmic entity
 
BetA13's Avatar
 
Join Date: May 2011
Location: outside the Box
Posts: 258
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:
Quote:

!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.

Last edited by BetA13; 6th June 2019 at 04:38.
BetA13 is offline   Reply With Quote
Old 7th June 2019, 15:38   #3  |  Link
empleat
Registered User
 
Join Date: Jun 2018
Posts: 24
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.

Last edited by empleat; 7th June 2019 at 15:59.
empleat is offline   Reply With Quote
Old 7th June 2019, 16:49   #4  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
what GPU are you using?
huhn is offline   Reply With Quote
Old 7th June 2019, 17:39   #5  |  Link
BetA13
cosmic entity
 
BetA13's Avatar
 
Join Date: May 2011
Location: outside the Box
Posts: 258
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.



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 !!


4.Now while your playing your video, select the shader you setup from here:



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:

Quote:
/* --- 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

Last edited by BetA13; 7th June 2019 at 17:45.
BetA13 is offline   Reply With Quote
Old 7th June 2019, 21:06   #6  |  Link
empleat
Registered User
 
Join Date: Jun 2018
Posts: 24
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.

Last edited by empleat; 7th June 2019 at 21:50.
empleat is offline   Reply With Quote
Old 7th June 2019, 23:09   #7  |  Link
BetA13
cosmic entity
 
BetA13's Avatar
 
Join Date: May 2011
Location: outside the Box
Posts: 258
there should be a Folder named Shaders.


It does not matter if 32bit or 64bit..

After putting the Files in the Shader Folder you should be able to select them:


Last edited by BetA13; 7th June 2019 at 23:18.
BetA13 is offline   Reply With Quote
Old 8th June 2019, 01:47   #8  |  Link
empleat
Registered User
 
Join Date: Jun 2018
Posts: 24
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/ada...talling-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

Last edited by empleat; 23rd June 2019 at 12:30.
empleat is offline   Reply With Quote
Reply

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 16:01.


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