Log in

View Full Version : Error message using Divx5enc...help?


X-Nemesis
23rd January 2003, 23:40
Here's my avs script for Pitch Black

#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("g:\PROGRA~1\GORDIA~1\mpeg2dec.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")
#LoadPLugin("g:\PROGRA~1\Avisynth2\MSharpen.dll")
#
# SOURCE
avisource("D:\Vobs\Pitch Black.avs")
#
# 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,716,234)
#
# DEINTERLACING (2)
#SeparateFields().SelectEven()
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# SHARPEN
#MSharpen(15,100,true,true,false)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
LanczosResize(704,288)
#
# 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)

Yet when I load up all my settings in divx5enc and try to "Get, RC averaging period" for the file...I get this error message:

Can't write "tmp\avsinfo.in"

What's this mean and can anyone help. Also...when I try to open this script in VirtualDub...the Virtualdub window flashes on the screen for a moment and then just disappears. ?????

Any ideas?

sh0dan
23rd January 2003, 23:46
Is the filename "D:\Vobs\Pitch Black.avs" correct?

X-Nemesis
24th January 2003, 00:10
Yes that's correct.

Shamballa
24th January 2003, 01:14
lol if you load mepgdec is a mpeg2 video no ? so why do you put avisource ? and i think is a 2dv file no ?

mpeg2source("D:\Vobs\Pitch Black.d2v")

X-Nemesis
24th January 2003, 01:23
Actually I was just comparing scripts between an FOTR encode I just did successfully with divx5enc and that was the difference...my line in the pitch black script is avisource("D:\Vobs\Pitch Black.avs") and should be avisource("D:\Vobs\Pitch Black.d2v")...right?

WELL...

I changed that around and then tried to get the RC averaging times and I got the following error:

AVIFileSource: couldn't open file (D:\Vobs\Pitch Black.avs, line 18)

So I'm somewhat confused...I changed the script and yet it still indicates to me that it's Pitch Black.avs???

Be patient with me please cause I'm completely new at this stuff.

Thanks:confused:

bilu
24th January 2003, 02:10
mpeg2source("D:\Vobs\Pitch Black.d2v")
for MPEG-2 source (DVD2AVI projects)

avisource("D:\Vobs\Pitch Black.avs")
for AVI sources (you can also use avisynth scripts as sources)

Bilu

X-Nemesis
24th January 2003, 05:19
Well...I redid my dvd2avi project and then saved my avs after putting correct settings in GordionKnot and for some reason everything worked ok. I'm not sure what the problem was...here's my new script that I used:

#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("g:\PROGRA~1\GORDIA~1\mpeg2dec.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")
#LoadPlugin("g:\PROGRA~1\Avisynth2\MSharpen.dll")
# SOURCE
mpeg2source("D:\Vobs\Pitch Black.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)
#
# SHARPEN
#MSharpen(15,100,true,true,false)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
LanczosResize(704,288)
#
# 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)

Thanks for the help guys