PDA

View Full Version : Lanczos Resizer?


X-Nemesis
19th January 2003, 16:09
So...I've got Avisynth 2.07 installed and that has Lanczos built in right. So in my script I would simply write Lanczosresize () and not LoadPlugin ("Lanczosresize")??

Secondly...I performed all my changes in Gordion Knot and then saved my avs file so I've got all my parameters set up...except I'd like to use Lanczosresizer instead so where would I put that in this script or what should I change? I'm trying to do a 3cd rip of FOTR and I read that Lanczos gives better results for higher bitrate encodes.

#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("g:\PROGRA~1\avisynth2\plugins\mpeg2dec3.dll")
#LoadPlugin("g:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("g:\PROGRA~1\GORDIA~1\IVTC.dll")
#LoadPlugin("g:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("g:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("g:\PROGRA~1\GORDIA~1\TomsMoComp.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#LoadPlugin("g:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("G:\Movie Rips\FOTR Disc2\FOTR cd2.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide().Decimate(5)
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#TomsMoComp(1,5,1)
#
# CROPPING
crop(0,59,718,357)
#
# DEINTERLACING (2)
#SeparateFields().SelectEven()
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(704,288,0,0.75)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)


I've got a feeling I'm doing this all wrong. And yes I've searched and read other posts but this stuff is still confusing to me.

scmccarthy
19th January 2003, 16:34
Just change the BicubicResize to LanczosResize like this:# RESIZING
BicubicResize(704,288,0,0.75) # RESIZING
LanczosResize(704,288)Ths only trick is remembering that Lanczos only needs two arguments.

Stephen

X-Nemesis
19th January 2003, 18:33
Thanks..so when I save my new avs I open it with VirtualDub and then just save Avi???

Suzahara
19th January 2003, 21:16
Originally posted by X-Nemesis
Thanks..so when I save my new avs I open it with VirtualDub and then just save Avi???

Of course choosing your compression and all, and if you're using divx5 or xvid, read the guides so you can get it set up right.

Evil Andy
20th January 2003, 11:07
You can still use Gordian Knot's automation if you want. On the Save & Encode page there's an Edit button where you can make last minute adjustments to your script, in your case LanczosResize()