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. |
2nd June 2020, 04:13 | #1 | Link |
Registered User
Join Date: Nov 2006
Posts: 51
|
Debanding
Hello!
I'm trying to do an encode of the S1 of Psycho-Pass. Some scenes have heavy banding and blocking (source is BD). I can get rid of the banding using some filters like f3kdb and/or GradFun3, but they do add "static" grain. The thing is... static noise looks unnatural on moving scenes... Is there a way to add fine "moving" grain? Encoding settings are (x265): Code:
--preset slow --crf 15.0 --output-depth 10 --no-sao --bframes=8 --psy-rd=2 --psy-rdoq=5 --aq-mode=3 --deblock=-1:-1 Sample clip (source): https://www.mediafire.com/file/f4ll8...ample.mkv/file Sample screenshot: https://ibb.co/QnsxNhv |
2nd June 2020, 05:49 | #2 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
First, you use debanding with no add grain
f3kdb(range=12, y=60, cb=40, cr=40, grainy=0, grainc=0) Second, you use f3kgrain to add grain f3kgrain(temp=50) # reduce temp can reduce static grain Or you can use this script https://github.com/realfinder/AVS-St...p/F3KDB_s.avsi to add adaptive grain F3KDB_3_adg() # F3KDB_3_adg F3KDB_3 with adaptive grain |
2nd June 2020, 08:49 | #3 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
I think dynamic_grain=true is what switches on non-static grain in (neo_)f3kdb. The default is false.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
2nd June 2020, 11:40 | #4 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
you may like try my edit of GrainFactory3 and GrainFactory3mod that has new use_sAverageLumaMask bool
__________________
See My Avisynth Stuff |
2nd June 2020, 23:58 | #6 | Link |
Registered User
Join Date: Nov 2006
Posts: 51
|
Using:
f3kdb(range=12, y=60, cb=40, cr=40, grainy=0, grainc=0) f3kgrain(temp=50) and --psy-rdoq 8 I was able to get: https://www.mediafire.com/file/l8dou...d.mkv.mkv/file https://ibb.co/JrfzT4f Hmmm... I guess it looks good enough (?) But I'll try a few other suggestions before encoding the whole series. Thanks to everyone so far! |
3rd June 2020, 01:14 | #7 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|