Log in

View Full Version : problem after editing .avs files


noobsaibot
4th January 2003, 12:21
Helo folks, 've been using Gknot for some time now.

I have a problem that after editing the .avs (after Gknot itself generated one), the encoding won't work, it displays an error windows saying: "Dub error, Avisynth read error, caught an excess violation at:xxxxxxxx, attempting to read from:xxxxxx " and at the end of the .log file is "Error: Could not open Stats-File".

The editing was quite simple, I would like to test these options: SeparateFields()
SelectEven()

So, as these are not present in the Gknot program I inserted them before croping and resizing, and here is the .avs file for you to check:

# 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:\PROGRA~1\GORDIA~1\vobsub.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("C:\VIDEO_TS\1st_attempt.d2v")
#
# TRIM
trim(0,239125)
#
# IVTC
#Telecide()
#Decimate(cycle=5)
# or use
#InverseTelecine(40,10,15)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING (1)
SeparateFields()
SelectEven()
#FieldDeinterlace()
#
# CROPPING
crop(14,3,698,477)
#
# DEINTERLACING (2)
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(512,384,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)

end of file.

manono
4th January 2003, 12:35
Hi-

I believe it's because you have it before the crop. And your crops should all be even numbers. Put it further down, by the VerticalReduceBy2().

You should get and install the new GKnot 0.27, both the rippack and the systempack. Now, FastDeinterlace is no longer VerticalReduceBy2(), but SeparateFields().SelectEven().

noobsaibot
4th January 2003, 13:03
Hi manono, i've set the crops to all even numbers and put it farther down near verticalreduce by 2, and it's now working.

I will try 0.27 later, thanks.:)