Log in

View Full Version : AutoGK aborts the second pass log included)


Thomas Davie
21st June 2005, 02:50
When using 2.08, AutoGK gets to the second pass, and aborts with an error message that states 'Fastwritestream: couldn't open "c:\temp\TPB-510.avi": The process cannot access the file because it is being used by another process. It is a virtualdub error, but one I have not encountered before. It doesn't matter whether I try to encode an mpeg, DVD, or avi.

Log file:

[6/20/2005 8:07:05 PM] AutoGK 2.08b
[6/20/2005 8:07:05 PM] OS: WinXP (5.1.2600).2
[6/20/2005 8:07:05 PM] Job started.
[6/20/2005 8:07:05 PM] Input file: TPB-510.mpg
[6/20/2005 8:07:05 PM] Output file: C:\Temp\TPB-510.avi
[6/20/2005 8:07:05 PM] Output codec: DivX
[6/20/2005 8:07:05 PM] Audio1: Audio Stream 0 MPEG
[6/20/2005 8:07:05 PM] Subtitles: none
[6/20/2005 8:07:05 PM] Format: .AVI
[6/20/2005 8:07:05 PM] Target size: 350Mb
[6/20/2005 8:07:05 PM] Standalone support enabled: ESS
[6/20/2005 8:07:05 PM] Started encoding.
[6/20/2005 8:07:05 PM] Demuxing and indexing.
[6/20/2005 8:07:51 PM] Processing file: C:\Temp\TPB-510.mpg
[6/20/2005 8:07:51 PM] Source aspect ratio: 4:3
[6/20/2005 8:07:51 PM] Source resolution: 720x480
[6/20/2005 8:07:51 PM] Found NTSC source.
[6/20/2005 8:07:51 PM] Analyzing source.
[6/20/2005 8:10:12 PM] Source has percentage of interlacing in motion areas: 76.09
[6/20/2005 8:10:12 PM] Source has percentage of telecined patterns: 0.46
[6/20/2005 8:10:12 PM] Source has percentage of progressive patterns: 18.51
[6/20/2005 8:10:12 PM] Source has percentage of interlaced patterns: 81.03
[6/20/2005 8:10:12 PM] Source is considered to be interlaced.
[6/20/2005 8:10:12 PM] Output will contain 41671 frames
[6/20/2005 8:10:12 PM] Encoding audio.
[6/20/2005 8:12:32 PM] Audio1 size: 23,766,792 bytes (22.67 Mb)
[6/20/2005 8:12:32 PM] Overhead: 2,690,688 bytes (2.57 Mb)
[6/20/2005 8:12:32 PM] Video size: 340,544,120 bytes (324.77 Mb)
[6/20/2005 8:12:32 PM] Target bitrate is: 1959kbps
[6/20/2005 8:12:32 PM] Running compressibility test.
[6/20/2005 8:12:32 PM] Writing the following script to C:\Temp\agk_tmp\TPB-510_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\filters\kerneldeint.dll")

movie = mpeg2source("C:\Temp\agk_tmp\TPB-510.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)
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(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)
SelectRangeEvery(280,14)
===========================================================
[6/20/2005 8:15:39 PM] Duration was: 3 minutes 5 seconds
[6/20/2005 8:15:39 PM] Speed was: 11.26 fps.
[6/20/2005 8:15:39 PM] Compressibility percentage is: 24.46
[6/20/2005 8:15:39 PM] Using softer resizer.
[6/20/2005 8:15:39 PM] Chosen resolution is: 416x320 ( AR: 1.30 )
[6/20/2005 8:15:39 PM] Predicted comptest value is: 62.59
[6/20/2005 8:15:39 PM] Running first pass.
[6/20/2005 8:15:39 PM] Writing the following script to C:\Temp\agk_tmp\TPB-510_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\AutoGk\filters\kerneldeint.dll")

movie = mpeg2source("C:\Temp\agk_tmp\TPB-510.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)
out_width = 416
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[6/20/2005 8:43:48 PM] Duration was: 28 minutes 9 seconds
[6/20/2005 8:43:49 PM] Speed was: 24.66 fps.
[6/20/2005 8:43:49 PM] Running second pass.
[6/20/2005 8:49:42 PM] Duration was: 5 minutes 53 seconds
[6/20/2005 8:49:42 PM] Speed was: 118.01 fps.
[6/20/2005 8:49:42 PM] Job finished. Total time: 42 minutes 37 seconds

And noen of this makes any sense to me.

Anyone have any ideas?

thank you.

Tom

AGK_J
21st June 2005, 02:59
i suggest u just get 2.09 beta... :), theres no reason not to....also, i duno about others, but 2.08 beta caused a problem with my file's ESS chipset setting...causin defects in the picture when tryin to watch with my standalone dvd player

len0x
21st June 2005, 03:13
Faq Q 6.16

Thomas Davie
21st June 2005, 03:36
Prior to last Tuesday, I was running NAV 2004 Professional on WXP with SP2, and I didn't have any problems. However, I just disabled Norton Internet Security AV scanner with 3% left to go in the first pass of a second try, and we'll see what happens.

And, it looks like you are a god! Maybe the new AV scanner in the 2005 Internet security package is closer to the corporate scanner that had casued the problems?

In any event, thank you very much.

Tom