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. |
26th September 2009, 08:55 | #41 | Link | ||
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
2 methods for denoising/sharpening: -1st is Mdegrain3 + your LSF script (quicker but less details) -2nd is MCtemporaldenoise (from LATO) with included sharpening (slower, more details) Softsharpen is not used because Mdegrain2 would have been used instead of Mdegrain3, so less quality. I will see with Leon if the thresholds can be changed. Would have replaced MCTD in script2: Quote:
Each script has same beginning with deblocking and ending with deringing and dehaloing -1/ Mdegrain3 + LSF script Code:
#Preprocess DeGrainMedian(mode=5) LanczosResize(720,432) BlindPP(cpu2="xxxxoo", quant=31) #deblocking, part of dgdecode #Denoise super = MSuper(pel=2, sharp=2) bv1 = MAnalyse(super, isb = true, delta = 1, overlap=4) fv1 = MAnalyse(super, isb = false, delta = 1, overlap=4) bv2 = MAnalyse(super, isb = true, delta = 2, overlap=4) fv2 = MAnalyse(super, isb = false, delta = 2, overlap=4) bv3 = MAnalyse(super, isb = true, delta = 3, overlap=4) fv3 = MAnalyse(super, isb = false, delta = 3, overlap=4) MDegrain3(super,bv1,fv1,bv2,fv2,bv3,fv3,thSAD=300) #Mdegrain3, strength=300 #Sharpen and postprocess lsfmod(smode=3, Smethod=3, kernel=19, soothe=true) BlindPP(cpu2="ooooxx", quant=4) #deringing, also from dgdecode blinddehalo3(ppmode=-3) # didée script for dehalo http://www.mediafire.com/file/4rv0nw...f_19_fr987.png 2/ McTemporaldenoise; I am sure it can be better tuned - I am not accustomed to new version: Code:
#Preprocess DeGrainMedian(mode=5) LanczosResize(720,432) BlindPP(cpu2="xxxxoo", quant=31) #deblocking, part of dgdecode #Denoise and adaptative sharpen - sigma= str of denoising; strength=str of sharpening MCTemporalDenoise(settings="medium",sigma=20,adapt=true,strength=8,protect=true,flat=true) #postprocess BlindPP(cpu2="ooooxx", quant=4) #deringing, also from dgdecode blinddehalo3(ppmode=-3) # didée script for dehalo http://www.mediafire.com/file/qwiztt...rp_8_fr987.png All these scripts and filters should be available here at doom9. Did Edit: for MCTD, the sharp is too low and so maybe the denoising; 3/ MCTD new values approaching script1: Quote:
http://www.mediafire.com/file/kc4zze...p_60_fr987.png
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. Last edited by BigDid; 26th September 2009 at 17:30. |
||
27th September 2009, 20:08 | #43 | Link | |
Registered User
Join Date: Sep 2009
Location: Poitiers (Fr)
Posts: 77
|
Quote:
With SoftSharpen 7.2, let's try this script Code:
# Preprocess + Denoise + adaptative sharpen + beginning of postprocess SoftSharpen(denois=6,width=720,height=432,debl=31,DenoisT=6.3,sharp=15,blur=0,derin=4) # end of postprocess blinddehalo3(ppmode=-3) denoisT=6.3 <--> Mdegrain3(300) Last edited by leon1789; 27th September 2009 at 20:15. |
|
28th September 2009, 10:48 | #45 | Link | ||
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Quote:
Why not sigma=500? Useful range is 2-20... 40 is really too high for this type of source! |
||
28th September 2009, 17:35 | #46 | Link |
Carlos Martinez
Join Date: Aug 2005
Posts: 288
|
BigDid,
So that this does not become a tennis game where I don't know what are the rules, can you start by telling me what you diagnose as the problems you see? Then perhaps I can start to understand what you look for on the available tools. From what I could try on my AvsP, using your suggestions 1, 2 and 3, the only one I could not get to run was MCTemporalDenoise. It asks me for things I already have, but when I show the path it gets stuck. |
29th September 2009, 05:23 | #49 | Link | ||
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
MCTD is quite picky about needed dll revs. To get the MCTD (1.3.00) working, I have: LSFmod (1.8) MVtools2 (2.4.7) Mt-Masktools (2.0.36) Gradfun2dbmod (1.3) ... other filters as in the needed filters read me from here: http://forum.doom9.org/showthread.php?t=139766 Once you get it working, it will be up to you to tune the MCTD preset. If I follow LATO advice and not crank up sigma, it should tend towards something like: Code:
MCTemporalDenoise(settings="high",sigma=20,sharp=true,strength=50,protect=true,flat=true) Did Edit: Quote:
http://avisynth.org.ru/docs/english/...ters/tivtc.htm
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. Last edited by BigDid; 29th September 2009 at 16:56. |
||
30th September 2009, 19:02 | #50 | Link |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
After exchanging with Leon, he made some internal changes to get SoftSharpen (SS) process the temporal denoising more like Mdegrain (specially MD3). Softsharpen rev 7.3 is needed and preset=light is to be used. The resulting script: Code:
#Preprocess DeGrainMedian(mode=5) LanczosResize(720,432) BlindPP(cpu2="xxxxoo", quant=31) #deblocking, part of dgdecode #Denoise and adaptative sharpen , temporal-denoise str=6 (=thsad-300) Mdegrain3 used, light spatial denoise str=2 SoftSharpen(preset="light",denois=2,DenoisT=6.3,sharp=15,blur=0,derin=0) #postprocess BlindPP(cpu2="ooooxx", quant=4) #deringing, also from dgdecode blinddehalo3(ppmode=-3) # didée script for dehalo http://www.mediafire.com/file/demmmz....3_2_fr985.png SS has internal params for deblocking, denoising (both temporal and spatial), deringing and debanding. Some of these options were used outside SS for paralleling the script with other filters (Mdegrain3, LSF, and MCTD) and also not all options, like deblocking, are full-MT capable. After quite some time involved for these tests, my conclusion is that for good processing Softsharpen does the job and quite quickly. If more sharp is needed, use SS with sharp=0 and use LSF after (slower). If very good processing is needed switch to MCTD and fine tune the many options to your needs (slow to very slow). Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
30th September 2009, 21:01 | #51 | Link |
Carlos Martinez
Join Date: Aug 2005
Posts: 288
|
I do need some explanation.
The script you suggest does modify the shape of the final image. After several tries, I thought I had got to a shape that seemed to be the "right one" for this film. It had been: Crop(0,44,0,-42) spline36resize(720,480,0,2,0,-2) It provided a slightly anamorphized image that got right when processed fo 16:9. Is that wrong? |
30th September 2009, 23:16 | #52 | Link |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
The resizing (from AGK using ITU and mod16) was made to get things working (DGindex processing and informations) and have a base script; nothing more. If you want some baselines, please follow advices from experts like MANONO. Concerning resizing, Lanczos is sharper with more artifacts, Spline is more neutral. I think that SoftSharpen internal resizer uses Gaussresize with some options. Up to you. Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
1st October 2009, 15:32 | #53 | Link |
Carlos Martinez
Join Date: Aug 2005
Posts: 288
|
Did,
I am not trying to complaint or anything. Just trying to understand what in your suggested script, except the obvious Lanczosresize, was related to resizing too, inside every filter setup, and getting me errors. For instance, I still can't make MCTemporalDenoise to work. All the filters are there, all new, and keep getting the error I showed when I write: loadPlugin("C:\video\AviSynth 2.58\plugins\fftw3.dll") I don't get what filter should I use for Denoise and adaptative sharpen, your second group. The filters in "postprocess" make things too foggy, as has been my experience with blinddehalo until now. |
1st October 2009, 18:36 | #55 | Link | |||
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
I will try to separate things. For above if you never used fft3dfilter() or it's gpu variant fft3dgpufilter(), you need to get fft3d.ddl in avisynth plugins directory AND fftw3.dll in X:\WINDOWS\system32\; X being th letter for your system HD or volume (usually C\ ) Fft3dfilter is a prerequisite for MCTD Quote:
MCTemporaldenoise (MCTD): Code:
MCTemporalDenoise(settings="high",sigma=20,sharp=true,strength=50,protect=true,flat=true) Code:
SoftSharpen(preset="light",denois=2,DenoisT=6.3,sharp=15,blur=0,derin=0) Quote:
At this point, my suggestion is try to make things working (SS prerequisite are fewer than MCTD and process is quicker) tune it, maybe by looking at the post process first and going in reverse. When OK, try the other script (MCTD), tune it again and see if gain is worth it, for quality AND speed loss. Make your choice, encode and you are done Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
|||
1st October 2009, 18:39 | #56 | Link |
Carlos Martinez
Join Date: Aug 2005
Posts: 288
|
OK. Added fftw3.dll in the system32 folder. Added this line to script:
MCTemporalDenoise(settings="medium",sigma=40,sharp=true,strength=60,protect=true,flat=true) Now I'm getting the following error: Code:
The namer argument "preblur" to LSFmod had the wrong type |
7th October 2009, 02:20 | #58 | Link |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
Did you get your script running? If so, what is your final choice and params ? Any comments? Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
9th October 2009, 02:38 | #59 | Link | |
Carlos Martinez
Join Date: Aug 2005
Posts: 288
|
Quote:
I couldn't get past that error with MCTD, even after updating to the latest version on everything (1.8 for LSF and 1.3.09 for MCTD). What seems to work best is this: Code:
MPEG2Source("d:\bride wore black\bride.d2v") TFM() TDecimate(Mode=1) Undot() #DeGrainMedian(mode=5) #BlindPP(cpu2="xxxxoo", quant=31) BlindPP(cpu2="ooooxx", quant=4) #blinddehalo3(ppmode=-3) #MCTemporalDenoise(settings="high",sigma=20,sharp=true,strength=50,protect=true,flat=true) #DeGrainMedian(limitY=2,limitUV=3,mode=1) lsfmod(smode=3, Smethod=3, kernel=19, soothe=true) Crop(0,46,0,-44) LanczosResize(656,480) AddBorders(32,0,32,0) But the final result looks quite good and natural. In the end is probably a matter of taste and what every one thinks it should look like. Pity the authors (director and cameraman) are not around any more to judge on the results. |
|
9th October 2009, 04:33 | #60 | Link |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
LSFmod is now 1.9 (even if cosmetic). You are sure missing something as prerequisite for MCTD... Another suggestion; use the deringing after LSFmod if needed: Code:
... lsfmod(smode=3, Smethod=3, kernel=19, soothe=true) BlindPP(cpu2="ooooxx", quant=4) ... Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
Thread Tools | Search this Thread |
Display Modes | |
|
|