Page 1 of 1 |
|
Posted: Sun, 10th Jul 2016 18:35 Post subject: "Add noise" shader for MPC or similar |
|
 |
Hi all,
I need a shader for MPC-HC which introduces noise/grain into output video, to artificially add "details" into low-bitrate 1080p video during playback. Does anyone have any recommendation, which (s)he actually tried?
|
|
Back to top |
|
 |
|
Posted: Sun, 10th Jul 2016 18:48 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 21:27; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Sun, 10th Jul 2016 19:01 Post subject: |
|
 |
I try not to introduce external DirectShow filters (such as ffdshow), and I don't know how to use AviSynth plugins with MPC-HC (too tired to research now).
Meanwhile I found something here:
http://forum.doom9.org/showthread.php?t=169719
effect\semi-random colored surface noise.txt
effect\semi-random grayscale noise.txt
These are pixel shader 2.0 code so they can be used with MPC-HC directly (rename to .HLSL and use in Options -> Playback -> Shaders). However these implementations are too agressive, I'll have to tweak the code a bit.
EDIT:
It was as easy as replacing
#define NoiseStrength .25
with
#define NoiseStrength .15
Looks great now.
EDIT2:
VLC has it built-in, Preferences (all) -> Video -> Filters, check "Grain"
|
|
Back to top |
|
 |
|
Posted: Sun, 10th Jul 2016 19:16 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 21:27; edited 1 time in total
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sun, 10th Jul 2016 19:47 Post subject: |
|
 |
Last edited by paxsali on Thu, 4th Jul 2024 21:27; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Sun, 10th Jul 2016 19:52 Post subject: |
|
 |
Yes, I'm using it with MPC for several years, but for shitty material such as this, I need something stronger to fill washed-out surfaces.
|
|
Back to top |
|
 |
Nui
VIP Member
Posts: 5720
Location: in a place with fluffy towels
|
Posted: Sun, 10th Jul 2016 19:55 Post subject: |
|
 |
@ pax
madvr should not introduce noise for no reason, e.g. for blurry ares. Dithering is applied when the need arises when some operation produces values between discrete possible values (after sharpening, image scaling, level scaling, debanding, lut calibration etc). The achieved effect above should not happen with madvr.
Do you have an example where this actually happened?
|
|
Back to top |
|
 |
3E74
Posts: 2559
Location: feels wrong
|
Posted: Sun, 10th Jul 2016 20:22 Post subject: |
|
 |
a little grain/noise can improve details..With this old source, maybe a good idea..
doesnt sweetfx work? theres an grain shader and ceejay made em all mpchc compatible..
whait heres an link to the shaders...
http://forum.doom9.org/showthread.php?p=1673781#post1673781
did you also try different settings here?
also try the (anti ringing) options in madvr. they also should help with old sources..
also, maybe a little detail enhancement, should be under image enhancements or image upscaling enhancements, depending on what you wann use it, before or after upscaling/downscaling..
use image doubling also, works wonders..
and what nui sayd..
..:: Life - A sexually transmitted disease which always ends in death. There is currently no known cure::.. 
|
|
Back to top |
|
 |
|
Posted: Sun, 10th Jul 2016 20:41 Post subject: |
|
 |
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |