Log in

View Full Version : autogk 2.13b, avi input reconverting xvid: virtualdub error


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

len0x
29th July 2005, 21:50
please provide logs with debug option enabled

AGK_J
30th July 2005, 09:17
if so, here is the log file in which i enabled the option...(i would have posted it as text in this thread but it was too many characters)

ps. i renamed the log file .txt cuz .log is invalid file to upload

len0x
30th July 2005, 19:06
is C:\rips\agk_tmp\m1_track1.ac3 real AC3 stream and plays fine ?

AGK_J
31st July 2005, 00:20
nope, doesnt seem real and it doesn't play far as i know...i used gspot to check it out...'stream type and a/v interleave' reads 'ac3 audio (384 kbps)' BUT under "audio" and every other part says "n.a"...pressed the 'RENDER' button which did nothing...i tried playing it with vlc media player, windows media player and bs media player but NONE of them work...tried playing the m1.avi instead but it only plays the video with no audio....so i guess the problem is the audio being reencoded, cuz the original avi works fine?(except that it doesn't work with my dvp642 which is why im reencoding it)...guess there's no chioce but to settle with converting the audio to mp3? i duno u tell me :) neways thanx in advance for all ur help, u and ur program are much appreciated

added info: i tried setting the audio to mp3 and autogk successfully went through the 2nd pass and completed task(cuz before it would skip second pass)...but for some reason the audio is out of sync :(

mskkms
6th August 2005, 10:37
FYI: I have got the exact same error over here.

I am using AutoGK beta 2.13b with VirtualDubMod 1.5.4.1 (build 2178)

The error occurs just after the second pass started.

Marcel

len0x
6th August 2005, 17:59
so what? If audio is broken, the vdubmod can't process it...

mskkms
7th August 2005, 06:32
The reason why I downloaded AutoGK was that the audio was out of sync on my standalone DVD player while BSplayer plays the avi perfectly fine on my computer.