Log in

View Full Version : Too small output size


ukb008
24th February 2007, 14:07
Hi, PROs

AGK has produced a 20-min video for one of my DVDs. Here's the logfile. Can you spot why? I don't understand why would there be only 17946 frames for a 5-vob DVD targetted to make a 1400 MB avi.

Regards.

[2/11/2007 10:18:40 PM] AutoGK 2.40
[2/11/2007 10:18:40 PM] OS: WinXP (5.1.2600).2
[2/11/2007 10:18:40 PM] Job started.
[2/11/2007 10:18:40 PM] Input file: C:\Documents and Settings\Blue_420\Desktop\Temp\VTS_01_0.IFO
[2/11/2007 10:18:40 PM] Output file: C:\Documents and Settings\Blue_420\Desktop\Temp\Temp2.avi
[2/11/2007 10:18:40 PM] Output codec: XviD
[2/11/2007 10:18:40 PM] Audio 1: English AC3 2ch
[2/11/2007 10:18:40 PM] Subtitles: none
[2/11/2007 10:18:40 PM] Format: AVI
[2/11/2007 10:18:40 PM] Target size: 1400Mb
[2/11/2007 10:18:40 PM] Custom resolution settings: maximum width of 640 pixels
[2/11/2007 10:18:40 PM] Audio 1 settings: Original
[2/11/2007 10:18:40 PM] Started encoding.
[2/11/2007 10:18:40 PM] Demuxing and indexing.
[2/11/2007 10:18:52 PM] Processing file: C:\Documents and Settings\Blue_420\Desktop\Temp\VTS_01_1.VOB
[2/11/2007 10:18:52 PM] Processing file: C:\Documents and Settings\Blue_420\Desktop\Temp\VTS_01_2.VOB
[2/11/2007 10:18:52 PM] Processing file: C:\Documents and Settings\Blue_420\Desktop\Temp\VTS_01_3.VOB
[2/11/2007 10:18:52 PM] Processing file: C:\Documents and Settings\Blue_420\Desktop\Temp\VTS_01_4.VOB
[2/11/2007 10:18:52 PM] Processing file: C:\Documents and Settings\Blue_420\Desktop\Temp\VTS_01_5.VOB
[2/11/2007 10:18:52 PM] Source resolution: 720x480
[2/11/2007 10:18:52 PM] Found NTSC source.
[2/11/2007 10:18:52 PM] Source aspect ratio: 16:9
[2/11/2007 10:18:52 PM] Source seems to be pure FILM.
[2/11/2007 10:18:52 PM] Color correction enabled.
[2/11/2007 10:18:52 PM] Output will contain 17946 frames
[2/11/2007 10:18:52 PM] Audio1 size: 17,959,872 bytes (17.13 Mb)
[2/11/2007 10:18:52 PM] Overhead: 124,800 bytes (0.12 Mb)
[2/11/2007 10:18:52 PM] Video size: 1,449,921,728 bytes (1382.75 Mb)
[2/11/2007 10:18:52 PM] Running compressibility test.
[2/11/2007 10:18:52 PM] Writing the following script to C:\Documents and Settings\Blue_420\Desktop\Temp\agk_tmp\Temp2_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\Documents and Settings\Blue_420\Desktop\Temp\agk_tmp\Temp2.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.18518518518519
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
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
SelectRangeEvery(125,15)
===========================================================
[2/11/2007 10:20:39 PM] Duration was: 1 minute, 46 seconds
[2/11/2007 10:20:39 PM] Speed was: 20.13 fps.
[2/11/2007 10:20:39 PM] Compressibility percentage is: 770.05
[2/11/2007 10:20:39 PM] Switching b-frames off
[2/11/2007 10:20:39 PM] Chosen resolution is: 640x352 ( AR: 1.82 )
[2/11/2007 10:20:39 PM] Predicted comptest value is: 576.00%
[2/11/2007 10:20:39 PM] Running first pass.
[2/11/2007 10:20:39 PM] Writing the following script to C:\Documents and Settings\Blue_420\Desktop\Temp\agk_tmp\Temp2_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\Documents and Settings\Blue_420\Desktop\Temp\agk_tmp\Temp2.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.18518518518519
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
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
===========================================================
[2/11/2007 10:28:46 PM] Duration was: 8 minutes 7 seconds
[2/11/2007 10:28:46 PM] Speed was: 36.85 fps.
[2/11/2007 10:28:46 PM] Expected quality of first pass size: 600.76%
[2/11/2007 10:28:46 PM] Trying to adjust settings.
[2/11/2007 10:28:46 PM] No adjustment is possible
[2/11/2007 10:28:46 PM] Warning: final AVI will likely be undersized.
[2/11/2007 10:28:46 PM] Running second pass.
[2/11/2007 10:41:32 PM] Duration was: 12 minutes 46 seconds
[2/11/2007 10:41:32 PM] Speed was: 23.43 fps.
[2/11/2007 10:41:32 PM] No splitting required
[2/11/2007 10:41:32 PM] Job finished. Total time: 22 minutes 51 seconds

CWR03
24th February 2007, 22:39
To begin with, you've selected a 1400MB output, which means AutoGK will auto-split your .AVI. There should be two files, each 700 MB. What did it actually give you? What is the total length of the source files? Without knowing these, it's just guesswork.

BigDid
24th February 2007, 22:43
@CWR03, Hi

It's a dub of this thread: http://forum.doom9.org/showthread.php?t=122648

Did