darkwarrior
7th August 2007, 10:51
Hi again. I'm trying to encode three films at the moment, each has a set size limit. The first two have 750MB size limits while the third has a 600 as its less than an hour long.
However, after converting them they turn out considerably less than these. The first two are coming in at 530MB roughly, give or take 8 MB. The third came out at 388MB. I assume that this will have some impact on the total quality of the file so am trying to get it to the set file size but for some reason the output always turns out much smaller than this. I've not changed any settings as I've not used AutoGK in a good while.
This is the code for one of the files.
[07/08/2007 01:26:06] AutoGK 2.40
[07/08/2007 01:26:06] OS: WinXP (5.1.2600).2
[07/08/2007 01:26:06] Job started.
[07/08/2007 01:26:06] Input file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_0.IFO
[07/08/2007 01:26:06] Output file: K:\New Movies\Indiana Jones and the Last Crusade.avi
[07/08/2007 01:26:06] Output codec: XviD
[07/08/2007 01:26:06] Audio 1: English AC3 6ch
[07/08/2007 01:26:06] Subtitles: none
[07/08/2007 01:26:06] Format: AVI
[07/08/2007 01:26:06] Target size: 750Mb
[07/08/2007 01:26:06] Custom resolution settings: fixed width of 640 pixels
[07/08/2007 01:26:06] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[07/08/2007 01:26:06] Standalone support enabled: MTK/Sigma
[07/08/2007 01:26:06] Started encoding.
[07/08/2007 01:26:06] Demuxing and indexing.
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_1.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_2.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_3.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_4.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_5.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_6.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_7.VOB
[07/08/2007 01:28:05] Source resolution: 720x576
[07/08/2007 01:28:05] Found PAL source.
[07/08/2007 01:28:05] Source aspect ratio: 16:9
[07/08/2007 01:28:06] Analyzing source.
[07/08/2007 01:33:19] Source has percentage of interlacing in motion areas: 0.00
[07/08/2007 01:33:19] Source is considered to be progressive.
[07/08/2007 01:33:19] Output will contain 182519 frames
[07/08/2007 01:33:19] Decoding audio.
[07/08/2007 01:36:43] Normalizing audio.
[07/08/2007 01:37:27] Encoding audio.
[07/08/2007 01:51:06] Audio1 size: 107,205,912 bytes (102.24 Mb)
[07/08/2007 01:51:06] Overhead: 7,300,736 bytes (6.96 Mb)
[07/08/2007 01:51:06] Video size: 671,925,352 bytes (640.80 Mb)
[07/08/2007 01:51:06] Running compressibility test.
[07/08/2007 01:51:06] Writing the following script to K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade_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")
movie = mpeg2source("K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade.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 = 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)
===========================================================
[07/08/2007 01:56:12] Duration was: 5 minutes 6 seconds
[07/08/2007 01:56:12] Speed was: 29.82 fps.
[07/08/2007 01:56:12] Compressibility percentage is: 28.08
[07/08/2007 01:56:12] Using softer resizer.
[07/08/2007 01:56:12] Chosen resolution is: 640x272 ( AR: 2.35 )
[07/08/2007 01:56:12] Predicted comptest value is: 29.13%
[07/08/2007 01:56:12] Running first pass.
[07/08/2007 01:56:12] Writing the following script to K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade_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")
movie = mpeg2source("K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade.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 = 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)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[07/08/2007 02:53:33] Duration was: 57 minutes 21 seconds
[07/08/2007 02:53:33] Speed was: 53.04 fps.
[07/08/2007 02:53:34] Expected quality of first pass size: 28.24%
[07/08/2007 02:53:34] Running second pass.
[07/08/2007 04:12:27] Duration was: 1 hour, 18 minutes 53 seconds
[07/08/2007 04:12:27] Speed was: 38.56 fps.
[07/08/2007 04:12:27] Job finished. Total time: 2 hours 46 minutes 20 seconds
However, after converting them they turn out considerably less than these. The first two are coming in at 530MB roughly, give or take 8 MB. The third came out at 388MB. I assume that this will have some impact on the total quality of the file so am trying to get it to the set file size but for some reason the output always turns out much smaller than this. I've not changed any settings as I've not used AutoGK in a good while.
This is the code for one of the files.
[07/08/2007 01:26:06] AutoGK 2.40
[07/08/2007 01:26:06] OS: WinXP (5.1.2600).2
[07/08/2007 01:26:06] Job started.
[07/08/2007 01:26:06] Input file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_0.IFO
[07/08/2007 01:26:06] Output file: K:\New Movies\Indiana Jones and the Last Crusade.avi
[07/08/2007 01:26:06] Output codec: XviD
[07/08/2007 01:26:06] Audio 1: English AC3 6ch
[07/08/2007 01:26:06] Subtitles: none
[07/08/2007 01:26:06] Format: AVI
[07/08/2007 01:26:06] Target size: 750Mb
[07/08/2007 01:26:06] Custom resolution settings: fixed width of 640 pixels
[07/08/2007 01:26:06] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[07/08/2007 01:26:06] Standalone support enabled: MTK/Sigma
[07/08/2007 01:26:06] Started encoding.
[07/08/2007 01:26:06] Demuxing and indexing.
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_1.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_2.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_3.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_4.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_5.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_6.VOB
[07/08/2007 01:28:05] Processing file: K:\New Movies\Indiana Jones and the Last Crusade\VTS_07_7.VOB
[07/08/2007 01:28:05] Source resolution: 720x576
[07/08/2007 01:28:05] Found PAL source.
[07/08/2007 01:28:05] Source aspect ratio: 16:9
[07/08/2007 01:28:06] Analyzing source.
[07/08/2007 01:33:19] Source has percentage of interlacing in motion areas: 0.00
[07/08/2007 01:33:19] Source is considered to be progressive.
[07/08/2007 01:33:19] Output will contain 182519 frames
[07/08/2007 01:33:19] Decoding audio.
[07/08/2007 01:36:43] Normalizing audio.
[07/08/2007 01:37:27] Encoding audio.
[07/08/2007 01:51:06] Audio1 size: 107,205,912 bytes (102.24 Mb)
[07/08/2007 01:51:06] Overhead: 7,300,736 bytes (6.96 Mb)
[07/08/2007 01:51:06] Video size: 671,925,352 bytes (640.80 Mb)
[07/08/2007 01:51:06] Running compressibility test.
[07/08/2007 01:51:06] Writing the following script to K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade_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")
movie = mpeg2source("K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade.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 = 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)
===========================================================
[07/08/2007 01:56:12] Duration was: 5 minutes 6 seconds
[07/08/2007 01:56:12] Speed was: 29.82 fps.
[07/08/2007 01:56:12] Compressibility percentage is: 28.08
[07/08/2007 01:56:12] Using softer resizer.
[07/08/2007 01:56:12] Chosen resolution is: 640x272 ( AR: 2.35 )
[07/08/2007 01:56:12] Predicted comptest value is: 29.13%
[07/08/2007 01:56:12] Running first pass.
[07/08/2007 01:56:12] Writing the following script to K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade_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")
movie = mpeg2source("K:\New Movies\agk_tmp\Indiana Jones and the Last Crusade.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 = 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)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[07/08/2007 02:53:33] Duration was: 57 minutes 21 seconds
[07/08/2007 02:53:33] Speed was: 53.04 fps.
[07/08/2007 02:53:34] Expected quality of first pass size: 28.24%
[07/08/2007 02:53:34] Running second pass.
[07/08/2007 04:12:27] Duration was: 1 hour, 18 minutes 53 seconds
[07/08/2007 04:12:27] Speed was: 38.56 fps.
[07/08/2007 04:12:27] Job finished. Total time: 2 hours 46 minutes 20 seconds