Log in

View Full Version : Learning to use LSFmod


Pages : 1 [2]

carlmart
30th September 2009, 21:01
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?

BigDid
30th September 2009, 23:16
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

carlmart
1st October 2009, 15:32
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.

canuckerfan
1st October 2009, 18:19
^put fftw3.dll in your system32 folder.

BigDid
1st October 2009, 18:36
...
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")
Hi,

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

I don't get what filter should I use for Denoise and adaptative sharpen, your second group.
You didn't told me if you wanted to use softsharpen of MCTD?
MCTemporaldenoise (MCTD):
MCTemporalDenoise(settings="high",sigma=20,sharp=true,strength=50,protect=true,flat=true)
Softsharpen (SS):
SoftSharpen(preset="light",denois=2,DenoisT=6.3,sharp=15,blur=0,derin=0)

Each of them are "all in one" script, hence some infos for tuning the parameters. The prerequisite are given, for each, in their respective home-threads. NO other filters are needed for the denoising and sharpening operations.

The filters in "postprocess" make things too foggy, as has been my experience with blinddehalo until now.
Sorry to hear about that; for deringing (BlindPP), the strength is quant. For Blindehalo3, you will have to search for it's home-thread and see what tuning can be made. Maybe your denoising is too strong in the beginning and when dehaloing and deringing are added it makes thing too foggy?

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

carlmart
1st October 2009, 18:39
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:


The namer argument "preblur" to LSFmod had the wrong type

LaTo
1st October 2009, 18:41
Update LSFmod and MCTD to the lastest version

BigDid
7th October 2009, 02:20
Hi,

Did you get your script running?

If so, what is your final choice and params ?

Any comments?

Did

carlmart
9th October 2009, 02:38
Hi,

Did you get your script running?

If so, what is your final choice and params ?

Any comments?


Here I am, back on the trail.

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:


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)


As you can see, there were several things that I tried and untried why watching in AvsP in a large size screen.

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.

BigDid
9th October 2009, 04:33
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:
...
lsfmod(smode=3, Smethod=3, kernel=19, soothe=true)
BlindPP(cpu2="ooooxx", quant=4)
...

I will try your script and give you my impression :cool:

Did

LaTo
9th October 2009, 06:37
Here I am, back on the trail.

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).
Strange... You did something wrong! :devil:

You should delete all previous versions in your autoload folder... (C:\Program Files\Avisynth 2.5\plugins\)

BigDid
9th October 2009, 17:54
I will try your script and give you my impression :cool:

Hi,

Here we go:
- BlindPP needs mod16 cropping (or resizing) to work
- Without prior denoising (only a undot() ) Lsfmod accentuate some noise like dancing walls and faces colors distortion.
- To my taste, I would go for more temporal denoising just before the sharpening
* DeGrainMedian(mode=3) or 2 would do it but removing some details
* more suited is Mdegrain3 with a thsad of 150; equivalent with Softsharpen is:
SoftSharpen(preset="light",denois=0,DenoisT=3.3,sharp=0,blur=0,derin=0)
Just enough strength to treat the walls and attenuate on the faces. My taste only :rolleyes:

Did