Log in

View Full Version : LSFMod PRoblems


boxXx
21st August 2009, 18:55
Dear Doom9 users,

I'm trying to upscale a movie its anime so it shouldn't be such a problem.
The thing is i'm having trouble getting LSF to work, everything works except for soothe ( no function named soothe... ) and when i pop up the preview in AvsP it says "Not a Clip".
Here is my script i hope you guys can help me with this crappy problem.

LoadPlugin("C:\encoding\dgindex\DGDecode.dll")
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Warpsharp\warpsharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\masktools\mt_masktools-26.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Variableblur\VariableBlur.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RSharpen.dll")
#LoadPlugin("C:\encoding\gradfun2db\gradfun2db.dll")
LoadPlugin("C:\encoding\denoiser\FFT3DFilter.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\LSFmod.v1.8.avsi")
MPEG2Source("I:\Pokemon\VideoFile.d2v", cpu=0)
Yadif(order=-1)
crop(2,2,-2,-8)
Blackmanresize(1280,720)
converttoyv12()
fft3dfilter(sigma=3.2, bt=1, bw=32, bh=32, ow=16, oh=16, sharpen=0.0)
dull = last
sharp = dull.LSFmod( strength=100, smode=5, soothe=true, keep=80, edgemode=0, edgemaskHQ=true )
Soothe( sharp, dull, 50 )

LaTo
21st August 2009, 20:19
change:
dull = last
sharp = dull.LSFmod( strength=100, smode=5, soothe=true, keep=80, edgemode=0, edgemaskHQ=true )
Soothe( sharp, dull, 50 )

to this:
LSFmod( strength=100, smode=5, soothe=true, keep=80, edgemode=0, edgemaskHQ=true )

Soothe is already in LSFmod... "keep" is the soothe's parameter

boxXx
21st August 2009, 20:26
Thanks alot ! that worked as expected. :)

One more question, i'm upscaling it and while i de-interlace it it looks really messed up. it messes up the edges in the anime, is there a proper way of de interlacing and resizing it ?

this is what i mean :

http://www.meejur.com/iinterlacebug.PNG

thewebchat
21st August 2009, 22:12
Chances are that it is not interlaced in the first place. Of course you will get artifacts if you deinterlace progressive content.

boxXx
21st August 2009, 22:17
Stupid me, i was pretty sure it was interlaced. sorry for all the hassle !