Log in

View Full Version : AutoGK 1.88 beta: Width exceeds limit


H-Makro
27th January 2005, 23:46
Hi,

I've noticed while my last encoding-session that AutoGK exceeded my limit (672x368 / maximum width = 640).

[27.01.2005 17:38:01] AutoGK 1.88b
[27.01.2005 17:38:01] OS: WinXP (5.1.2600).2
[27.01.2005 17:38:01] Job started.
[27.01.2005 17:38:01] Input dir: D:\DVD\Hellboy
[27.01.2005 17:38:01] Output file: C:\hell.avi
[27.01.2005 17:38:01] Audio: Deutsch
[27.01.2005 17:38:01] Subtitles: none
[27.01.2005 17:38:01] Codec: XviD
[27.01.2005 17:38:01] Target size: 1400Mb
[27.01.2005 17:38:01] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[27.01.2005 17:38:01] Started encoding.
[27.01.2005 17:38:01] Demuxing and indexing.
[27.01.2005 17:42:19] Processing file: D:\DVD\Hellboy\VTS_04_1.VOB
[27.01.2005 17:42:19] Processing file: D:\DVD\Hellboy\VTS_04_2.VOB
[27.01.2005 17:42:19] Processing file: D:\DVD\Hellboy\VTS_04_3.VOB
[27.01.2005 17:42:19] Processing file: D:\DVD\Hellboy\VTS_04_4.VOB
[27.01.2005 17:42:19] Processing file: D:\DVD\Hellboy\VTS_04_5.VOB
[27.01.2005 17:42:19] Processing file: D:\DVD\Hellboy\VTS_04_6.VOB
[27.01.2005 17:42:19] Source aspect ratio: 16:9
[27.01.2005 17:42:19] Source resolution: 720x576
[27.01.2005 17:42:19] Found PAL source.
[27.01.2005 17:42:20] Analyzing source.
[27.01.2005 17:48:29] Source has percentage of interlacing in motion areas: 0,00
[27.01.2005 17:48:29] Source is considered to be progressive.
[27.01.2005 17:48:29] Output will contain 190575 frames
[27.01.2005 17:48:29] Encoding audio.
[27.01.2005 18:06:30] Using bitrate spikes control.
[27.01.2005 18:06:30] Audio size: 122,115,672 bytes (116.46 Mb)
[27.01.2005 18:06:30] Overhead: 7,623,040 bytes (7.27 Mb)
[27.01.2005 18:06:30] Video size: 1,338,267,688 bytes (1276.27 Mb)
[27.01.2005 18:06:30] Running compressibility test.
[27.01.2005 18:06:30] Writing the following script to C:\agk_tmp\hell_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("C:\agk_tmp\hell.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 : (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
autocrop(movie,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(300,15)
===========================================================
[27.01.2005 18:16:45] Duration was: 10 minutes 14 seconds
[27.01.2005 18:16:45] Speed was: 15,51 fps.
[27.01.2005 18:16:45] Compressibility percentage is: 57,12
[27.01.2005 18:16:45] Using softer matrix.
[27.01.2005 18:16:45] Chosen resolution is: 672x368 ( AR: 1,83 )
[27.01.2005 18:16:45] Predicted comptest value is: 70,22
[27.01.2005 18:16:45] Running first pass.
[27.01.2005 18:16:45] Writing the following script to C:\agk_tmp\hell_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("C:\agk_tmp\hell.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 : (4.0/3.0)
out_width = 672
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
*************************************
EXCEPTION: Job aborted
*************************************
[27.01.2005 18:23:39] Job finished. Total time: 45 minutes 38 seconds

Is there a way to prevent this?

thx

len0x
28th January 2005, 11:36
Your log doesn't show that you have selected max width = 640...

H-Makro
28th January 2005, 17:10
Originally posted by len0x
Your log doesn't show that you have selected max width = 640...

I thought "out_width = 640" would be the width-limit I set.

thx

len0x
28th January 2005, 17:12
then in the beginning of the log file you would have seen it...

P.S. 640 width was just for comp test.

*Edit* That's odd but settings just don't seem to be picked up from advanced window.

len0x
28th January 2005, 17:53
I know what the problem is actually. Will be fixed.

H-Makro
28th January 2005, 18:01
:thanks: