View Full Version : Always wrong size ....
xebone
29th September 2005, 19:46
Hi !
Im using Auto GK 2.16b and xvid.
I set (.mpg file 600 MB) to xvid (200MB) but i get 113 MB and another trial i got with other source material 130 MB - so bad quality also ....
What to do ?! ANy ideas ? I also read already checked FAQ and if my xvid install is clean.
Looks nice. I even uninstalled Divx so that there cant be any colision.
Any tool with that i can check if my xvid install is perfect and not anyhow disturbed ?
When i got "preview" the quality is perfect, when the encoding is done, its bad ...
Any ideas ?! Please !
jggimi
29th September 2005, 21:04
We haven't seen your log, so we have to guess. My guess is that your sample is already at its maximum bitrate.
But unless you take the time to :logfile: that remains just a guess.
xebone
29th September 2005, 21:27
My sample ?
You mean my source ? Its . pva so a dvb-s source.
Quality is pretty high and good ...
Here the logfile. Hopefully it helps ;o) Source was 3 time as big as the target is, so about 580 MB ....
[29.09.2005 17:56:47] AutoGK 2.16b
[29.09.2005 17:56:47] OS: WinXP (5.1.2600).2
[29.09.2005 17:56:47] Job started.
[29.09.2005 17:56:47] Input file: C:\KOQ_28_08_2005.mpg
[29.09.2005 17:56:47] Output file: C:\KOQ_28_08_2005.avi
[29.09.2005 17:56:47] Output codec: XviD
[29.09.2005 17:56:47] Audio 1: Audio Stream 0 MPEG
[29.09.2005 17:56:47] Subtitles: none
[29.09.2005 17:56:47] Format: .AVI
[29.09.2005 17:56:47] Target size: 180Mb
[29.09.2005 17:56:47] Custom resolution settings: fixed width of 720 pixels
[29.09.2005 17:56:47] Custom audio settings: VBR MP3 with average bitrate: 160Kbps
[29.09.2005 17:56:47] Standalone support enabled: MTK/Sigma
[29.09.2005 17:56:47] Started encoding.
[29.09.2005 17:56:47] Demuxing and indexing.
[29.09.2005 17:56:59] Processing file: C:\KOQ_28_08_2005.mpg
[29.09.2005 17:56:59] Source resolution: 720x576
[29.09.2005 17:56:59] Found PAL source.
[29.09.2005 17:56:59] Source aspect ratio: 4:3
[29.09.2005 17:56:59] Analyzing source.
[29.09.2005 17:59:00] Source has percentage of interlacing in motion areas: 0,83
[29.09.2005 17:59:00] Source is considered to be progressive.
[29.09.2005 17:59:00] Output will contain 30988 frames
[29.09.2005 17:59:00] Encoding audio.
[29.09.2005 18:00:23] Audio1 size: 26,286,720 bytes (25.07 Mb)
[29.09.2005 18:00:23] Overhead: 1,239,552 bytes (1.18 Mb)
[29.09.2005 18:00:23] Video size: 161,217,408 bytes (153.75 Mb)
[29.09.2005 18:00:23] Running compressibility test.
[29.09.2005 18:00:23] Writing the following script to C:\agk_tmp\KOQ_28_08_2005_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("C:\agk_tmp\KOQ_28_08_2005.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.06666666666667
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
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(214,15)
===========================================================
[29.09.2005 18:02:55] Duration was: 2 minutes 31 seconds
[29.09.2005 18:02:55] Speed was: 14,27 fps.
[29.09.2005 18:02:55] Compressibility percentage is: 24,22
[29.09.2005 18:02:55] Using softer resizer.
[29.09.2005 18:02:55] Chosen resolution is: 720x544 ( AR: 1,32 )
[29.09.2005 18:02:55] Predicted comptest value is: 25,12
[29.09.2005 18:02:55] Running first pass.
[29.09.2005 18:02:55] Writing the following script to C:\agk_tmp\KOQ_28_08_2005_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("C:\agk_tmp\KOQ_28_08_2005.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.06666666666667
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
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)
===========================================================
[29.09.2005 18:27:10] Duration was: 24 minutes 14 seconds
[29.09.2005 18:27:10] Speed was: 21,30 fps.
[29.09.2005 18:27:10] Expected quality of first pass size: 25,69
[29.09.2005 18:27:10] Running second pass.
[29.09.2005 19:00:57] Duration was: 33 minutes 47 seconds
[29.09.2005 19:00:57] Speed was: 15,29 fps.
[29.09.2005 19:00:57] Job finished. Total time: 1 hour, 4 minutes 10 seconds
unskinnyboy
29th September 2005, 21:42
The undersizing is a source of concern but I am not surprised about the bad quality. The compressibility percentage is very low. 720x544 @ 180 MB won't be a pretty sight + you are reencoding.
Which version of XviD? The one bundled with the latest AGK? If not, can you update to AGK v2.18b + the XviD bundled and give it one more shot to see if the undersizing goes away?
xebone
29th September 2005, 21:56
>>The compressibility percentage is very low. 720x544 @ 180 MB won't be a pretty sight + you are reencoding.
How can i stay at the given resolution ? So no reencode?
SOurce is 720x576@580MB - Final is 720x544@180MB
Normally a 1/3 is always perfect quality .... always was like this before.
Dont know why its so awful then here ?! :o(
I downloaded latest version of xvid XviD-1.1.0-Beta2-04042005.exe
2.18b+ isnt downloadable all mirrors saying "error". Besides i havent had that problems with a prior version (about 1/2 year old one) but dont know anymore which one that was.
And its still not clear why it makes a 130MB file instead of 180MB as i wanted ....
jggimi
29th September 2005, 22:02
I found a few things in the log... Note first these restrictions:[29.09.2005 17:56:47] Target size: 180Mb
[29.09.2005 17:56:47] Custom resolution settings: fixed width of 720 pixels
[29.09.2005 17:56:47] Custom audio settings: VBR MP3 with average bitrate: 160KbpsAudio will consume approximately 24MB of that 180MB file
Because of the fixed resolution, take a look at these compression results...[29.09.2005 18:02:55] Compressibility percentage is: 24,22
[29.09.2005 18:02:55] Using softer resizer.
[29.09.2005 18:02:55] Chosen resolution is: 720x544 ( AR: 1,32 )
[29.09.2005 18:02:55] Predicted comptest value is: 25,12That's a terrible compression ratio, and explains the poor quality of the output.
My newest guess is that an XviD was installed on top of an existing XviD installation. That can cause size symptoms such as what you're experiencing. Try de-installing every XviD completely, then re-installing XviD.
xebone
29th September 2005, 22:19
Yeah i know i wanted to keep 720x resolution. Btw. outputfile is 130MB only i wanted 180MB ...
The main question is WHY is the compression ratio that bad then ?! Mpg should be very good compressable ....at least that much
Yeah i did - many times xvid installation over xvid ...
Is there any tool to check if all xvids are gone ? I mean all dlls and such ?
Or how can i check manually ?
Do i have to restart after deinstallation before i reinstall xvid?
jggimi
29th September 2005, 23:02
Yeah i know i wanted to keep 720x resolution. Btw. outputfile is 130MB only i wanted 180MB ...Exactly. And improper installation, or an overlayed, installation, can cause this symptom.The main question is WHY is the compression ratio that bad then ?! Mpg should be very good compressable ....at least that much...If the codec isn't behaving properly, that could be one reason. Another possibility is the content. It doesn't matter that your source was MPEG -- compressibility varies by what makes up the pictures. Motion, color, movement (both of photographed content and the camera) are only some of many factors that affect compressibility.Yeah i did - many times xvid installation over xvid ... Don't....Do i have to restart after deinstallation before i reinstall xvid?No.
xebone
29th September 2005, 23:19
Hmm im pretty kinda giving up ....
Deinstalled xvid over the "uninstall.exe" and it was gone.
Then restart. And then install of xvid.
Made it 720x again -> compressibility 25 .... there i already aborted it thats too low. When i let it make "auto width" then it makes it something like 492x
then compressibility gives 55 or something like that.
Source material is "king of queens" which came on TV. So if u know that show, you know there is no fast motion, no special colors or something like that.
1/3 in size should be possible without loosing seeable quality - at least that worked on many other King of queen episodes i encoded ....
How can i stop the reencoding and still make 2-pass ?!
Im confused ... and no real solution here seems.
Any ideas how to 100% clean xvid off the system ?
Can it be that there is a rest of xvid somewhere even when uninstalled ?
(sorry no i cant reinstall windows now ...)
thnx for your help!
unskinnyboy
30th September 2005, 00:03
Any ideas how to 100% clean xvid off the system ?
Can it be that there is a rest of xvid somewhere even when uninstalled ?
(sorry no i cant reinstall windows now ...)
One usually doesn't need to use anything other than the Windows uninstaller for removing XviD, but just in case it doesn't work for you - use an extended uninstaller, one that will scan and delete folders, files and registry settings left behind by the regular uninstall utility. I use Your Uninstaller! 2005 PRO v 5.0.0.117 (don't use the Windows one at all), but this is paidware. For your purpose, try to grab a fully functional trial version of a similar utility from www.download.com. Check under Utilities-->Uninstallers.
That said, maybe you should also look into other possibilities why the picture is bad. What about decoding? What are you using to decode the avi? ffdshow? XviD? If ffdshow, do you have post-processing or something turned on?
woah!
30th September 2005, 01:19
how about you let autogk decide for itself all the settings and see if it comes out the wrong size. i bet its dead on when you do. i think you are asking to much at 720x480 4/3 full size at 180meg.
i would say 512x384 is about right for 180meg sizing.
chilled
30th September 2005, 02:33
i think you are asking to much at 720x480 4/3 full size at 180meg.
me too. TV captures are usually noisy (therefore less compressible) and giving 720 with 180 megs delivers you a very low comp ratio.
many sources look much better encoded at lower resolution but higher bitrates (or same bitrate but for lower resolution) but it seems you still got a problem as AGK should use the given 180 mb as comp percentage is so low
xebone
30th September 2005, 08:20
>>how about you let autogk decide for itself all the settings and see if it comes out the wrong size. i bet its dead on when you do
Did it now another way - gave % of quality instead of size.
So i did 40% - and result is 195MB size and quality is pretty good.
So lowering to 180MB wouldnt make it that bad as it was with given 180MB and resulted in 130MB ....
And my TV pictures arent noisy - its DVB-S Sattelite _digital_ TV. Its perfect clean. Here is the log. So in my opinion its proven that there is any fault with that "size thing". Really strange.
[30.09.2005 06:25:40] AutoGK 2.16b
[30.09.2005 06:25:40] OS: WinXP (5.1.2600).2
[30.09.2005 06:25:40] Job started.
[30.09.2005 06:25:40] Input file: C:\koq_27_1.mpg
[30.09.2005 06:25:40] Output file: C:\koq_27_1.avi
[30.09.2005 06:25:40] Output codec: XviD
[30.09.2005 06:25:40] Audio 1: Audio Stream 0 MPEG
[30.09.2005 06:25:40] Subtitles: none
[30.09.2005 06:25:40] Format: .AVI
[30.09.2005 06:25:40] Target quality: 40%
[30.09.2005 06:25:40] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[30.09.2005 06:25:40] Standalone support enabled: MTK/Sigma
[30.09.2005 06:25:40] Started encoding.
[30.09.2005 06:25:40] Demuxing and indexing.
[30.09.2005 06:25:49] Processing file: C:\koq_27_1.mpg
[30.09.2005 06:25:49] Source resolution: 720x576
[30.09.2005 06:25:49] Found PAL source.
[30.09.2005 06:25:49] Source aspect ratio: 4:3
[30.09.2005 06:25:49] Analyzing source.
[30.09.2005 06:27:24] Source has percentage of interlacing in motion areas: 0,95
[30.09.2005 06:27:24] Source is considered to be progressive.
[30.09.2005 06:27:24] Output will contain 29563 frames
[30.09.2005 06:27:24] Encoding audio.
[30.09.2005 06:28:43] Running single pass encoding.
[30.09.2005 06:28:43] Writing the following script to C:\agk_tmp\koq_27_1_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("C:\agk_tmp\koq_27_1.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.06666666666667
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 720
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)
===========================================================
[30.09.2005 06:56:39] Duration was: 27 minutes 56 seconds
[30.09.2005 06:56:39] Speed was: 17,64 fps.
[30.09.2005 06:56:39] Job finished. Total time: 30 minutes 59 seconds
len0x
30th September 2005, 08:51
btw, for MTK compatibility you can't use any version of XviD - ONLY the one bundled with AutoGK. See FAQ Q 4.3
xebone
1st October 2005, 07:29
FINALLY ! ;o)))))))))
THnx len0x - file size is 179 MB now as i wanted 180MB - and the quality is PERFECT now.
I deinstalled xvid that i installed normally and installed the 2.18b incl. the bundled xvid and finally it works so it seems the MTK compatibility was the reason it hasnt worked right before. Thank you very much to all ! Compressibility was 52 now ... i even could go lower like 160MB .... WHich value is the one where it gets worse ? 40 ?
Here the log of it. Ahh the last question how can i stay at 720x576 ? It always reencodes to 720x544 .....
[01.10.2005 01:45:20] AutoGK 2.18b
[01.10.2005 01:45:20] OS: WinXP (5.1.2600).2
[01.10.2005 01:45:20] Job started.
[01.10.2005 01:45:20] Input file: C:\heute_30_09_2005.mpg
[01.10.2005 01:45:20] Output file: C:\heute_30_09_2005.avi
[01.10.2005 01:45:20] Output codec: XviD
[01.10.2005 01:45:20] Audio 1: Audio Stream 0 MPEG
[01.10.2005 01:45:20] Subtitles: none
[01.10.2005 01:45:20] Format: .AVI
[01.10.2005 01:45:20] Target size: 180Mb
[01.10.2005 01:45:20] Custom resolution settings: fixed width of 720 pixels
[01.10.2005 01:45:20] Custom audio settings: VBR MP3 with average bitrate: 144Kbps
[01.10.2005 01:45:20] Standalone support enabled: MTK/Sigma
[01.10.2005 01:45:20] Started encoding.
[01.10.2005 01:45:20] Demuxing and indexing.
[01.10.2005 01:45:29] Processing file: C:\heute_30_09_2005.mpg
[01.10.2005 01:45:29] Source resolution: 720x576
[01.10.2005 01:45:29] Found PAL source.
[01.10.2005 01:45:29] Source aspect ratio: 4:3
[01.10.2005 01:45:29] Color correction enabled.
[01.10.2005 01:45:29] Analyzing source.
[01.10.2005 01:47:18] Source has percentage of interlacing in motion areas: 0,86
[01.10.2005 01:47:18] Source is considered to be progressive.
[01.10.2005 01:47:18] Output will contain 31039 frames
[01.10.2005 01:47:18] Encoding audio.
[01.10.2005 01:48:41] Audio1 size: 23,758,800 bytes (22.66 Mb)
[01.10.2005 01:48:41] Overhead: 1,241,600 bytes (1.18 Mb)
[01.10.2005 01:48:41] Video size: 163,743,280 bytes (156.16 Mb)
[01.10.2005 01:48:41] Running compressibility test.
[01.10.2005 01:48:41] Writing the following script to C:\agk_tmp\heute_30_09_2005_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\RemoveGrain.dll")
movie = mpeg2source("C:\agk_tmp\heute_30_09_2005.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.06666666666667
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 = 720
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",mmx=true,hints=false)
SelectRangeEvery(214,15)
===========================================================
[01.10.2005 01:51:42] Duration was: 3 minutes 0 seconds
[01.10.2005 01:51:42] Speed was: 12,04 fps.
[01.10.2005 01:51:42] Compressibility percentage is: 50,68
[01.10.2005 01:51:42] Using softer resizer.
[01.10.2005 01:51:42] Chosen resolution is: 720x544 ( AR: 1,32 )
[01.10.2005 01:51:42] Predicted comptest value is: 52,58
[01.10.2005 01:51:42] Running first pass.
[01.10.2005 01:51:42] Writing the following script to C:\agk_tmp\heute_30_09_2005_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\RemoveGrain.dll")
movie = mpeg2source("C:\agk_tmp\heute_30_09_2005.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.06666666666667
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 = 720
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)
ColorMatrix("Rec.709->Rec.601",mmx=true,hints=false)
===========================================================
[01.10.2005 02:17:12] Duration was: 25 minutes 30 seconds
[01.10.2005 02:17:12] Speed was: 20,28 fps.
[01.10.2005 02:17:12] Expected quality of first pass size: 52,93
[01.10.2005 02:17:12] Running second pass.
[01.10.2005 02:51:21] Duration was: 34 minutes 8 seconds
[01.10.2005 02:51:21] Speed was: 15,15 fps.
[01.10.2005 02:51:21] Job finished. Total time: 1 hour, 6 minutes 0 seconds
len0x
2nd October 2005, 11:34
Compressibility was 52 now ... i even could go lower like 160MB .... WHich value is the one where it gets worse ? 40 ?
I would not go under 50 in any case. For normal clean material 60 is the lower bound. But I'm not doing captures...
Ahh the last question how can i stay at 720x576 ? It always reencodes to 720x544 .....
720x576 is not a proper AR (i.e. not 4:3), so why would you want to keep it?
xebone
2nd October 2005, 13:37
Ok seems you have pretty high quality needs - i think 50 is perfect even with 45 its still very very good ... but ofc sure depends when you use a DVD as source quality with 50 will be on the lower end ....
Why i wanna keep it ? Cause reencodeing makes the quality worse, and thats the format the dvb-s stream is ....
len0x
2nd October 2005, 13:50
Read this: http://www.doom9.org/aspectratios.htm and if after that you want to keep your encodes anamorphic(i.e. distorted) then enable original AR in hidden options.
P.S. If you can't see the difference between 50% and 75% of quality then you either have pretty bad captures or bad TV/monitor :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.