Stevie G
16th December 2006, 11:04
I'm having trouble converting vobs and mpegs to divx/xvid with AutoGK on my desktop.
Occasionally (probably once in ten) it will encode the video correctly and give me a full divx/xvid avi file, but all the other times it stops part of the way through saying that it's can't process the filename\agk\frame.log file because it's being used by another process.
I've tried everything I can think of; restarting, making sure no other programs are running, etc, and I've even reinstalled XP a few times, but it still nearly always fails to finish the encoding. Does anyone have an idea why? My CPU is a Core 2 and I've got 1gb of ram, plenty of hard disk space. I can't think of anything to correct it and its really getting on my nerves! I just want to be able to set it to convert and leave it to it without all this fannying around!
I also have a laptop and it always works ok on that, but it's only a Pentium M so it takes much longer to finish the job and means I can't really do much on it when it's encoding.
This is the log file from the one I just tried, and they all seem to go around the same point, usually ending up with a file of 16,384kb (exactly 16mb), though sometimes it gives a bigger file but not a full one.
[16/12/2006 01:24:10] AutoGK 2.27
[16/12/2006 01:24:10] OS: WinXP (5.1.2600).2
[16/12/2006 01:24:10] Job started.
[16/12/2006 01:24:10] Input file: H:\Bill Bailey Part Troll\VTS_01_0.IFO
[16/12/2006 01:24:10] Output file: H:\Bill Bailey Part Troll\Bill Bailey Part Troll.avi
[16/12/2006 01:24:10] Output codec: DivX
[16/12/2006 01:24:10] Audio 1: English AC3 2ch
[16/12/2006 01:24:10] Subtitles: none
[16/12/2006 01:24:10] Format: .AVI
[16/12/2006 01:24:10] Target size: 1250Mb
[16/12/2006 01:24:10] Standalone support enabled: MTK/Sigma
[16/12/2006 01:24:10] Started encoding.
[16/12/2006 01:24:10] Demuxing and indexing.
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_1.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_2.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_3.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_4.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_5.VOB
[16/12/2006 01:25:24] Source resolution: 720x576
[16/12/2006 01:25:24] Found PAL source.
[16/12/2006 01:25:24] Source aspect ratio: 16:9
[16/12/2006 01:25:25] Analyzing source.
[16/12/2006 01:28:15] Source has percentage of interlacing in motion areas: 65.48
[16/12/2006 01:28:15] Source is considered to be interlaced.
[16/12/2006 01:28:15] Output will contain 140061 frames
[16/12/2006 01:28:15] Audio1 size: 134,458,368 bytes (128.23 Mb)
[16/12/2006 01:28:15] Overhead: 4,368,256 bytes (4.17 Mb)
[16/12/2006 01:28:15] Video size: 1,171,893,376 bytes (1117.60 Mb)
[16/12/2006 01:28:15] Target bitrate is: 1673kbps
[16/12/2006 01:28:15] Running compressibility test.
[16/12/2006 01:28:15] Writing the following script to H:\Bill Bailey Part Troll\agk_tmp\Bill
Bailey Part Troll_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")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("H:\Bill Bailey Part Troll\agk_tmp\Bill Bailey Part Troll.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 = 1.42222222222222
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 = 704
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,samplestartfra
me=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(280,14)
===========================================================
[16/12/2006 01:30:56] Duration was: 2 minutes 40 seconds
[16/12/2006 01:30:56] Speed was: 43.74 fps.
[16/12/2006 01:30:56] Compressibility percentage is: 75.33
[16/12/2006 01:30:56] Chosen resolution is: 720x432 ( AR: 1.67 )
[16/12/2006 01:30:56] Predicted comptest value is: 70.93%
[16/12/2006 01:30:56] Running first pass.
[16/12/2006 01:30:56] Writing the following script to H:\Bill Bailey Part Troll\agk_tmp\Bill
Bailey Part Troll_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\kerneldeint.dll")
movie = mpeg2source("H:\Bill Bailey Part Troll\agk_tmp\Bill Bailey Part Troll.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 = 1.42222222222222
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartfra
me=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[16/12/2006 01:36:15] Duration was: 5 minutes 19 seconds
[16/12/2006 01:36:15] Speed was: 438.72 fps.
*************************************
EXCEPTION: Cannot open file "H:\Bill Bailey Part Troll\agk_tmp\frames.log". The process
cannot access the file because it is being used by another process
*************************************
[16/12/2006 01:36:15] Job finished. Total time: 12 minutes 5 seconds
Thanks guys
Occasionally (probably once in ten) it will encode the video correctly and give me a full divx/xvid avi file, but all the other times it stops part of the way through saying that it's can't process the filename\agk\frame.log file because it's being used by another process.
I've tried everything I can think of; restarting, making sure no other programs are running, etc, and I've even reinstalled XP a few times, but it still nearly always fails to finish the encoding. Does anyone have an idea why? My CPU is a Core 2 and I've got 1gb of ram, plenty of hard disk space. I can't think of anything to correct it and its really getting on my nerves! I just want to be able to set it to convert and leave it to it without all this fannying around!
I also have a laptop and it always works ok on that, but it's only a Pentium M so it takes much longer to finish the job and means I can't really do much on it when it's encoding.
This is the log file from the one I just tried, and they all seem to go around the same point, usually ending up with a file of 16,384kb (exactly 16mb), though sometimes it gives a bigger file but not a full one.
[16/12/2006 01:24:10] AutoGK 2.27
[16/12/2006 01:24:10] OS: WinXP (5.1.2600).2
[16/12/2006 01:24:10] Job started.
[16/12/2006 01:24:10] Input file: H:\Bill Bailey Part Troll\VTS_01_0.IFO
[16/12/2006 01:24:10] Output file: H:\Bill Bailey Part Troll\Bill Bailey Part Troll.avi
[16/12/2006 01:24:10] Output codec: DivX
[16/12/2006 01:24:10] Audio 1: English AC3 2ch
[16/12/2006 01:24:10] Subtitles: none
[16/12/2006 01:24:10] Format: .AVI
[16/12/2006 01:24:10] Target size: 1250Mb
[16/12/2006 01:24:10] Standalone support enabled: MTK/Sigma
[16/12/2006 01:24:10] Started encoding.
[16/12/2006 01:24:10] Demuxing and indexing.
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_1.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_2.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_3.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_4.VOB
[16/12/2006 01:25:24] Processing file: H:\Bill Bailey Part Troll\VTS_01_5.VOB
[16/12/2006 01:25:24] Source resolution: 720x576
[16/12/2006 01:25:24] Found PAL source.
[16/12/2006 01:25:24] Source aspect ratio: 16:9
[16/12/2006 01:25:25] Analyzing source.
[16/12/2006 01:28:15] Source has percentage of interlacing in motion areas: 65.48
[16/12/2006 01:28:15] Source is considered to be interlaced.
[16/12/2006 01:28:15] Output will contain 140061 frames
[16/12/2006 01:28:15] Audio1 size: 134,458,368 bytes (128.23 Mb)
[16/12/2006 01:28:15] Overhead: 4,368,256 bytes (4.17 Mb)
[16/12/2006 01:28:15] Video size: 1,171,893,376 bytes (1117.60 Mb)
[16/12/2006 01:28:15] Target bitrate is: 1673kbps
[16/12/2006 01:28:15] Running compressibility test.
[16/12/2006 01:28:15] Writing the following script to H:\Bill Bailey Part Troll\agk_tmp\Bill
Bailey Part Troll_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")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("H:\Bill Bailey Part Troll\agk_tmp\Bill Bailey Part Troll.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 = 1.42222222222222
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 = 704
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,samplestartfra
me=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(280,14)
===========================================================
[16/12/2006 01:30:56] Duration was: 2 minutes 40 seconds
[16/12/2006 01:30:56] Speed was: 43.74 fps.
[16/12/2006 01:30:56] Compressibility percentage is: 75.33
[16/12/2006 01:30:56] Chosen resolution is: 720x432 ( AR: 1.67 )
[16/12/2006 01:30:56] Predicted comptest value is: 70.93%
[16/12/2006 01:30:56] Running first pass.
[16/12/2006 01:30:56] Writing the following script to H:\Bill Bailey Part Troll\agk_tmp\Bill
Bailey Part Troll_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\kerneldeint.dll")
movie = mpeg2source("H:\Bill Bailey Part Troll\agk_tmp\Bill Bailey Part Troll.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 = 1.42222222222222
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartfra
me=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[16/12/2006 01:36:15] Duration was: 5 minutes 19 seconds
[16/12/2006 01:36:15] Speed was: 438.72 fps.
*************************************
EXCEPTION: Cannot open file "H:\Bill Bailey Part Troll\agk_tmp\frames.log". The process
cannot access the file because it is being used by another process
*************************************
[16/12/2006 01:36:15] Job finished. Total time: 12 minutes 5 seconds
Thanks guys