PDA

View Full Version : .credit option DOES apply when <20% selected agk 2.20


chilled
14th October 2005, 19:44
[14/10/2005 19:19:48] AutoGK 2.20
[14/10/2005 19:19:48] OS: WinXP (5.1.2600).2
[14/10/2005 19:19:48] Job started.
[14/10/2005 19:19:48] Input file: D:\PELICULAS\documentales\wang bing 2003\entrevista wang bing frances.AVI
[14/10/2005 19:19:48] Input codec: DivX 3 Low
[14/10/2005 19:19:48] Source duration: 18mn 58s 280ms
[14/10/2005 19:19:48] Output file: C:\DOCUMENTOS\Administrador\Escritorio\entrevista wang bing frances_agk.avi
[14/10/2005 19:19:48] Output codec: XviD
[14/10/2005 19:19:48] Audio 1: 96 Kbps MPEG1/2 L3 2ch
[14/10/2005 19:19:48] Subtitles: none
[14/10/2005 19:19:48] Format: .AVI
[14/10/2005 19:19:48] Target size: 102Mb
[14/10/2005 19:19:48] Standalone support enabled: ESS
[14/10/2005 19:19:48] Started encoding.
[14/10/2005 19:19:48] Source resolution: 720x576
[14/10/2005 19:19:48] Source fps: 25
[14/10/2005 19:19:48] Analyzing source.
[14/10/2005 19:19:57] Source has percentage of interlacing in motion areas: 86,90
[14/10/2005 19:19:57] Source is considered to be interlaced.
[14/10/2005 19:19:57] Output will contain 28457 frames
[14/10/2005 19:19:57] Demuxing audio.
[14/10/2005 19:20:04] Picking up credits information.
[14/10/2005 19:20:04] Credits start frame: 28000
[14/10/2005 19:20:04] Credits quality percentage: 5
[14/10/2005 19:20:04] Credits greyscale option activated.
[14/10/2005 19:20:04] Audio1 size: 13,659,360 bytes (13.03 Mb)
[14/10/2005 19:20:04] Overhead: 337,920 bytes (0.32 Mb)
[14/10/2005 19:20:04] Video size: 92,957,472 bytes (88.65 Mb)
[14/10/2005 19:20:04] Running compressibility test.
[14/10/2005 19:20:04] Writing the following script to C:\DOCUMENTOS\Administrador\Escritorio\agk_tmp\entrevista wang bing frances_agk_comptest.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("D:\PELICULAS\documentales\wang bing 2003\entrevista wang bing frances.AVI",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,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 = 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
KernelDeInt(movie,order=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(188,15)
===========================================================
[14/10/2005 19:38:31] Duration was: 18 minutes 27 seconds
[14/10/2005 19:38:31] Speed was: 2,06 fps.
[14/10/2005 19:38:31] Compressibility percentage is: 34,43
[14/10/2005 19:38:31] Using softer resizer.
[14/10/2005 19:38:31] Chosen resolution is: 512x384 ( AR: 1,33 )
[14/10/2005 19:38:31] Predicted comptest value is: 56,82
[14/10/2005 19:38:31] Running first pass.
[14/10/2005 19:38:31] Writing the following script to C:\DOCUMENTOS\Administrador\Escritorio\agk_tmp\entrevista wang bing frances_agk_movie.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("D:\PELICULAS\documentales\wang bing 2003\entrevista wang bing frances.AVI",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,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 = 512
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
KernelDeInt(movie,order=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[14/10/2005 19:52:41] Duration was: 14 minutes 10 seconds
[14/10/2005 19:52:41] Speed was: 33,47 fps.
[14/10/2005 19:52:41] Expected quality of first pass size: 58,35
[14/10/2005 19:52:41] Running second pass.
[14/10/2005 20:13:33] Duration was: 20 minutes 51 seconds
[14/10/2005 20:13:33] Speed was: 22,74 fps.
[14/10/2005 20:13:33] Job finished. Total time: 53 minutes 44 seconds


resulting avi is not in greyscale and quality is not reduced. I only have one xvid build (the one with 2.20). I checked the correct FPS in the frame calculating option. When I choose 20% everything is fine. If I choose 15 then it doesnt apply the .credit settings

unskinnyboy
14th October 2005, 20:36
If you haven't made any other encode after this^^, Go to XviD encoder Zone Options and see what's the value under 'Weight', for the zone for the frame # starting 28000.

Also, inside the VIDEO_TS folder, AutoGK would have created a file called '.credits'. Open that in Notepad and see what the values inside it are.

chilled
15th October 2005, 01:40
value under weight is correct: 1.00 and then 0.05 for the credits section with G O modifiers (I guess G is greyscale - O I dont know)

and my .credits says:
28000
5
TRUE

Also I just noticed that theres a big delay in sound (it finishes much after video) but the sound is kept as is (I set it to auto and its a 96kbps mp3 source) and both temp mp3 demuxed file and resulting video report the same lenght (the same as the source video)

maybe its a problem of the source, but the issue with the <20% .credit option has happened to me with other ones previously.
Im puzzled

unskinnyboy
15th October 2005, 04:06
So what exactly did you try with? In the log it says 5%, but down below you say 15%?! And the weight what you see in the XviD encoder corresponds to what you set, i.e. 5%. So I can't see why it wouldn't work. All AutoGK does when you select the credits option is to use the XviD zone options, split the video into zones and apply the appropriate weightage for compression. You sure you didn't miscalculate the fps? I haven't tested this with avis, so I am not sure if this is an avi only issue. When you said you have got this issue, have you gotten them with avis or VOBs? If it isn't a fps issue either, then we need len0x to troubleshoot this.

Btw, O modifier in the zone option means the chroma optimizer was enabled.

chilled
15th October 2005, 10:23
well I am pretty sure I didnt miscalculate FPS, but Ill do one more this afternoon to confirm. Maybe the source isnt 25fps even if it reports it.
I both tried 5 and 15 % and results were the same: no credits compression. I dont remember if this also applies to VOBS, Ill check it with my next dvdrip.
I just remembered that I tried <20% in another AVI a results, again, were the same, so if I get time Ill try another AVI, because the sync issue makes me think that it may be a source problem, not agk nor xvid...
anyway thanks, Ill report later today probably

len0x
15th October 2005, 12:03
Synch issues can be because original audio is VBR MP3 without proper VBR header and its not recognized as one by AutoGK.

As for credits option - did you try the same source with 5% and 20% and got different results (otherwise how can you say its only when its < 20%)?

*Edit* I tried AVI source with 5% credits and greyscale and it works perfectly.

unskinnyboy
15th October 2005, 14:30
len0x, since you are here anyway - .credits doesn't work properly if I choose the fps as 23.976, it still applies it assuming the fps is 29.971.

Here is the scenario:

Let's say I want to apply the credits starting frame # 164883 and I choose the input fps as 23.976, because I know the movie is pure FiLM. When I click OK on the hidden options window, close it and if I again bring it back up, the input fps radio button selection has _changed_ from the one I selected (23.976) to 29.970!

In pictures:

I set the options like these:

http://img410.imageshack.us/img410/6818/clipboard018pq.jpg

I press OK and close the hidden options window..

Now I reopen it and I see this:

http://img411.imageshack.us/img411/8559/clipboard024en.jpg

The input fps got reset to 29.970.

So the zone compression is set at 164883 x (4/5) = 131906.4 ~131906 instead of the 164883 I wanted, much earlier in the movie than I intended.

Bug? Or me missing something?

*feel free to split this into another thread if you please since this is OT*

bourtzovlakas
15th October 2005, 14:54
This is only a frame calculator...
...and it always gets reset to the middle value(29,970), after re-opening...
It doesn't affect the frame selection you 've made earlier...

unskinnyboy
15th October 2005, 15:26
It doesn't affect the frame selection you 've made earlier...
Yes, it does. I said apply the credits starting frame 164883 @ 23.976, but it applies it at 131906 thinking the input I chose is 29.970. If I press the 'Calc' button as the tutorial says, the starting frame gets reset to 0. Is this the expected behavior? :confused:

zacoz
15th October 2005, 16:42
I believe that bourtzovlakas is correct. The Frame Calculator is there purely in case you only know the time when the credits start instead of the actual frame number. The calculator lets you calculate the starting frame based on the time and framerate. Once there's a value filled into the Starting Frame, the calculator is ignored. This can be seen by checking what's recorded in the .credits file or the encoder (if no encodes done since).

It would be correct that if you went back into the hidden options and pressed calc again it would change the framerate to 0. This is because you have recalculated the frame number based on a time of 0 hrs 0 min 0 sec (the time and framerate within the calc being reset either on exiting the hidden options or re-opening them).

unskinnyboy
15th October 2005, 17:39
Doh! Yes, I got it now. What was I thinking...Thanks :D

chilled
15th October 2005, 17:58
sry dont have time for testing today. ill try tomorrow.

as for audio sync issue, Im pretty sure source audio is CBR 96kbps. this is what foobar2000 says about the demuxed audio file:


enc_delay = 576
enc_padding = 1996
mp3_accurate_length = yes
bitrate = 96
channels = 2
samplerate = 44100
mp3_stereo_mode = joint stereo
codec = MP3
--------------------
50194676 samples @ 44100Hz
(rounded samples : 50194620)


Gspot says audio frames: split across interleaves.
VLC says "has index is interleaved"
dunno if this helps, maybe you can tell me some way to know if audio is CBR. virtualdubmod doesnt warn me on VBR audio track when I open the video. stream list doesnt report any 96 +- 2.1 kbps thing

Im doing a test with the same file at =20% grey option activated. Will report it tonight or tomorrow, but I think I had done it earlier, I dont remember well... I just know that +20 grey option has worked for me on other sources.

chilled
16th October 2005, 02:50
ok heres the new one, with the same source:


[15/10/2005 18:47:59] AutoGK 2.20
[15/10/2005 18:47:59] OS: WinXP (5.1.2600).2
[15/10/2005 18:47:59] Job started.
[15/10/2005 18:47:59] Input file: C:\DOCUMENTOS\Administrador\Escritorio\entrevista wang bing frances.AVI
[15/10/2005 18:47:59] Input codec: DivX 3 Low
[15/10/2005 18:47:59] Source duration: 18mn 58s 280ms
[15/10/2005 18:47:59] Output file: C:\DOCUMENTOS\Administrador\Escritorio\entrevista wang bing frances_agk.avi
[15/10/2005 18:47:59] Output codec: XviD
[15/10/2005 18:47:59] Audio 1: 96 Kbps MPEG1/2 L3 2ch
[15/10/2005 18:47:59] Subtitles: none
[15/10/2005 18:47:59] Format: .AVI
[15/10/2005 18:47:59] Target size: 101Mb
[15/10/2005 18:47:59] Custom audio settings: CBR MP3 with bitrate: 128Kbps
[15/10/2005 18:47:59] Standalone support enabled: ESS
[15/10/2005 18:47:59] Started encoding.
[15/10/2005 18:47:59] Source resolution: 720x576
[15/10/2005 18:47:59] Source fps: 25
[15/10/2005 18:47:59] Analyzing source.
[15/10/2005 18:48:11] Source has percentage of interlacing in motion areas: 87,03
[15/10/2005 18:48:11] Source is considered to be interlaced.
[15/10/2005 18:48:11] Output will contain 28457 frames
[15/10/2005 18:48:11] Demuxing audio.
[15/10/2005 18:48:25] Picking up credits information.
[15/10/2005 18:48:25] Credits start frame: 28000
[15/10/2005 18:48:25] Credits quality percentage: 20
[15/10/2005 18:48:25] Credits greyscale option activated.
[15/10/2005 18:48:25] Audio1 size: 13,659,360 bytes (13.03 Mb)
[15/10/2005 18:48:25] Overhead: 337,920 bytes (0.32 Mb)
[15/10/2005 18:48:25] Video size: 91,908,896 bytes (87.65 Mb)
[15/10/2005 18:48:25] Running compressibility test.
[15/10/2005 18:48:25] Writing the following script to C:\DOCUMENTOS\Administrador\Escritorio\agk_tmp\entrevista wang bing frances_agk_comptest.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("C:\DOCUMENTOS\Administrador\Escritorio\entrevista wang bing frances.AVI",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,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 = 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
KernelDeInt(movie,order=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(188,15)
===========================================================
[15/10/2005 19:06:58] Duration was: 18 minutes 33 seconds
[15/10/2005 19:06:58] Speed was: 2,05 fps.
[15/10/2005 19:06:58] Compressibility percentage is: 34,02
[15/10/2005 19:06:58] Using softer resizer.
[15/10/2005 19:06:58] Chosen resolution is: 512x384 ( AR: 1,33 )
[15/10/2005 19:06:58] Predicted comptest value is: 56,13
[15/10/2005 19:06:58] Running first pass.
[15/10/2005 19:06:58] Writing the following script to C:\DOCUMENTOS\Administrador\Escritorio\agk_tmp\entrevista wang bing frances_agk_movie.avs
===========================================================
LoadPlugin("C:\ARCHIV~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\ARCHIV~1\AutoGK\filters\kerneldeint.dll")

movie = DirectShowSource("C:\DOCUMENTOS\Administrador\Escritorio\entrevista wang bing frances.AVI",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,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 = 512
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
KernelDeInt(movie,order=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[15/10/2005 19:20:17] Duration was: 13 minutes 19 seconds
[15/10/2005 19:20:17] Speed was: 35,61 fps.
[15/10/2005 19:20:17] Expected quality of first pass size: 57,70
[15/10/2005 19:20:17] Running second pass.
[15/10/2005 19:40:01] Duration was: 19 minutes 43 seconds
[15/10/2005 19:40:01] Speed was: 24,04 fps.
[15/10/2005 19:40:01] Job finished. Total time: 52 minutes 2 seconds


result is the same (no grey) but Im thinking that maybe its not a .credit issue but only a sync issue: maybe I dont see .credit applied when indicated BECAUSE of the out of sync resulting AVI, I mean maybe the .credits option applies when video is black (at the end of the movie, when audio is still playing because of the desynchronization but theres no more video, could that be the problem?

zacoz
16th October 2005, 04:05
Doh! Yes, I got it now. What was I thinking...Thanks :D
Happens to the best at times. :)

chilled
17th October 2005, 18:43
still waiting for reply. im absolutely not in a hurry, though. just dont forget :)

len0x
17th October 2005, 19:27
Total number of frames 28457 seems to be right one (if you check final AVI you should see that) and you should clearly see b/w video after 28000 (irrespectively of audio), so I have no idea what's wrong.

chilled
18th October 2005, 00:08
hey i found this on the xvid/vd tutorial, but I need you to check it because I am not sure to have fully understood it (no joking), it could be related:

Then we have the Rate control, where you can choose between applying a different Weight to the bitrate, or specify a Quantizer (compression factor). As you can see, I have chosen a weight of 0.15, which means that the end credits will get 15% of the bitrate of the main movie. However, you might want to use a fixed quantizer in the range of 20 for now as the weight option seems to be bugged.

does this mean that only 20, 40, 60 and 80% options work all the time and 05, or 35 could be buggy at times?

unskinnyboy
18th October 2005, 00:26
That guide is pretty outdated (last updated on March 7, 2004), even the GUI is a bit different now. Crusty's FAQ (http://ronald.vslcatena.nl/docs/xvidfaq.html) is even more latest (last updated on October 17, 2004) and that doesn't talk about the bug mentioned in the guide. The only thing distantly related is:
Current bugs (Xvid-1.0-Final): Weight zones with weight lower than 0.2 break filesize prediction.
But that was in 1.0-Final. Now we are on 1.0.3 stable and 1.1.0-Beta2 and that bug should be long gone (unless you are using an old XviD build and not the ones which come bundled with AutoGK). I can confirm for a fact that I extensively use weights lower than 0.2 on DVD sources and it doesn't break the filesize prediction for me (I am always on CVS head though). But even this bug doesn't mean that the zone compression won't be applied at all (I don't think breaking the filesize prediction has anything to do with credits not getting applied at all anyway..)

chilled
18th October 2005, 01:05
yeah it should not be, and I hope it not because I dont understand a word :)

no, seriously, my problem is with an AVI source. I think 0.10 has worked for me on a dvdrip recently. My xvid built is the one with stable AGK. Didnt install any other one since last XP reinstall.
I think it must be a source problem.

heres a MPEG2AVI encoding with 0.05 grey encoding working perfectly:


[18/10/2005 1:54:43] AutoGK 2.20
[18/10/2005 1:54:43] OS: WinXP (5.1.2600).2
[18/10/2005 1:54:43] Job started.
[18/10/2005 1:54:43] Input file: D:\ANIME\bebop\BBT_strangersonatrain.mpeg
[18/10/2005 1:54:43] Output file: C:\DOCUMENTOS\Administrador\Escritorio\BBT_strangersonatrain.avi
[18/10/2005 1:54:43] Output codec: XviD
[18/10/2005 1:54:43] Audio: none
[18/10/2005 1:54:43] Subtitles: none
[18/10/2005 1:54:43] Format: .AVI
[18/10/2005 1:54:43] Target size: 10Mb
[18/10/2005 1:54:43] Standalone support enabled: ESS
[18/10/2005 1:54:43] Started encoding.
[18/10/2005 1:54:43] Demuxing and indexing.
[18/10/2005 1:54:43] Processing file: D:\ANIME\bebop\BBT_strangersonatrain.mpeg
[18/10/2005 1:54:43] Source resolution: 368x240
[18/10/2005 1:54:43] Found NTSC source.
[18/10/2005 1:54:43] Source aspect ratio: 1:1
[18/10/2005 1:54:43] Output will contain 532 frames
[18/10/2005 1:54:43] Picking up credits information.
[18/10/2005 1:54:43] Credits start frame: 125
[18/10/2005 1:54:43] Credits quality percentage: 5
[18/10/2005 1:54:43] Credits greyscale option activated.
[18/10/2005 1:54:43] Overhead: 0 bytes (0.00 Mb)
[18/10/2005 1:54:43] Video size: 10,485,760 bytes (10.00 Mb)
[18/10/2005 1:54:43] Running compressibility test.
[18/10/2005 1:55:02] Duration was: 18 seconds
[18/10/2005 1:55:02] Speed was: 28,21 fps.
[18/10/2005 1:55:02] Compressibility percentage is: 939,35
[18/10/2005 1:55:02] Using sharper matrix
[18/10/2005 1:55:02] Switching b-frames off
[18/10/2005 1:55:02] Chosen resolution is: 368x384 ( AR: 0,96 )
[18/10/2005 1:55:02] Predicted comptest value is: 635,33
[18/10/2005 1:55:02] Running first pass.
[18/10/2005 1:55:15] Duration was: 12 seconds
[18/10/2005 1:55:15] Speed was: 43,76 fps.
[18/10/2005 1:55:15] Warning! Found different number of frames: 664
[18/10/2005 1:55:15] Overhead: 0 bytes (0.00 Mb)
[18/10/2005 1:55:15] Video size: 10,485,760 bytes (10.00 Mb)
[18/10/2005 1:55:15] Expected quality of first pass size: 154,64
[18/10/2005 1:55:15] Trying to adjust settings.
[18/10/2005 1:55:15] No adjustment is possible
[18/10/2005 1:55:15] Warning: final AVI will likely be undersized.
[18/10/2005 1:55:15] Running second pass.
[18/10/2005 1:55:36] Duration was: 21 seconds
[18/10/2005 1:55:36] Speed was: 30,66 fps.
[18/10/2005 1:55:36] Job finished. Total time: 53 seconds
====================================================


and heres the AVI2AVI reencoding of the resulting content:


[18/10/2005 1:58:12] AutoGK 2.20
[18/10/2005 1:58:12] OS: WinXP (5.1.2600).2
[18/10/2005 1:58:12] Job started.
[18/10/2005 1:58:12] Input file: C:\DOCUMENTOS\Administrador\Escritorio\BBT_strangersonatrain.avi
[18/10/2005 1:58:12] Input codec: XviD
[18/10/2005 1:58:12] Source duration: 27s 736ms
[18/10/2005 1:58:12] Output file: C:\DOCUMENTOS\Administrador\Escritorio\BBT_strangersonatrain_agk.avi
[18/10/2005 1:58:12] Output codec: XviD
[18/10/2005 1:58:12] Audio: none
[18/10/2005 1:58:12] Subtitles: none
[18/10/2005 1:58:12] Format: .AVI
[18/10/2005 1:58:12] Target size: 10Mb
[18/10/2005 1:58:12] Standalone support enabled: ESS
[18/10/2005 1:58:12] Started encoding.
[18/10/2005 1:58:12] Source resolution: 368x384
[18/10/2005 1:58:12] Source fps: 23,976
[18/10/2005 1:58:12] Output will contain 665 frames
[18/10/2005 1:58:12] Picking up credits information.
[18/10/2005 1:58:12] Credits start frame: 300
[18/10/2005 1:58:12] Credits quality percentage: 3
[18/10/2005 1:58:12] Credits greyscale option activated.
[18/10/2005 1:58:12] Overhead: 0 bytes (0.00 Mb)
[18/10/2005 1:58:12] Video size: 10,485,760 bytes (10.00 Mb)
[18/10/2005 1:58:12] Running compressibility test.
[18/10/2005 1:58:34] Duration was: 22 seconds
[18/10/2005 1:58:34] Speed was: 30,21 fps.
[18/10/2005 1:58:34] Compressibility percentage is: 342,14
[18/10/2005 1:58:34] Using sharper matrix
[18/10/2005 1:58:34] Switching b-frames off
[18/10/2005 1:58:34] Chosen resolution is: 368x384 ( AR: 0,96 )
[18/10/2005 1:58:34] Predicted comptest value is: 231,41
[18/10/2005 1:58:34] Running first pass.
[18/10/2005 1:58:48] Duration was: 14 seconds
[18/10/2005 1:58:48] Speed was: 44,90 fps.
[18/10/2005 1:58:48] Expected quality of first pass size: 159,95
[18/10/2005 1:58:48] Trying to adjust settings.
[18/10/2005 1:58:48] No adjustment is possible
[18/10/2005 1:58:48] Warning: final AVI will likely be undersized.
[18/10/2005 1:58:48] Running second pass.
[18/10/2005 1:59:13] Duration was: 24 seconds
[18/10/2005 1:59:13] Speed was: 27,30 fps.
[18/10/2005 1:59:13] Job finished. Total time: 1 minute, 1 second.
====================================================


it now worked perfectly so I assume it was an unusual problem of the source, as you both said it also worked for you. Greyscale is applied but quality is not reduced: I think it is normal: as video will be undersize it doesnt sacrifice bitrate even if I told it to do.

Well this closes the problem for me. gonna edit the post name. BTW some AVI sources make VDM crash at opening them in AGK, each one for a different reason, but I think they have all in common that they are dshow, filters, etc problems as Im running an "nLited" version of xp sp2, so I wont report them and leave you alone :)