Log in

View Full Version : autoGK/vdubmod: Video Compression Error (error code-2)


MLT
20th August 2007, 06:11
I'm trying to encode either standard NTSC mpeg-2 or uncompressed avi (rendered in Sony Vegas) to DivX in autoGK. I keep getting this error:

Virtualdub Error:

Video compression error: The source image format is not compatible (error code-2)

Encoding to Xvid works just fine, but I need it to work for DivX also. I tried getting help on the Virtualdubmod forum but it's always down.

I'm using the latest versions for the software components:

AutoGK 2.40
DivX 6.6
Virtualdubmod 1.5.10.2

My system:

Windows XP Pro SP2
Intel Core 2, 2.4 GHz, 2GB RAM


Any help is appreciated.

For reference: The first log file is the one from when I tried to convert uncompressed avi, the last one from when I tried to convert mpeg-2:


[8/19/2007 11:32:32 PM] AutoGK 2.40
[8/19/2007 11:32:32 PM] OS: WinXP (5.1.2600).2
[8/19/2007 11:32:32 PM] Job started.
[8/19/2007 11:32:32 PM] Input file: C:\Documents and Settings\Martin\Desktop\launch.avi
[8/19/2007 11:32:32 PM] Input codec:
[8/19/2007 11:32:32 PM] Source duration: 2mn 30s 384ms
[8/19/2007 11:32:32 PM] Output file: C:\Documents and Settings\Martin\Desktop\launch_agk.avi
[8/19/2007 11:32:32 PM] Output codec: DivX
[8/19/2007 11:32:32 PM] Audio 1: 1536 Kbps PCM 2ch
[8/19/2007 11:32:32 PM] Subtitles: none
[8/19/2007 11:32:32 PM] Format: AVI
[8/19/2007 11:32:32 PM] Target quality: 60%
[8/19/2007 11:32:32 PM] Audio 1 settings: Auto
[8/19/2007 11:32:32 PM] Started encoding.
[8/19/2007 11:32:32 PM] Source resolution: 720x480
[8/19/2007 11:32:32 PM] Source fps: 29.97
[8/19/2007 11:32:32 PM] Analyzing source.
[8/19/2007 11:34:12 PM] Source has percentage of interlacing in motion areas: 66.05
[8/19/2007 11:34:12 PM] Source has percentage of telecined patterns: 3.00
[8/19/2007 11:34:12 PM] Source has percentage of progressive patterns: 19.62
[8/19/2007 11:34:12 PM] Source has percentage of interlaced patterns: 77.38
[8/19/2007 11:34:12 PM] Source is considered to be interlaced.
[8/19/2007 11:34:12 PM] Output will contain 4507 frames
[8/19/2007 11:34:12 PM] Demuxing audio.
[8/19/2007 11:34:15 PM] Normalizing audio.
[8/19/2007 11:34:17 PM] Encoding audio.
[8/19/2007 11:34:25 PM] Running single pass encoding.
[8/19/2007 11:34:25 PM] Writing the following script to C:\Documents and Settings\Martin\Desktop\agk_tmp\launch_agk_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")

movie = DirectShowSource("C:\Documents and Settings\Martin\Desktop\launch.avi",29.97).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
LeakKernelDeInt(movie,order=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
===========================================================
[8/19/2007 11:34:32 PM] Duration was: 6 seconds
[8/19/2007 11:34:32 PM] Speed was: 657.09 fps.
[8/19/2007 11:34:32 PM] Job finished. Total time: 2 minutes 0 seconds








[8/19/2007 11:50:48 PM] AutoGK 2.40
[8/19/2007 11:50:48 PM] OS: WinXP (5.1.2600).2
[8/19/2007 11:50:48 PM] Job started.
[8/19/2007 11:50:48 PM] Input file: C:\Documents and Settings\Martin\Desktop\sts-118 launch.mpg
[8/19/2007 11:50:48 PM] Output file: C:\Documents and Settings\Martin\Desktop\sts-118 launch.avi
[8/19/2007 11:50:48 PM] Output codec: DivX
[8/19/2007 11:50:48 PM] Audio 1: Audio Stream 0 MPEG
[8/19/2007 11:50:48 PM] Subtitles: none
[8/19/2007 11:50:48 PM] Format: AVI
[8/19/2007 11:50:48 PM] Target quality: 65%
[8/19/2007 11:50:48 PM] Audio 1 settings: Auto
[8/19/2007 11:50:48 PM] Started encoding.
[8/19/2007 11:50:48 PM] Demuxing and indexing.
[8/19/2007 11:50:51 PM] Processing file: C:\Documents and Settings\Martin\Desktop\sts-118 launch.mpg
[8/19/2007 11:50:51 PM] Source resolution: 720x480
[8/19/2007 11:50:51 PM] Found NTSC source.
[8/19/2007 11:50:51 PM] Source aspect ratio: 4:3
[8/19/2007 11:50:51 PM] Color correction enabled.
[8/19/2007 11:50:51 PM] Analyzing source.
[8/19/2007 11:51:24 PM] Source has percentage of interlacing in motion areas: 1.77
[8/19/2007 11:51:24 PM] Source has percentage of telecined patterns: 0.55
[8/19/2007 11:51:24 PM] Source has percentage of progressive patterns: 98.91
[8/19/2007 11:51:24 PM] Source has percentage of interlaced patterns: 0.55
[8/19/2007 11:51:24 PM] Source is considered to be progressive.
[8/19/2007 11:51:24 PM] Output will contain 4507 frames
[8/19/2007 11:51:24 PM] Running single pass encoding.
[8/19/2007 11:51:24 PM] Writing the following script to C:\Documents and Settings\Martin\Desktop\agk_tmp\sts-118 launch_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\Documents and Settings\Martin\Desktop\agk_tmp\sts-118 launch.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
===========================================================
[8/19/2007 11:51:27 PM] Duration was: 2 seconds
[8/19/2007 11:51:27 PM] Speed was: 1769.53 fps.
[8/19/2007 11:51:27 PM] Job finished. Total time: 38 seconds