Log in

View Full Version : Possible problem with AutoGK when converting to 3 CDs


CorrsFan
15th December 2003, 03:00
I'm currently trying to convert LotR: Two Towers to 3CDs. However, AutoGK is now splitting the video onto its 4th CD, with the first 3 CDs each being 2.8 Gigs in size. Somehow I don't think it should be doing this... Does anyone have any suggestions or know what's going on? Thanks in advance.

Edit: I am using version 0.72 with VirtualDubMod 1.5.10.1

CorrsFan
15th December 2003, 03:26
Well, the conversion is now finished. The first three files have the full movie, then the part each is supposed to have at the end, so they are each 4 hours long. The last is 3 hours long, and seems to be just the full movie. Anyone know what's going on?

Here's the log file:

[12/14/2003 11:25:21 AM] Input dir: F:\TWO_TOWERS\VIDEO_TS
[12/14/2003 11:25:21 AM] Output file: F:\TWO_TOWERS\LotR - TT - Divx.avi
[12/14/2003 11:25:21 AM] Audio: English
[12/14/2003 11:25:21 AM] Subtitles: none
[12/14/2003 11:25:21 AM] Codec: DivX
[12/14/2003 11:25:21 AM] Target size: 2100Mb
[12/14/2003 11:25:21 AM] Custom resolution settings: fixed width of 720 pixels
[12/14/2003 11:25:21 AM] Custom audio settings: VBR MP3 with average bitrate: 192Kbps
[12/14/2003 11:25:21 AM] Started encoding.
[12/14/2003 11:25:21 AM] Demuxing and indexing.
[12/14/2003 11:35:40 AM] Source seems to be pure FILM.
[12/14/2003 11:35:40 AM] Found 258028 frames
[12/14/2003 11:35:40 AM] Encoding audio.
[12/14/2003 11:57:13 AM] Audio size: 245,852,576 bytes (234.46 Mb)
[12/14/2003 11:57:13 AM] Overhead: 16,645,760 bytes (15.87 Mb)
[12/14/2003 11:57:13 AM] Video size: 1,939,511,264 bytes (1849.66 Mb)
[12/14/2003 11:57:13 AM] Target bitrate is: 1442kbps
[12/14/2003 11:57:13 AM] Running compressibility test.
[12/14/2003 11:57:13 AM] Writing the following script to F:\TWO_TOWERS\gk_tmp\LotR - TT - Divx_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\Video\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\Video\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\Video\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("F:\TWO_TOWERS\gk_tmp\LotR - TT - Divx.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=40)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.21518987341772)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.21518987341772 : 1.18518518518519
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 8) ? (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=40)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(280,14)
===========================================================
[12/14/2003 11:57:14 AM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\gk_tmp\\LotR - TT - Divx_comptest.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(433,"OAEAAAAAAAABAAAA3f8VAAAAAEABAAAAAAAAAAAAAAAAAAAA8AAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA/////wIAAAABAAAAAAAAAAEAAAACAAAARjpcVFdPX1RPV0VSU1xna190bXBcTG90UiAtIFRUIC0gRGl2eF9jb2RlYy5sb2cAYzpcdGVzdC5kaXZ4AEY6XFRXT19UT1dFUlNcZ2tfdG1wXExvdFIgLSBUVCAtIERpdnhfY29kZWMubXYAYzpcbmV3cmMudHh0AA==");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\gk_tmp\\LotR - TT - Divx_comptest.avi");
===========================================================
[12/14/2003 12:07:51 PM] Duration was: 10 minutes 37 seconds
[12/14/2003 12:07:51 PM] Speed was: 20.24 fps.
[12/14/2003 12:07:51 PM] Compressibility percentage is: 57.96
[12/14/2003 12:07:51 PM] Using softer resizer.
[12/14/2003 12:07:51 PM] Chosen resolution is: 720x288 ( AR: 2.50 )
[12/14/2003 12:07:51 PM] Predicted comptest value is: 61.79
[12/14/2003 12:07:51 PM] Running first pass.
[12/14/2003 12:07:51 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\LotR - TT - Divx_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\Video\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("C:\PROGRA~1\Video\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\Video\AutoGK\filters\undot.dll")

function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }

movie = mpeg2source("F:\TWO_TOWERS\gk_tmp\LotR - TT - Divx.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=40)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.21518987341772)
input_par = float(c_width)/float(c_height)
fixed_aspect = input_par > 1.4 ? 1.21518987341772 : 1.18518518518519
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 8) ? (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=40)
Undot()
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[12/14/2003 12:07:52 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\gk_tmp\\LotR - TT - Divx_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(433,"OAEAAAAAAAACAAAA3f8VAAAAAEABAAAAAAAAAAAAAAAAAAAA8AAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAAAAAAA/////wIAAAABAAAAAAAAAAAAAAACAAAARjpcVFdPX1RPV0VSU1xna190bXBcTG90UiAtIFRUIC0gRGl2eF9jb2RlYy5sb2cAYzpcdGVzdC5kaXZ4AEY6XFRXT19UT1dFUlNcZ2tfdG1wXExvdFIgLSBUVCAtIERpdnhfY29kZWMubXYAYzpcbmV3cmMudHh0AA==");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\LotR - TT - Divx.avi");
===========================================================
[12/14/2003 2:59:50 PM] Duration was: 2 hours 51 minutes 57 seconds
[12/14/2003 2:59:50 PM] Speed was: 25.01 fps.
[12/14/2003 2:59:50 PM] Running second pass.
[12/14/2003 2:59:50 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\gk_tmp\\LotR - TT - Divx_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(433,"OAEAAAAAAAADAAAA3f8VAAAAAEABAAAAAAAAAAAAAAAAAAAA8AAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAAAAAAA/////wIAAAABAAAAAAAAAAAAAAACAAAARjpcVFdPX1RPV0VSU1xna190bXBcTG90UiAtIFRUIC0gRGl2eF9jb2RlYy5sb2cAYzpcdGVzdC5kaXZ4AEY6XFRXT19UT1dFUlNcZ2tfdG1wXExvdFIgLSBUVCAtIERpdnhfY29kZWMubXYAYzpcbmV3cmMudHh0AA==");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("F:\\TWO_TOWERS\\gk_tmp\\LOTR - TT - DIVX AC3 T01 3_2ch 448Kbps DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\LotR - TT - Divx.avi");
===========================================================
[12/14/2003 7:08:02 PM] Duration was: 4 hours 8 minutes 11 seconds
[12/14/2003 7:08:02 PM] Speed was: 17.33 fps.
[12/14/2003 7:08:04 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\LotR - TT - Divx.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.subset.AddRange(0,86843);
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\LotR - TT - Divx.CD1.avi");
===========================================================
[12/14/2003 7:08:04 PM] Splitting video into: F:\TWO_TOWERS\LotR - TT - Divx.CD1.avi
[12/14/2003 7:42:06 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\LotR - TT - Divx.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.subset.AddRange(86843,91457);
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\LotR - TT - Divx.CD2.avi");
===========================================================
[12/14/2003 7:42:06 PM] Splitting video into: F:\TWO_TOWERS\LotR - TT - Divx.CD2.avi
[12/14/2003 8:16:50 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\LotR - TT - Divx.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.subset.AddRange(178300,79232);
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\LotR - TT - Divx.CD3.avi");
===========================================================
[12/14/2003 8:16:50 PM] Splitting video into: F:\TWO_TOWERS\LotR - TT - Divx.CD3.avi
[12/14/2003 8:53:15 PM] Writing the following script to F:\TWO_TOWERS\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("F:\\TWO_TOWERS\\LotR - TT - Divx.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.subset.AddRange(257532,497);
VirtualDub.SaveAVI("F:\\TWO_TOWERS\\LotR - TT - Divx.CD4.avi");
===========================================================
[12/14/2003 8:53:15 PM] Splitting video into: F:\TWO_TOWERS\LotR - TT - Divx.CD4.avi
[12/14/2003 9:19:41 PM] Job finished.

Catatonic
15th December 2003, 04:36
this seems to be a problem with the new version of vdubmod. reverting to 1.5.4.1 corrected this issue for me.

CorrsFan
15th December 2003, 17:37
That did it. Thanks!

len0x
15th December 2003, 21:05
Just for the future: it helps reading info in history of AutoGK and in the main download post - this issue was described there...

Catatonic
16th December 2003, 05:34
i must be a little myopic because i didnt see that he was having a problem with AutoGK, i thought it was Gordian KNot .28.7 which indeed has the same problem with splitting files as AutoGK until you reverted to 1.5.4.1.j im surprised more people arent reporting this problem....i guess most people only do 1 disc rips.

len0x
17th December 2003, 00:30
I finally managed to find out what's wrong. Latest VDubMod seems to have issues with the following sequence:

subset.Delete()
subset.AddRange(...)

this seems to work instead:

subset.Clear();
subset.AddRange(...);

I'm gonna update GK to 0.28.7.1 soon.

Catatonic
17th December 2003, 03:14
@ lenox

Thank you!

colordog
17th December 2003, 05:06
@len0x

0.28.7.1 is crashing when I do a comp check.

VDudMod starts up, but after a few seconds it close, and WinXp gives me the happy smiley error:

"GordianKnot.exe has encountered a problem and needs to close. We are sorry for the inconvenience. If you were in the middle of something, the information you were working on might be lost."

Is there any other info I can provide?

colordog
17th December 2003, 05:41
Actually, I can't encode either.

On the first pass of the encode, it runs through and says there's no frames:


10:37:27 PM: Started DivX5-First Pass: C:\vobs\charmed\VIDEO_TS\movie.avs
10:37:29 PM: Finished DivX5-First Pass: Duration: 1 second.
10:37:29 PM: Trying to open Log-file.
10:37:29 PM: Success: Log-file open.
10:37:29 PM: Encoded: 0 Frames.
10:37:29 PM: Speed: 0.000 Frames per Second.
10:37:29 PM: WARNING: Number of counted frames differs from settings!
10:37:29 PM: WARNING: Settings: 15190
10:37:29 PM: WARNING: Counted: 0
10:37:29 PM: WARNING: Difference: 15190
10:37:29 PM: Correcting Bitrate...
10:37:29 PM: Original Bitrate = 725 k(=1000)Bits/s
10:37:29 PM: Error: Correction impossible.
10:37:29 PM: Now encoding at 725 k(=1000)Bits/s


Then, on the 2nd pass, it gives the "Cannot start video compression: The source image format is not acceptable (error code -2)

Ack!

colordog
17th December 2003, 05:49
I downloaded the 0.28.7.0 installer, and reinstalled it, only selecting the "GKnot.exe" and "VDubMod" components.

That resolved the problem.

len0x
17th December 2003, 11:51
the only difference between 0.28.7 and 0.28.7.1 is version of VDubMod, which still seems really buggy. I assume you used xvid ?
(there are plenty of bugz like this at SF tracker of VDubMod...)

colordog
17th December 2003, 14:41
No, I was using DivX 5.1.1.

len0x
17th December 2003, 15:12
I kinda broke 0.28.7.1 since VDubMod is not working as expected anymore :(
I off to their forum for help

P.S. 0.28.7.1 is removed from SF.

colordog
17th December 2003, 15:56
Sorry!

Let me know if I can provide any more info?

len0x
17th December 2003, 15:58
I know exactly what the problem is, but not the ideal solution for it.
Have a look at my post here: http://forum.doom9.org/showthread.php?s=&threadid=66977