Log in

View Full Version : I was wondering if this avs file will work??


Yosho
19th June 2007, 21:46
I still need to put the specifications for warpsharp somewhere but I do not know where to put it, nor do I know what syntax to enter.


# Created with Gordian Knot
#
# http://gknot.doom9.org

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\KernelDeInt.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dgbob.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Convolution3d.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\TomsMoComp.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\SimpleResize.dll")
LoadVirtualDubPlugin("C:\Documents and Settings\Jeff\Desktop\warpsharp.vdf, warpsharp, int 300")

# SOURCE
mpeg2source("C:\Documents and Settings\Jeff\My Documents\DuckTales.VoL.1.DiSC.3\VTS_01_1.d2v")

# TRIM
#trim(startframe,endframe)

# IVTC
Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)

# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)

# DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
# or maybe
#DGBob(order=1,mode=0)

# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()

# CROPPING
crop(10,2,700,478)

# SUBTITLES
#VobSub("FileName")

# RESIZING
LanczosResize(576,432)

# DENOISING: choose one combination (or none)
#Undot()

# 1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmoothST(5,7)

# 2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmoothST(7,7)

# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmoothST(10,15)

# BORDERS
#AddBorders(left,top,right,bottom)

# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)

# FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty)

Leak
19th June 2007, 22:09
I was wondering if this avs file will work?
Errr... have you tried opening the file in a player of your choice and, you know, watching the result for a bit?

Should tell you much faster if it "will work" than asking here...

As for AWarpSharp - that one is documented in the docs that come with AviSynth, just read them and play around with it for a bit...

np: Robert Babicz - Neoreplicator (A Cheerful Temper)

Yosho
19th June 2007, 22:45
Oh ya... it totally slipped my mind...
but to answer my own question, it does not work.
Could you possibly tell me what the correct syntax is for LoadVirtualDubPlugin(***)?
I am currently reading AviSynth.org, and avisynth.org/mediawiki and I'm still not totally clear on how to get a virtualdub filter into an auto generated avs...

Leak
19th June 2007, 23:15
Oh ya... it totally slipped my mind...
but to answer my own question, it does not work.
Could you possibly tell me what the correct syntax is for LoadVirtualDubPlugin(***)?
Ugh... since VirtualDub plugins only work for RGB wouldn't it make more sense for you to use the aWarpSharp AviSynth plugin? (search this forum and I'm pretty sure you'll find it...)

I can't say I've ever used LoadVirtualDubPlugin, but according to the AviSynth docs you want to use 2 strings here:
LoadVirtualDubPlugin("C:\Documents and Settings\Jeff\Desktop\warpsharp.vdf","warpsharp")
(note the comma between the two values surrounded by quotes)

then use
WarpSharp(<some parameters that I don't know>)
later on.

np: Tied + Tickled Trio - Tamaghis (Aelita)

Yosho
20th June 2007, 01:33
Hmm...... well I got another error
it told me that after the 40 in the following syntax was wrong..

LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\aWarpSharp(Pruned).dll")
aWarpSharp(float "40", int "2", float "1.0", int "1")

any suggestions? I played around with the quotes after the 40 and nothing seemed to work..

Edit:
I figured it out! YAY for me! I'm one step closer to being the best!

Leak
20th June 2007, 08:17
any suggestions? I played around with the quotes after the 40 and nothing seemed to work..
Just for the record:

Strings: are a bunch of text and need quotes around them, as in "this is a string"
Floats: are unquoted numbers with a decimal point in them, as in 4.0
Ints: are unquoted numbers without a decimal point, as in 4

You don't specify in a script which type you want to use, as it's generally not neccessary - if you really need a specific type, you can use the String(...), Float(...) and Int(...) functions.