steveh2001
12th July 2004, 09:56
Hi, i recently tried out AutoGK, to quickly encode some frasier episodes to xvid, its pretty basic in the options so i dont know how and why it goes wrong, but i cant get consistant file sizes on completion. Firstly i selected 350mb eps and they gave me 140mb eps which then seemed more sensible anyway as they were 22min long. So i wanted the rest to be around 140 mb, so i selected 1/4 cd, 175 mb preset and it gave me 200mb, then i tried 140mb on the manual file size and it gave me 90! This is really annoying me as it takes 2 hrs to wait to see what file size im going to get!
Any ideas?
Cheers
Steve
manono
12th July 2004, 10:12
Hello, and welcome to the forum-
Do you have a log for one of the encodes? That would help to diagnose the problem.
steveh2001
12th July 2004, 11:16
Hi, Thanks for the reply,
Unfortunatly in fustration i deleted all the logs, but i am doing another encode now which finishes in 30 mins or so so ill post the log then,
Thanks
Steve
steveh2001
12th July 2004, 12:02
Hi Manono,
Below is the log file, i set autogk at 175 mb, and the o/p file was 113 mb,
This was closer to what i wanted then before but still not coming out what it is supposed to. Ideally i would like to set the size using the manual option, at 140mb, but as i said before it didnt work.
Hope you can help!
Cheers
Steve
[12/07/2004 09:22:34] AutoGK 1.25
[12/07/2004 09:22:34] OS: WinXP (5.1.2600).2
[12/07/2004 09:22:34] Job started.
[12/07/2004 09:22:34] Input dir: I:\Fraiser
[12/07/2004 09:22:34] Output file: I:\Fraiser\hyj.avi
[12/07/2004 09:22:34] Audio: English
[12/07/2004 09:22:34] Subtitles: none
[12/07/2004 09:22:34] Codec: XviD
[12/07/2004 09:22:34] Target size: 175Mb
[12/07/2004 09:22:34] Started encoding.
[12/07/2004 09:22:34] Demuxing and indexing.
[12/07/2004 09:23:10] Analyzing source.
[12/07/2004 09:23:10] Writing the following script to I:\Fraiser\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("I:\\Fraiser\\gk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
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.SaveAVI("I:\\Fraiser\\gk_tmp\\_.avi");
===========================================================
[12/07/2004 09:24:32] Source has percentage of interlacing in motion areas: 36.09
[12/07/2004 09:24:32] Source is considered to be interlaced.
[12/07/2004 09:24:32] Analyzing PAL source with different field order.
[12/07/2004 09:24:32] Writing the following script to I:\Fraiser\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("I:\\Fraiser\\gk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
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.SaveAVI("I:\\Fraiser\\gk_tmp\\_.avi");
===========================================================
[12/07/2004 09:25:52] Source has percentage of interlacing in motion areas: 36.15
[12/07/2004 09:25:52] Source is considered to be interlaced.
[12/07/2004 09:25:52] Found 32284 frames
[12/07/2004 09:25:52] Encoding audio.
[12/07/2004 09:29:09] Audio size: 21,673,712 bytes (20.67 Mb)
[12/07/2004 09:29:09] Overhead: 1,291,392 bytes (1.23 Mb)
[12/07/2004 09:29:09] Video size: 160,535,696 bytes (153.10 Mb)
[12/07/2004 09:29:09] Running compressibility test.
[12/07/2004 09:29:09] Writing the following script to I:\Fraiser\gk_tmp\hyj_comptest.avs
===========================================================
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\autocrop.dll")
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\undot.dll")
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\kerneldeint.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("I:\Fraiser\gk_tmp\hyj.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.09401709401709)
input_par = float(c_width)/float(c_height)
fixed_aspect = 1.09401709401709
flag_halfdvd = input_par > 1.0 ? 0 : 1
input_par = input_par > 1.0 ? input_par : input_par * 2
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
new_aspect = flag_halfdvd > 0 ? new_aspect/2.0 : new_aspect
KernelDeInt(movie,order=getOrder(movie),sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[12/07/2004 09:29:09] Writing the following script to I:\Fraiser\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("I:\\Fraiser\\gk_tmp\\hyj_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("I:\\Fraiser\\gk_tmp\\hyj_comptest.avi");
===========================================================
[12/07/2004 09:31:54] Duration was: 2 minutes 44 seconds
[12/07/2004 09:31:54] Speed was: 9.83 fps.
[12/07/2004 09:31:54] Compressibility percentage is: 36.14
[12/07/2004 09:31:54] Using softer resizer.
[12/07/2004 09:31:54] Chosen resolution is: 496x368 ( AR: 1.35 )
[12/07/2004 09:31:54] Predicted comptest value is: 60.82
[12/07/2004 09:31:54] Running first pass.
[12/07/2004 09:31:54] Writing the following script to I:\Fraiser\gk_tmp\hyj_movie.avs
===========================================================
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\mpeg2dec3dg.dll")
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\autocrop.dll")
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\undot.dll")
LoadPlugin("d:\PROGRA~1\VIDEOE~1\AutoGK\filters\kerneldeint.dll")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
return order }
movie = mpeg2source("I:\Fraiser\gk_tmp\hyj.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=35)
c_width = width(cropclip)
c_height = round(height(cropclip) / 1.09401709401709)
input_par = float(c_width)/float(c_height)
fixed_aspect = 1.09401709401709
flag_halfdvd = input_par > 1.0 ? 0 : 1
input_par = input_par > 1.0 ? input_par : input_par * 2
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 496
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
new_aspect = flag_halfdvd > 0 ? new_aspect/2.0 : new_aspect
KernelDeInt(movie,order=getOrder(movie),sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=35)
Undot()
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[12/07/2004 09:31:54] Writing the following script to I:\Fraiser\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("I:\\Fraiser\\gk_tmp\\hyj_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("I:\\Fraiser\\hyj.avi");
===========================================================
[12/07/2004 10:05:45] Duration was: 33 minutes 50 seconds
[12/07/2004 10:05:45] Speed was: 15.90 fps.
[12/07/2004 10:05:45] Expected quality of first pass size: 66.16
[12/07/2004 10:05:45] Running second pass.
[12/07/2004 10:05:45] Writing the following script to I:\Fraiser\gk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("I:\\Fraiser\\gk_tmp\\hyj_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(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("I:\\Fraiser\\gk_tmp\\hyj AC3 T01 2_0ch 192Kbps 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.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.SaveAVI("I:\\Fraiser\\hyj.avi");
===========================================================
[12/07/2004 10:37:38] Duration was: 31 minutes 53 seconds
[12/07/2004 10:37:38] Speed was: 16.87 fps.
[12/07/2004 10:37:38] Job finished.
manono
12th July 2004, 12:09
Hi-
This is XviD, so did you have one of the older XviD codecs installed earlier? And did you completely uninstall it before installing XviD 1.0 or 1.01? You have to do that. For more information, please see 6.3 of the AutoGK FAQ. (http://forum.doom9.org/showthread.php?s=&threadid=72679)
steveh2001
12th July 2004, 12:26
I thought i had, but ill have another try uninstalling the whole lot and then reinstalling xvid 1.0 then gk rip pack, then autogk
steveh2001
12th July 2004, 12:38
I uninstalled all xvid codecs/decoders that i had installed, and deleted any remaining xvid related files, purged the registry of xvid related entries and re-installed autogk which had xvid 1.0 included as far as i can tell, restarted the computer and am now setting up a new encode and will see what happens...
Cheers
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.