Log in

View Full Version : Converting DVD to Xvid - undersized file with AutoGK 2.47b


anlick
23rd October 2007, 12:48
Looks like I encountered another case which results with undersized file.

Here is what I did:
1. Wanted to convert DVD to XviD. Loaded *.IFO file
2. Selected size, picture width/length and VBR mp3 bit rate
3. On advanced page I selected "force cartoon mode" and "ESS standalone support" check boxes

After converting 2 DVDs my 2 output files were both around the same size ~600MB. However I opted one to be 700Mb and the other to be 800Mb big!? Looks like user's input has not effect on the final file size.

Regards!

p.s. Log files available if required

Taurus
23rd October 2007, 14:37
Post your logfiles, please.

Cheers

Taurus

anlick
23rd October 2007, 15:52
Here is the log. Note that in this particular case final output size was 600Mb and I originally set 800Mb big file.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/10/2007 10:46:31 PM] AutoGK 2.47b
[22/10/2007 10:46:31 PM] OS: WinXP (5.1.2600).2
[22/10/2007 10:46:31 PM] Job started.
[22/10/2007 10:46:31 PM] Input file: D:\Aladin\VTS_01_0.IFO
[22/10/2007 10:46:31 PM] Output file: D:\Aladin\Beauty_and_the_beast.avi
[22/10/2007 10:46:31 PM] Output codec: XviD
[22/10/2007 10:46:31 PM] Audio 1: English AC3 6ch
[22/10/2007 10:46:31 PM] Subtitles: none
[22/10/2007 10:46:31 PM] Format: AVI
[22/10/2007 10:46:31 PM] Target size: 800Mb
[22/10/2007 10:46:31 PM] Custom resolution settings: fixed width of 624 pixels
[22/10/2007 10:46:31 PM] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[22/10/2007 10:46:31 PM] Standalone support enabled: ESS
[22/10/2007 10:46:31 PM] Started encoding.
[22/10/2007 10:46:31 PM] Demuxing and indexing.
[22/10/2007 10:48:43 PM] Processing file: ..\VTS_01_1.VOB
[22/10/2007 10:48:43 PM] Processing file: ..\VTS_01_2.VOB
[22/10/2007 10:48:43 PM] Processing file: ..\VTS_01_3.VOB
[22/10/2007 10:48:43 PM] Processing file: ..\VTS_01_4.VOB
[22/10/2007 10:48:43 PM] Processing file: ..\VTS_01_5.VOB
[22/10/2007 10:48:43 PM] Processing file: ..\VTS_01_6.VOB
[22/10/2007 10:48:43 PM] Source resolution: 720x480
[22/10/2007 10:48:43 PM] Found NTSC source.
[22/10/2007 10:48:43 PM] Source aspect ratio: 4:3
[22/10/2007 10:48:43 PM] Manual aspect ratio: Original
[22/10/2007 10:48:43 PM] Color correction enabled.
[22/10/2007 10:48:43 PM] Analyzing source.
[22/10/2007 10:52:50 PM] Source has percentage of interlacing in motion areas: 32.90
[22/10/2007 10:52:50 PM] Source has percentage of telecined patterns: 88.39
[22/10/2007 10:52:50 PM] Source has percentage of progressive patterns: 11.61
[22/10/2007 10:52:50 PM] Source has percentage of interlaced patterns: 0.00
[22/10/2007 10:52:50 PM] Source is considered to be hybrid (mostly FILM).
[22/10/2007 10:52:50 PM] Looking for optimal hybrid thresholds.
[22/10/2007 10:53:24 PM] Found threshold of: 1.94
[22/10/2007 10:53:24 PM] Output will contain 132073 frames
[22/10/2007 10:53:24 PM] Decoding audio.
[22/10/2007 10:55:55 PM] Normalizing audio.
[22/10/2007 10:57:12 PM] Encoding audio.
[22/10/2007 11:08:22 PM] Using cartoon mode.
[22/10/2007 11:08:22 PM] Audio1 size: 80,024,352 bytes (76.32 Mb)
[22/10/2007 11:08:22 PM] Overhead: 5,282,944 bytes (5.04 Mb)
[22/10/2007 11:08:22 PM] Video size: 753,553,504 bytes (718.64 Mb)
[22/10/2007 11:08:22 PM] Running compressibility test.
[22/10/2007 11:08:22 PM] Writing the following script to D:\Aladin\agk_tmp\Beauty_and_the_beast_comptest.avs
===========================================================
LoadPlugin("D:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("D:\Aladin\agk_tmp\Beauty_and_the_beast.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
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 = 624
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
Telecide(movie,guide=1,post=2).Decimate(mode=3,threshold=1.94)
autocrop(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,threads=0)
SelectRangeEvery(300,15)
===========================================================
[22/10/2007 11:15:25 PM] Duration was: 7 minutes 3 seconds
[22/10/2007 11:15:25 PM] Speed was: 15.59 fps.
[22/10/2007 11:15:26 PM] Compressibility percentage is: 49.07
[22/10/2007 11:15:26 PM] Using softer resizer.
[22/10/2007 11:15:26 PM] Chosen resolution is: 624x416 ( AR: 1.50 )
[22/10/2007 11:15:26 PM] Predicted comptest value is: 51.82%
[22/10/2007 11:15:26 PM] Running first pass.
[22/10/2007 11:15:26 PM] Writing the following script to D:\Aladin\agk_tmp\Beauty_and_the_beast_movie.avs
===========================================================
LoadPlugin("D:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("D:\Aladin\agk_tmp\Beauty_and_the_beast.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
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 = 624
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
Telecide(movie,guide=1,post=2).Decimate(mode=3,threshold=1.94)
autocrop(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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
===========================================================
[23/10/2007 12:28:49 AM] Duration was: 1 hour, 13 minutes 23 seconds
[23/10/2007 12:28:49 AM] Speed was: 29.99 fps.
[23/10/2007 12:28:49 AM] Expected quality of first pass size: 50.55%
[23/10/2007 12:28:49 AM] Running second pass.
[23/10/2007 2:06:54 AM] Duration was: 1 hour, 38 minutes 4 seconds
[23/10/2007 2:06:54 AM] Speed was: 22.44 fps.
[23/10/2007 2:06:54 AM] Job finished. Total time: 3 hours 20 minutes 22 seconds

Taurus
23rd October 2007, 18:34
It seems to me you've got the same problem as shown here:
http://forum.doom9.org/showthread.php?t=129907
Read the suggestions..

anlick
24th October 2007, 15:47
Yup. It turns out everything works well with 2.40. I thought these problems were fixed in 2.47b version.