AGK_J
24th July 2005, 16:49
"VirtualDub Error
The function SetMode was called on a stream[?] that hasn't been previously initialized with SetSource"
i tried reconverting an xvid to be compatible with my standalone and i got the above message when it came around to the second pass...heres the log...
[7/24/2005 11:17:51 AM] AutoGK 2.13b
[7/24/2005 11:17:51 AM] OS: WinXP (5.1.2600).2
[7/24/2005 11:17:51 AM] Job started.
[7/24/2005 11:17:51 AM] Input file: musacd1.avi
[7/24/2005 11:17:51 AM] Input codec: XviD
[7/24/2005 11:17:51 AM] Source duration: 44mn 13s 28ms
[7/24/2005 11:17:51 AM] Output file: C:\vak\23\musacd1_agk.avi
[7/24/2005 11:17:51 AM] Output codec: XviD
[7/24/2005 11:17:51 AM] Audio1: 384 Kbps AC3 5ch
[7/24/2005 11:17:51 AM] Subtitles: none
[7/24/2005 11:17:51 AM] Format: .AVI
[7/24/2005 11:17:51 AM] Target size: 700Mb
[7/24/2005 11:17:51 AM] Custom resolution settings: fixed width of 640 pixels
[7/24/2005 11:17:51 AM] Custom audio settings: Original
[7/24/2005 11:17:51 AM] Standalone support enabled: ESS
[7/24/2005 11:17:51 AM] Started encoding.
[7/24/2005 11:17:51 AM] Source resolution: 640x272
[7/24/2005 11:17:51 AM] Source fps: 23.976
[7/24/2005 11:17:51 AM] Output will contain 63609 frames
[7/24/2005 11:17:51 AM] Demuxing audio.
[7/24/2005 11:18:32 AM] Forcing encoding with sharp matrix.
[7/24/2005 11:18:32 AM] Picking up autocrop parameters.
[7/24/2005 11:18:32 AM] Audio1 size: 127,344,200 bytes (121.44 Mb)
[7/24/2005 11:18:32 AM] Overhead: 755,328 bytes (0.72 Mb)
[7/24/2005 11:18:32 AM] Video size: 605,903,672 bytes (577.83 Mb)
[7/24/2005 11:18:32 AM] Running compressibility test.
[7/24/2005 11:18:32 AM] Writing the following script to C:\vak\23\agk_tmp\musacd1_agk_comptest.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")
movie = DirectShowSource("C:\vak\23\musacd1.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
out_width = 640
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[7/24/2005 11:23:03 AM] Duration was: 4 minutes 31 seconds
[7/24/2005 11:23:03 AM] Speed was: 11.73 fps.
[7/24/2005 11:23:03 AM] Compressibility percentage is: 77.18
[7/24/2005 11:23:03 AM] Chosen resolution is: 640x272 ( AR: 2.35 )
[7/24/2005 11:23:03 AM] Predicted comptest value is: 77.18
[7/24/2005 11:23:03 AM] Running first pass.
[7/24/2005 11:23:03 AM] Writing the following script to C:\vak\23\agk_tmp\musacd1_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")
movie = DirectShowSource("C:\vak\23\musacd1.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
out_width = 640
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
===========================================================
[7/24/2005 11:34:49 AM] Duration was: 11 minutes 45 seconds
[7/24/2005 11:34:49 AM] Speed was: 90.13 fps.
[7/24/2005 11:34:49 AM] Expected quality of first pass size: 76.63
[7/24/2005 11:34:49 AM] Running second pass.
[7/24/2005 11:42:13 AM] Duration was: 7 minutes 23 seconds
[7/24/2005 11:42:13 AM] Speed was: 143.31 fps.
[7/24/2005 11:42:13 AM] Job finished. Total time: 24 minutes 21 seconds
The function SetMode was called on a stream[?] that hasn't been previously initialized with SetSource"
i tried reconverting an xvid to be compatible with my standalone and i got the above message when it came around to the second pass...heres the log...
[7/24/2005 11:17:51 AM] AutoGK 2.13b
[7/24/2005 11:17:51 AM] OS: WinXP (5.1.2600).2
[7/24/2005 11:17:51 AM] Job started.
[7/24/2005 11:17:51 AM] Input file: musacd1.avi
[7/24/2005 11:17:51 AM] Input codec: XviD
[7/24/2005 11:17:51 AM] Source duration: 44mn 13s 28ms
[7/24/2005 11:17:51 AM] Output file: C:\vak\23\musacd1_agk.avi
[7/24/2005 11:17:51 AM] Output codec: XviD
[7/24/2005 11:17:51 AM] Audio1: 384 Kbps AC3 5ch
[7/24/2005 11:17:51 AM] Subtitles: none
[7/24/2005 11:17:51 AM] Format: .AVI
[7/24/2005 11:17:51 AM] Target size: 700Mb
[7/24/2005 11:17:51 AM] Custom resolution settings: fixed width of 640 pixels
[7/24/2005 11:17:51 AM] Custom audio settings: Original
[7/24/2005 11:17:51 AM] Standalone support enabled: ESS
[7/24/2005 11:17:51 AM] Started encoding.
[7/24/2005 11:17:51 AM] Source resolution: 640x272
[7/24/2005 11:17:51 AM] Source fps: 23.976
[7/24/2005 11:17:51 AM] Output will contain 63609 frames
[7/24/2005 11:17:51 AM] Demuxing audio.
[7/24/2005 11:18:32 AM] Forcing encoding with sharp matrix.
[7/24/2005 11:18:32 AM] Picking up autocrop parameters.
[7/24/2005 11:18:32 AM] Audio1 size: 127,344,200 bytes (121.44 Mb)
[7/24/2005 11:18:32 AM] Overhead: 755,328 bytes (0.72 Mb)
[7/24/2005 11:18:32 AM] Video size: 605,903,672 bytes (577.83 Mb)
[7/24/2005 11:18:32 AM] Running compressibility test.
[7/24/2005 11:18:32 AM] Writing the following script to C:\vak\23\agk_tmp\musacd1_agk_comptest.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")
movie = DirectShowSource("C:\vak\23\musacd1.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
out_width = 640
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[7/24/2005 11:23:03 AM] Duration was: 4 minutes 31 seconds
[7/24/2005 11:23:03 AM] Speed was: 11.73 fps.
[7/24/2005 11:23:03 AM] Compressibility percentage is: 77.18
[7/24/2005 11:23:03 AM] Chosen resolution is: 640x272 ( AR: 2.35 )
[7/24/2005 11:23:03 AM] Predicted comptest value is: 77.18
[7/24/2005 11:23:03 AM] Running first pass.
[7/24/2005 11:23:03 AM] Writing the following script to C:\vak\23\agk_tmp\musacd1_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")
movie = DirectShowSource("C:\vak\23\musacd1.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
out_width = 640
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
===========================================================
[7/24/2005 11:34:49 AM] Duration was: 11 minutes 45 seconds
[7/24/2005 11:34:49 AM] Speed was: 90.13 fps.
[7/24/2005 11:34:49 AM] Expected quality of first pass size: 76.63
[7/24/2005 11:34:49 AM] Running second pass.
[7/24/2005 11:42:13 AM] Duration was: 7 minutes 23 seconds
[7/24/2005 11:42:13 AM] Speed was: 143.31 fps.
[7/24/2005 11:42:13 AM] Job finished. Total time: 24 minutes 21 seconds