PDA

View Full Version : Size trouble- result is only 177MB


arrirc
31st May 2009, 16:33
Hello

this is rather a weird problem and only occurring when I choose a predefined size of 1/6 of a DVD. I tried prefixed quality percentage and 1CD predefined size there is not much of a problem, but I tried to encode to XviD twice using a predefined size of 1/6 of a DVD and both the times the result turned out to be 177MB. Note that all the times sources were the same, DVDs ripped to my HDD using PGC.net and DVDFab HD Decrypter.

here is the log:

[5/31/2009 1:00:48 AM] AutoGK 2.55
[5/31/2009 1:00:48 AM] OS: WinXP (5.1.2600).2
[5/31/2009 1:00:48 AM] Job started.
[5/31/2009 1:00:48 AM] Input file: H:\DVD Rips\Alien\VTS_01_PGC_01_0.ifo
[5/31/2009 1:00:48 AM] Output file: H:\DVD Rips\Alien\Alien2.avi
[5/31/2009 1:00:48 AM] Output codec: XviD
[5/31/2009 1:00:48 AM] Audio 1: English AC3 6ch
[5/31/2009 1:00:48 AM] Subtitles 1: English wide
[5/31/2009 1:00:48 AM] Format: AVI
[5/31/2009 1:00:48 AM] Target size: 746Mb
[5/31/2009 1:00:48 AM] Audio 1 settings: VBR MP3 with average bitrate: 112Kbps
[5/31/2009 1:00:48 AM] Standalone support enabled: ESS
[5/31/2009 1:00:48 AM] Started encoding.
[5/31/2009 1:00:48 AM] Demuxing and indexing.
[5/31/2009 2:00:18 AM] Processing file: H:\DVD Rips\Alien\VTS_01_PGC_01_1.VOB
[5/31/2009 2:00:18 AM] Source resolution: 720x576
[5/31/2009 2:00:18 AM] Found PAL source.
[5/31/2009 2:00:18 AM] Source aspect ratio: 16:9
[5/31/2009 2:00:18 AM] Manual aspect ratio: 16:9
[5/31/2009 2:00:18 AM] Analyzing source.
[5/31/2009 2:04:53 AM] Source has percentage of interlacing in motion areas: 0.06
[5/31/2009 2:04:53 AM] Source is considered to be progressive.
[5/31/2009 2:04:53 AM] Output will contain 167773 frames
[5/31/2009 2:04:53 AM] Decoding audio.
[5/31/2009 2:07:37 AM] Normalizing audio.
[5/31/2009 2:08:06 AM] Encoding audio.
[5/31/2009 2:18:02 AM] Preparing subtitles.
[5/31/2009 2:20:07 AM] Forcing encoding with sharp matrix.
[5/31/2009 2:20:07 AM] Picking up credits information.
[5/31/2009 2:20:07 AM] Credits start frame: 163750
[5/31/2009 2:20:07 AM] Credits quality percentage: 30
[5/31/2009 2:20:07 AM] Credits greyscale option activated.
[5/31/2009 2:20:07 AM] Picking up autocrop parameters.
[5/31/2009 2:20:07 AM] Audio1 size: 86,129,590 bytes (82.14 Mb)
[5/31/2009 2:20:09 AM] Overhead: 6,710,912 bytes (6.40 Mb)
[5/31/2009 2:20:09 AM] Video size: 689,397,194 bytes (657.46 Mb)
[5/31/2009 2:20:09 AM] Running compressibility test.
[5/31/2009 2:20:09 AM] Writing the following script to H:\DVD Rips\Alien\agk_tmp\Alien2_comptest.avs
===========================================================
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("H:\DVD Rips\Alien\agk_tmp\Alien2.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=10,rightadd=10,topadd=20,bottomadd=20)
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 = 704
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=10,rightadd=10,topadd=20,bottomadd=20)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
VobSub("H:\DVD Rips\Alien\agk_tmp\Alien2.idx")
SelectRangeEvery(300,15)
===========================================================
[5/31/2009 2:22:52 AM] Duration was: 2 minutes 42 seconds
[5/31/2009 2:22:52 AM] Speed was: 51.76 fps.
[5/31/2009 2:22:52 AM] Compressibility percentage is: 42.06
[5/31/2009 2:22:52 AM] Using softer resizer.
[5/31/2009 2:22:52 AM] Chosen resolution is: 608x256 ( AR: 2.38 )
[5/31/2009 2:22:52 AM] Predicted comptest value is: 57.85%
[5/31/2009 2:22:52 AM] Running first pass.
[5/31/2009 2:22:52 AM] Writing the following script to H:\DVD Rips\Alien\agk_tmp\Alien2_movie.avs
===========================================================
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("D:\APPLIC~1\2_VIDE~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("H:\DVD Rips\Alien\agk_tmp\Alien2.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=10,rightadd=10,topadd=20,bottomadd=20)
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 = 608
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=10,rightadd=10,topadd=20,bottomadd=20)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
VobSub("H:\DVD Rips\Alien\agk_tmp\Alien2.idx")
===========================================================
[5/31/2009 2:50:40 AM] Duration was: 27 minutes 48 seconds
[5/31/2009 2:50:40 AM] Speed was: 100.57 fps.
[5/31/2009 2:50:40 AM] Expected quality of first pass size: 53.71%
[5/31/2009 2:50:40 AM] Running second pass.
[5/31/2009 3:22:25 AM] Duration was: 31 minutes 43 seconds
[5/31/2009 3:22:25 AM] Speed was: 88.15 fps.
[5/31/2009 3:22:25 AM] Job finished. Total time: 2 hours 21 minutes 37 seconds

Please help :(

Thank you

BigDid
31st May 2009, 19:20
Hello

this is rather a weird problem and only occurring when I choose a predefined size of 1/6 of a DVD. I tried prefixed quality percentage and 1CD predefined size there is not much of a problem, but I tried to encode to XviD twice using a predefined size of 1/6 of a DVD and both the times the result turned out to be 177MB. Note that all the times sources were the same, DVDs ripped to my HDD using PGC.net and DVDFab HD Decrypter.

Hi,

The log is ok, no compressibility over 100% so my only guess is a bug in the program or in the installation.

To confirm a bug in the program you will have to encode different source with the same settings and get the same results!

Before that you can track a bug in the installation by de-installing, clean register (with ccleaner or other) and re-installing AGK; if you have any codec pack installed, please de-install it also as it can produce wild results. Weird problems like that can often be resolved by this procedure: see FAQ 6.3 and 6.3.1

Did

arrirc
31st May 2009, 20:22
Thanks for the response. I have K-Lite Mega Codec pack installed, but removing that means a lot of files will not at all play in my PC. :(

BigDid
31st May 2009, 20:53
Hi again,

Well your choice to, at least, identify the problem. After that, if confirmed and solved, you may want to give a try to ffdshow?

Did

arrirc
1st June 2009, 05:38
I understand what you mean. But I believe ffdshow is installed by K Lite and whenever an AV file is played either FFv or FFa or both are displayed in the system tray.

I'll try to trouble shoot it. First I shall try another source than a complete uninstall and reinstall.

TAC109
1st June 2009, 22:54
I understand what you mean. But I believe ffdshow is installed by K Lite and whenever an AV file is played either FFv or FFa or both are displayed in the system tray.

I'll try to trouble shoot it. First I shall try another source than a complete uninstall and reinstall.

Did You read FAQ 6.3? All you probably need to do is uninstall your existing copy of XVID and re-install XVID from the AGK package.

arrirc
3rd June 2009, 14:01
Did You read FAQ 6.3? All you probably need to do is uninstall your existing copy of XVID and re-install XVID from the AGK package.

Ummmm...then why does it work perfectly when I choose predefined sizes like 1CD or 2CDs?

Anyways I have as I said K-Lite so I shall try to uninstall and reinstall AGK again and see what happens...

In the meantime I had tried using another source but the result turned out to be the same...about 180MB.

arrirc
6th July 2009, 17:07
Ok I have figured the reason out, it is happening when Stand Alone ESS support is enabled.

So it seems to be the bug. Could it be looked into please?

BigDid
7th July 2009, 01:18
Hi,

I am using the ESS config for 3d anim without any size problem (and the MTK config for movies).

I would not call it a bug unless verified with different sources and sizes (not only 2 episodes of same origin)...

Did

arrirc
10th July 2009, 05:00
Hi,

I am using the ESS config for 3d anim without any size problem (and the MTK config for movies).

I would not call it a bug unless verified with different sources and sizes (not only 2 episodes of same origin)...

Did

Well I have found that some one else at the videohelp did also have the same problem.

Would it be possible for you to share the settings in details that you use to convert a movie- so that I can compare?

BigDid
10th July 2009, 22:15
Hi,

It seems you may be partially right.

I have done only 1 tetst for each config, so to be confirmed.

1/The bug seems to occur when selecting "Enable standalone/ ESS" => 177Mb
2/The bug seems to NOT occur when selecting "Enable standalone/ ESS" + "Force sharp Mpeg Matrix for Xvid"

In both cases H263 (standard matrix) will be used.

I usually do not uncheck the "Force sharp Mpeg Matrix for Xvid" so could not verify the bug.

Technicalities:
1/ When selecting "Enable standalone/ ESS" the ">>Simple@L0" xvid profile is used
2/ When using "Enable standalone/ ESS" + "Force sharp Mpeg Matrix for Xvid" the "Home theatre PAL"* is used as it should be.

* Will be "Home theatre NTSC" for NTSC land.

Please test and confirm.

Did

arrirc
15th July 2009, 20:47
Hello BigDid

In my case it seems to occurring even when Force sharp Mpeg Matrix for Xvid is checked. :(

BigDid
16th July 2009, 04:31
Hi,

Len0x doesn't seems very active nowadays, so I am afraid the bug will stay for a certain amount of time...

If this is very important for you, the only workaround I see is using AGKPal. As the AGK processes will stop a few times to let the user enter some parameters, Use the stop before 1st pass to go into the xvid configuration panel and change the "Profile@level" from "Simple@L0" to "Home theatre ..." that should remain persistant for 2nd pass and solve the 177Mb problem.

For the AgkPal thread and help search in this AGK section like:
http://forum.doom9.org/showthread.php?p=716282#post716282

Did

arrirc
16th July 2009, 16:08
Ok thanks Did, I shall try it out for sure :)