Log in

View Full Version : Script Error: What have I done wrong?


JohnMK
14th September 2002, 02:20
VirtualDub finds an error in this script, and I can't seem to figure out why. I'm somewhat new to all this and would appreciate someone looking this over for me. It says the error is at line 22, which is interestingly, -- commented out by a #. Line 23 is "AVISource("hybrid.avi")"

#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("C:\Documents and Settings\Chad\Desktop\In Progress\Star Trek - The Next Generation\301\301decomb.d2v")
#
# TRIM
#trim(startframe,endframe)
#
AVISource("hybrid.avi")
Telecide()
Decimate(mode=1,threshold=50)
#Telecide()
#Decimate(cycle=5)
# or use
#InverseTelecine(40,10,15)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING
#FieldDeinterlace()
# or use
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# CROPPING
crop(6,1,707,476)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(432,320,0,0.5)

<snip>

JohnMK
14th September 2002, 02:28
Okay, I created a new script, and this time the error is said to be in line "AVISource("hybrid.avi")"

I'm ripping Star Trek The Next Generation NTSC DVDs, if that context is important. Lots of film content (24 fps progressive) telecined to 29.970 fps (about 90% of the non-credit portions) + 10% of the time it's a native 29.970 fps interlaced special effects.

wmansir
14th September 2002, 02:33
remove AVISource("hybrid.avi")


that is from the Decomb help file example. In the example it is the source that is being decombed, however you already have a source:

mpeg2source("C:\...\301decomb.d2v")

JohnMK
14th September 2002, 03:15
Okay, I did that, but the resulting file was 29.970 fps. I was under the impression that the script I created would inverse telecine the whole movie + clean up the interlaced frames. Well, it cleaned up the interlaced frames alright, they look a bit better, but the whole file is 29.970 fps? Any suggestions?

Guest
14th September 2002, 03:34
Change Decimate(mode=1,threshold=50) to Decimate(mode=0).

JohnMK
14th September 2002, 04:28
Gorgeous. Absolutely gorgeous. But now the compressibility check in Gordian Knot is thrown off, right, because it figures it's ultimately compressing 29.970fps? Or am I mistaken. :)

Thank you so much for your help.

manono
14th September 2002, 05:03
Hi-

Down in the lower left hand corner of GKnot, change 29.97fps to 23.976fps to get the IVTC'd Compress Percentage.