cerncern
3rd February 2008, 20:21
Hi everyone. I have a doubt about avisynth usage.
I have the need of writing all filtering process in one line like this example(this one works):
video= Mpeg2Source("D:\Anime\DVD 1.d2v").tweak(hue=1,sat=1.3,cont=1.15, bright=-5).Deen("a3d",1,10,10).FFT3DFilter(sigma=2,plane=4,bt=2,sharpen=.5).hqdering().crop(4,4,-8,-4).lanczosresize(640,480).limiter().LUMAFILTER().dup(threshold=0.5,blend=true)
The reason is that after that I make an overlay with a mask video.
The problem occurs when I try to make something similar with this script:
degrainmedian(mode=1)
dx = 640
dy = 480
dull = last.Spline36Resize(dx,dy)
sharp = dull.LimitedSharpenfaster(Smode=3,strength=100,ss_x=2.0,ss_y=2.0,overshoot=1,dest_x=dx,dest_y=dy)
Soothe(sharp,dull,20)
When I try to write everything in one line I always get syntax error. Any help will be welcome. Thanks in advance.
I have the need of writing all filtering process in one line like this example(this one works):
video= Mpeg2Source("D:\Anime\DVD 1.d2v").tweak(hue=1,sat=1.3,cont=1.15, bright=-5).Deen("a3d",1,10,10).FFT3DFilter(sigma=2,plane=4,bt=2,sharpen=.5).hqdering().crop(4,4,-8,-4).lanczosresize(640,480).limiter().LUMAFILTER().dup(threshold=0.5,blend=true)
The reason is that after that I make an overlay with a mask video.
The problem occurs when I try to make something similar with this script:
degrainmedian(mode=1)
dx = 640
dy = 480
dull = last.Spline36Resize(dx,dy)
sharp = dull.LimitedSharpenfaster(Smode=3,strength=100,ss_x=2.0,ss_y=2.0,overshoot=1,dest_x=dx,dest_y=dy)
Soothe(sharp,dull,20)
When I try to write everything in one line I always get syntax error. Any help will be welcome. Thanks in advance.