PDA

View Full Version : Auto GK 2.25 giving undersized files


neo_sapien
10th December 2005, 22:17
I'd just like to start out by saying that Auto GK is a really nice program, and it sure does make compressing to XviD effortless. Also, the new method of analyzing the source of an AVI file sure is faster in 2.25. In 2.20 I was analyzing at 38-41fps, now it seems like it's often 150-300fps. Thanks for this great program :)

Anyway, in Auto GK 2.20 I was having no problems, my files would come out at just the right size, and looking at them with G-Spot, I could see they had B-frames. I have a Philips DVP-642 standalone DVD/DivX player, so I always select ESS standalone support. Today I installed the full package of 2.25, and all of a sudden my files are undersized, and they have no b-frames. I have tried uninstalling Auto Gordian Knot and everything related to it (XviD, avisynth, vosub) and then reinstalling the full Auto GK 2.25 package 2-3 times now. I would appreciate any help I could get on my undersizing problem.

Here is the log file of one of my encodes, which was supposed to come out to 30MB but came out to 20MB:



[12/10/2005 3:36:00 PM] AutoGK 2.25
[12/10/2005 3:36:00 PM] OS: WinXP (5.1.2600).2
[12/10/2005 3:36:00 PM] Job started.
[12/10/2005 3:36:00 PM] Input file: C:\clip.avi
[12/10/2005 3:36:00 PM] Input codec: DivX 5
[12/10/2005 3:36:00 PM] Source duration: 4mn 55s 478ms
[12/10/2005 3:36:00 PM] Output file: C:\clip_agk.avi
[12/10/2005 3:36:00 PM] Output codec: XviD
[12/10/2005 3:36:00 PM] Audio 1: 160 Kbps MPEG1/2 L3 2ch
[12/10/2005 3:36:00 PM] Subtitles: none
[12/10/2005 3:36:00 PM] Format: .AVI
[12/10/2005 3:36:00 PM] Target size: 30Mb
[12/10/2005 3:36:00 PM] Standalone support enabled: ESS
[12/10/2005 3:36:00 PM] Started encoding.
[12/10/2005 3:36:00 PM] Source resolution: 720x432
[12/10/2005 3:36:00 PM] Source fps: 29.989
[12/10/2005 3:36:00 PM] Analyzing source.
[12/10/2005 3:38:52 PM] Source has percentage of interlacing in motion areas: 2.46
[12/10/2005 3:38:52 PM] Source has percentage of telecined patterns: 0.54
[12/10/2005 3:38:52 PM] Source has percentage of progressive patterns: 97.66
[12/10/2005 3:38:52 PM] Source has percentage of interlaced patterns: 1.80
[12/10/2005 3:38:52 PM] Source is considered to be interlaced.
[12/10/2005 3:38:52 PM] Output will contain 8861 frames
[12/10/2005 3:38:52 PM] Demuxing audio.
[12/10/2005 3:38:56 PM] Audio1 size: 5,909,562 bytes (5.64 Mb)
[12/10/2005 3:38:56 PM] Overhead: 105,216 bytes (0.10 Mb)
[12/10/2005 3:38:56 PM] Video size: 25,442,502 bytes (24.26 Mb)
[12/10/2005 3:38:56 PM] Running compressibility test.
[12/10/2005 3:38:56 PM] Writing the following script to C:\agk_tmp\clip_agk_comptest.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("C:\clip.avi",29.989).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : 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)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
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=0,sharp=true)
autocrop(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(65,15)
===========================================================
[12/10/2005 3:43:25 PM] Duration was: 4 minutes 29 seconds
[12/10/2005 3:43:25 PM] Speed was: 7.57 fps.
[12/10/2005 3:43:25 PM] Compressibility percentage is: 29.20
[12/10/2005 3:43:25 PM] Using softer resizer.
[12/10/2005 3:43:25 PM] Chosen resolution is: 464x288 ( AR: 1.61 )
[12/10/2005 3:43:25 PM] Predicted comptest value is: 56.70%
[12/10/2005 3:43:25 PM] Running first pass.
[12/10/2005 3:43:25 PM] Writing the following script to C:\agk_tmp\clip_agk_movie.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("C:\clip.avi",29.989).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : 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)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 464
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=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[12/10/2005 3:47:08 PM] Duration was: 3 minutes 43 seconds
[12/10/2005 3:47:08 PM] Speed was: 39.67 fps.
[12/10/2005 3:47:08 PM] Expected quality of first pass size: 47.35%
[12/10/2005 3:47:08 PM] Trying to adjust settings.
[12/10/2005 3:47:08 PM] Chosen resolution is: 368x224 ( AR: 1.64 )
[12/10/2005 3:47:08 PM] Predicted comptest value is: 76.76
[12/10/2005 3:47:08 PM] Re-running first pass.
[12/10/2005 3:47:08 PM] Writing the following script to C:\agk_tmp\clip_agk_movie.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("C:\clip.avi",29.989).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : 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)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 368
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=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[12/10/2005 3:50:19 PM] Duration was: 3 minutes 10 seconds
[12/10/2005 3:50:19 PM] Speed was: 46.55 fps.
[12/10/2005 3:50:19 PM] Expected quality of first pass size: 69.31%
[12/10/2005 3:50:19 PM] Running second pass.
[12/10/2005 3:54:37 PM] Duration was: 4 minutes 18 seconds
[12/10/2005 3:54:37 PM] Speed was: 34.31 fps.
[12/10/2005 3:54:37 PM] Job finished. Total time: 18 minutes 37 seconds

ezmohp
10th December 2005, 22:23
Just posted exactly the same findings in the development forum.

- ezmohp

CWR03
10th December 2005, 22:33
Start by uninstalling/reinstalling XviD. Simply installing a newer version over an older one can cause this problem.

ezmohp
10th December 2005, 22:42
CWR03,
I uninstalled/reinstalled XviD (and all others as well), but this didn't help.

- ezmohp

neo_sapien
10th December 2005, 22:56
Unfortunately uninstalling and reinstalling XviD doesn't resolve it, and the undersizing still persists. I tried once more just to be certain.

CWR03
10th December 2005, 23:00
Uninstall again, search for and delete xvid.dll and xvid.ax files, then reinstall. Make sure you use the latest version of XviD.

len0x
10th December 2005, 23:27
DivX profiles got renamed in XviD... argh... ESS option will no longer work for the time being. Solution would be to use XviD from previous version of AutoGK...

len0x
11th December 2005, 00:21
Here (http://len0x.leffe.dnsalias.com/AutoGK.zip) is a hotfix for those who can't wait for a repack...

kis2005
11th December 2005, 00:38
FYI...I'm getting an "Installation is corrupted" error when I try to install this new update.

neo_sapien
11th December 2005, 00:40
I didn't see the post about the hotfix on time, so I just uninstalled everything and reinstalled 2.20, then installed 2.25 (sans the new XviD) on top of that, and now the file sizes and b-frames are right back where they're supposed to be. Thanks, len0x! This is a great program you got here!

kis2005
11th December 2005, 00:41
BTW...I need to donate money!!! This is a great program and I use it all the time and recommend it just as much.

kis2005
11th December 2005, 00:50
neo_sapien,

What do mean by "sans the new XviD"?

neo_sapien
11th December 2005, 00:55
"sans" is the french word for "without"

kis2005
11th December 2005, 01:00
Thanks. I'll give it a try with 2.25 update from 2.20.

ezmohp
11th December 2005, 01:54
FYI...I'm getting an "Installation is corrupted" error when I try to install this new update.

Same here - and the hotfix didn't fix the problem in my PC (XP SP2). But no worries - I can wait for the complete package.

- ezmohp

len0x
11th December 2005, 12:15
FYI...I'm getting an "Installation is corrupted" error when I try to install this new update.

I don't understand - the file above is just a zipped exe file that you have to unpack manually into dir were you have AutoGK installed...

ezmohp
11th December 2005, 17:58
I don't understand - the file above is just a zipped exe file that you have to unpack manually into dir were you have AutoGK installed...
Sorry, I misunderstood how to use the hotfix. Now it seems to be ok, thanks.
- ezmohp