I have been having troubles with GK.
Almost evertime I run it lately, vdub crashes and writes the following error, "cannot start video compression" The source video format is not acceptable (error code -2)"
I alway preview my avisynth script with media player and it looks great but GK keeps on failing. It may be time for a hardrive reformat but before I do that I thought I would spend a week trying to figure out whats going on. In the meanwhile I will be backing up stuff and I have no luck by next weekend it's format c: time.
Here is my script and the GK log file.
Thanks in advance,
VC

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

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\d gdecode.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\U nDot.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")

# SOURCE
mpeg2source("C:\1movie encoding\gknot rip\candyman3\candyman3.d2v")

# TRIM
trim(0,132489)

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

# CROPPING
crop(0,0,716,476)

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

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

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

# SUBTITLES
#VobSub("FileName")

# RESIZING
LanczosResize(608,336)

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

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

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

# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmooth(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)

GKlog
6/27/2004 10:08:09 PM: Job "candyman3-1 - candyman3.avi" started.

o DivX5-First Pass: C:\1movie encoding\gknot rip\candyman3\candyman3.avs
o DivX5 - Pass 2: C:\1movie encoding\gknot rip\candyman3\candyman3.avs
o Mux Audio.
o Splitting final movie.
End of Job 1 (candyman3-1 - candyman3.avi).
__________________________________________________ __________________________________________________ ___________________

Gordian Knot
Encoding Job Data:

Type: EncD5_All
Container: Audio-Video Interleave (AVI)
Number: 1
Name: candyman3-1 - candyman3.avi
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\1movie encoding\gknot rip\candyman3\candyman3.avi
AviMovie: C:\1movie encoding\gknot rip\candyman3\candyman3_Movie.avi
AviCredits: C:\1movie encoding\gknot rip\candyman3\candyman3_Credits.avi
MovieFS: C:\1movie encoding\gknot rip\candyman3\candyman3.avs
CreditsFS:
Log : C:\1movie encoding\gknot rip\candyman3\candyman3.log
Stats: C:\1movie encoding\gknot rip\candyman3\candyman3.stats
Ecf : C:\1movie encoding\gknot rip\candyman3\candyman3.ecf

Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0
Split final file at CD size:700

Calculator:
VideoSize: 1120944 kbyte.
Audio1Size: 306325 kbyte.
Audio2Size: 0 kbyte.
Overhead: 6330 kbyte.
AviSize: 1433600 kbyte (1400 mbyte).
FilesSize: 0 kbyte.
TotalSize: 1433600 kbyte (1400 mbyte).
Interleaving: ac3
Bitrate: 1639 k(=1000)Bits/s
Frames: 134290
FPS: 23.976
Duration: 133:21
Quality: 0.265 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.277 bits/(pixel*frame).
Resolution: 672 x 384

Audio 1:
Mode: Just Mux Source File.
SourceFile: C:\1movie encoding\gknot rip\candyman3\candyman3 AC3 T01 3_2ch 448Kbps DELAY 0ms.ac3
WavFile: C:\1movie encoding\gknot rip\candyman3\candyman3 AC3 T01 3_2ch 448Kbps DELAY 0ms.wav
Mp3File: C:\1movie encoding\gknot rip\candyman3\candyman3 AC3 T01 3_2ch 448Kbps DELAY 0ms.mp3
OggFile: C:\1movie encoding\gknot rip\candyman3\candyman3 AC3 T01 3_2ch 448Kbps DELAY 0ms.ogg
OggQuality: 0.200
OggLanguage: English
Azid:
Lame:
Delay: 0
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.

10:08:09 PM: Audio 1, determined: 306325 kb
10:08:09 PM: Audio 1, calc: 306325 kb
10:08:09 PM: New Bitrate for Movie = 1639 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 First Pass"
// $input "C:\1movie encoding\gknot rip\candyman3\candyman3.avs"
// $output "C:\1movie encoding\gknot rip\candyman3\candyman3_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000 ,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

10:08:09 PM: Started DivX5-First Pass: C:\1movie encoding\gknot rip\candyman3\candyman3.avs
10:49:30 PM: Finished DivX5-First Pass: Duration: 41 minutes, 20 seconds.
10:49:30 PM: Trying to open Log-file.
10:49:30 PM: Success: Log-file open.
10:49:30 PM: Encoded: 55706 Frames.
10:49:30 PM: Speed: 22.456 Frames per Second.
10:49:30 PM: WARNING: Number of counted frames differs from settings!
10:49:30 PM: WARNING: Settings: 134290
10:49:30 PM: WARNING: Counted: 55706
10:49:30 PM: WARNING: Difference: 78584
10:49:30 PM: Correcting Bitrate...
10:49:30 PM: Original Bitrate = 1639 k(=1000)Bits/s
10:49:30 PM: Now encoding at 3965 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 Second Pass"
// $input "C:\1movie encoding\gknot rip\candyman3\candyman3.avs"
// $output "C:\1movie encoding\gknot rip\candyman3\candyman3_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000 ,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

10:49:30 PM: Started DivX5 - Pass: 2: C:\1movie encoding\gknot rip\candyman3\candyman3.avs
10:52:21 PM: Finished DivX5 - Pass: 2: Duration: 2 minutes, 51 seconds.
10:52:21 PM: Speed: 325.023 Frames per Second.

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 Append"
// $input "C:\1movie encoding\gknot rip\candyman3\candyman3_Movie.avi"
// $output "C:\1movie encoding\gknot rip\candyman3\candyman3.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3 AC3 T01 3_2ch 448Kbps DELAY 0ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\1movie encoding\\gknot rip\\candyman3\\candyman3.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

10:52:22 PM: Started Muxing Audio.: C:\1movie encoding\gknot rip\candyman3\candyman3_Movie.avi
10:55:01 PM: Finished Muxing Audio.: Duration: 2 minutes, 39 seconds.
10:55:01 PM: Total File Size is: 117 Mb
10:55:01 PM: No splitting required

10:55:01 PM: Done.
10:55:01 PM: Movie = C:\1movie encoding\gknot rip\candyman3\candyman3.avi
Total Encoding Time: 46 minutes, 52 seconds.
6/27/2004 10:55:01 PM: Job "candyman3-1 - candyman3.avi" finished.
__________________________________________________ __________________________________________________ ___________________