Log in

View Full Version : virtualdub fails


catflap001
12th December 2010, 08:14
hi. it's been almost a year since i came by. i haven't done much
encoding for many months due to my old pc slowing down.

i just got a new laptop win7 64bit home premium.

firstly, i'm not sure if this is a vdub problem or agk problem, so, sorry if it's the wrong forum. i did search first and found some possibly similar situations, but the threads were a few years old and not sure if they pertain to me anyway.

ok, i installed agk with the default/standard settings and installations, with ESS (as i read here it's the most common)

i'm trying to make a 350MB xvid vbr128 and after the first pass vdub crashes when it starts the second pass.

the only xvid codec i have installed is the one that was with agk.

i also tried an uninstall and a system restore and chose MTK/Sigma but i get the same result.

i've also tried tried changing the OS compatibility settings but i get the same result.

i read here that i might have to use vdubmod, so i went to sourceforge for the most recent one, installed it, but it says there's a corona.dll missing. i know there are bug fixes available, but i don't know which one to take because i had downloaded the most recent stable version from sourceforge. maybe i'm just installing
the stable version in the wrong place?

i did however successfully convert a 31MB video from the same dvd. except i set it for 20MB and it came out at 14MB. i know this usually happens if an xvid codec other than the one that agk installs is also in the system, but i don't have any others. i had a new laptop a few weeks ago (which crashed and i needed a replacement - this one) where the video was undersized and i fixed it by removing the incompatible xvid codec, but i didn't have any of these other vdub problems.

thanks for any help i can get.

again, sorry if this is in the wrong forum.

[12/12/2010 6:50:08 AM] AutoGK 2.55
[12/12/2010 6:50:08 AM] OS: Windows Vista (6.1.7600).2
[12/12/2010 6:50:08 AM] Job started.
[12/12/2010 6:50:08 AM] Input file: D:\Movies\Playhouse\VTS_01_0.IFO
[12/12/2010 6:50:08 AM] Output file: D:\Movies\Playhouse\Playhouse.avi
[12/12/2010 6:50:08 AM] Output codec: XviD
[12/12/2010 6:50:08 AM] Audio 1: English AC3 2ch
[12/12/2010 6:50:08 AM] Subtitles: none
[12/12/2010 6:50:08 AM] Format: AVI
[12/12/2010 6:50:08 AM] Target size: 350Mb
[12/12/2010 6:50:08 AM] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[12/12/2010 6:50:08 AM] Standalone support enabled: ESS
[12/12/2010 6:50:08 AM] Started encoding.
[12/12/2010 6:50:08 AM] Demuxing and indexing.
[12/12/2010 6:50:42 AM] Processing file: D:\Movies\Playhouse\VTS_01_1.VOB
[12/12/2010 6:50:42 AM] Processing file: D:\Movies\Playhouse\VTS_01_2.VOB
[12/12/2010 6:50:42 AM] Processing file: D:\Movies\Playhouse\VTS_01_3.VOB
[12/12/2010 6:50:42 AM] Source resolution: 720x480
[12/12/2010 6:50:42 AM] Found NTSC source.
[12/12/2010 6:50:42 AM] Source aspect ratio: 4:3
[12/12/2010 6:50:42 AM] Analyzing source.
[12/12/2010 6:51:48 AM] Source has percentage of interlacing in motion areas: 12.90
[12/12/2010 6:51:48 AM] Source has percentage of telecined patterns: 11.36
[12/12/2010 6:51:48 AM] Source has percentage of progressive patterns: 80.17
[12/12/2010 6:51:48 AM] Source has percentage of interlaced patterns: 8.46
[12/12/2010 6:51:48 AM] Source is considered to be hybrid (mostly NTSC).
[12/12/2010 6:51:48 AM] Looking for optimal hybrid thresholds.
[12/12/2010 6:51:53 AM] Found threshold of: 0.01
[12/12/2010 6:51:53 AM] Output will contain 86405 frames
[12/12/2010 6:51:53 AM] Decoding audio.
[12/12/2010 6:52:45 AM] Normalizing audio.
[12/12/2010 6:52:48 AM] Encoding audio.
[12/12/2010 6:55:57 AM] Using VAQ in XviD
[12/12/2010 6:55:57 AM] Audio1 size: 40,498,344 bytes (38.62 Mb)
[12/12/2010 6:55:58 AM] Overhead: 3,456,256 bytes (3.30 Mb)
[12/12/2010 6:55:58 AM] Video size: 323,047,000 bytes (308.08 Mb)
[12/12/2010 6:55:58 AM] Running compressibility test.
[12/12/2010 6:55:58 AM] Writing the following script to D:\Movies\Playhouse\agk_tmp\Playhouse_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\Movies\Playhouse\agk_tmp\Playhouse.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 = 0.888888888888889
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
Telecide(movie,guide=1,post=2).Decimate(mode=1,threshold=0.01)
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)
SelectRangeEvery(300,15)
===========================================================
[12/12/2010 6:58:21 AM] Duration was: 2 minutes 22 seconds
[12/12/2010 6:58:21 AM] Speed was: 30.25 fps.
[12/12/2010 6:58:21 AM] Compressibility percentage is: 29.44
[12/12/2010 6:58:21 AM] Using softer resizer.
[12/12/2010 6:58:21 AM] Chosen resolution is: 464x352 ( AR: 1.32 )
[12/12/2010 6:58:21 AM] Predicted comptest value is: 58.47%
[12/12/2010 6:58:21 AM] Running first pass.
[12/12/2010 6:58:21 AM] Writing the following script to D:\Movies\Playhouse\agk_tmp\Playhouse_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\Movies\Playhouse\agk_tmp\Playhouse.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 = 0.888888888888889
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 = 464
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=1,threshold=0.01)
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)
===========================================================
[12/12/2010 7:17:40 AM] Duration was: 19 minutes 19 seconds
[12/12/2010 7:17:40 AM] Speed was: 74.52 fps.
[12/12/2010 7:17:40 AM] Expected quality of first pass size: 54.39%
[12/12/2010 7:17:40 AM] Running second pass.
[12/12/2010 7:21:28 AM] Duration was: 3 minutes 47 seconds
[12/12/2010 7:21:28 AM] Speed was: 379.91 fps.
[12/12/2010 7:21:28 AM] Job finished. Total time: 31 minutes 20 seconds

**********

UPDATE:
i figured out i'd installed the vdubmod in the wrong folder, so i installed it in the autogk/vdubmod
folder and tried the smaller video file again, and i got the exact same results. here's that log. I haven't tried the 350MB encode yet.
i'll wait to hear from the forum.

[12/12/2010 8:46:15 AM] AutoGK 2.55
[12/12/2010 8:46:15 AM] OS: Windows Vista (6.1.7600).2
[12/12/2010 8:46:15 AM] Job started.
[12/12/2010 8:46:15 AM] Input file: D:\Movies\Extras\VTS_03_0.IFO
[12/12/2010 8:46:15 AM] Output file: D:\Movies\Extras\Extras.avi
[12/12/2010 8:46:15 AM] Output codec: XviD
[12/12/2010 8:46:15 AM] Audio 1: English AC3 2ch
[12/12/2010 8:46:15 AM] Subtitles: none
[12/12/2010 8:46:15 AM] Format: AVI
[12/12/2010 8:46:15 AM] Target size: 20Mb
[12/12/2010 8:46:15 AM] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[12/12/2010 8:46:15 AM] Standalone support enabled: ESS
[12/12/2010 8:46:15 AM] Started encoding.
[12/12/2010 8:46:15 AM] Demuxing and indexing.
[12/12/2010 8:46:15 AM] Processing file: D:\Movies\Extras\VTS_03_1.VOB
[12/12/2010 8:46:15 AM] Source resolution: 720x480
[12/12/2010 8:46:15 AM] Found NTSC source.
[12/12/2010 8:46:15 AM] Source aspect ratio: 4:3
[12/12/2010 8:46:15 AM] Analyzing source.
[12/12/2010 8:46:22 AM] Source has percentage of interlacing in motion areas: 20.30
[12/12/2010 8:46:22 AM] Source has percentage of telecined patterns: 30.69
[12/12/2010 8:46:22 AM] Source has percentage of progressive patterns: 59.41
[12/12/2010 8:46:22 AM] Source has percentage of interlaced patterns: 9.90
[12/12/2010 8:46:22 AM] Source is considered to be hybrid (mostly NTSC).
[12/12/2010 8:46:23 AM] Looking for optimal hybrid thresholds.
[12/12/2010 8:46:24 AM] Found threshold of: 0.01
[12/12/2010 8:46:24 AM] Output will contain 1290 frames
[12/12/2010 8:46:24 AM] Decoding audio.
[12/12/2010 8:46:25 AM] Normalizing audio.
[12/12/2010 8:46:25 AM] Encoding audio.
[12/12/2010 8:46:27 AM] Using VAQ in XviD
[12/12/2010 8:46:27 AM] Audio1 size: 530,448 bytes (0.51 Mb)
[12/12/2010 8:46:28 AM] Overhead: 51,584 bytes (0.05 Mb)
[12/12/2010 8:46:28 AM] Video size: 20,389,488 bytes (19.44 Mb)
[12/12/2010 8:46:28 AM] Running compressibility test.
[12/12/2010 8:46:28 AM] Writing the following script to D:\Movies\Extras\agk_tmp\Extras_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\Movies\Extras\agk_tmp\Extras.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 = 0.888888888888889
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
Telecide(movie,guide=1,post=2).Decimate(mode=1,threshold=0.01)
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)
SelectRangeEvery(15,15)
===========================================================
[12/12/2010 8:46:56 AM] Duration was: 28 seconds
[12/12/2010 8:46:56 AM] Speed was: 45.64 fps.
[12/12/2010 8:46:56 AM] Compressibility percentage is: 236.06
[12/12/2010 8:46:56 AM] Using sharper matrix
[12/12/2010 8:46:56 AM] Switching b-frames off
[12/12/2010 8:46:56 AM] Chosen resolution is: 720x544 ( AR: 1.32 )
[12/12/2010 8:46:56 AM] Predicted comptest value is: 125.22%
[12/12/2010 8:46:56 AM] Running first pass.
[12/12/2010 8:46:56 AM] Writing the following script to D:\Movies\Extras\agk_tmp\Extras_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\Movies\Extras\agk_tmp\Extras.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 = 0.888888888888889
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
Telecide(movie,guide=1,post=2).Decimate(mode=1,threshold=0.01)
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)
===========================================================
[12/12/2010 8:47:22 AM] Duration was: 26 seconds
[12/12/2010 8:47:22 AM] Speed was: 49.05 fps.
[12/12/2010 8:47:22 AM] Expected quality of first pass size: 130.89%
[12/12/2010 8:47:22 AM] Trying to adjust settings.
[12/12/2010 8:47:22 AM] No adjustment is possible
[12/12/2010 8:47:22 AM] Warning: final AVI will likely be undersized.
[12/12/2010 8:47:22 AM] Running second pass.
[12/12/2010 8:47:53 AM] Duration was: 30 seconds
[12/12/2010 8:47:53 AM] Speed was: 42.13 fps.
[12/12/2010 8:47:53 AM] Job finished. Total time: 1 minute, 38 seconds

Taurus
12th December 2010, 18:08
Why Virtualdub:confused:?
Where did you download the AutoGk package?
The full installer of the latest 2.55 release contains everything you need, including a working VirtualdubMod.
Dont fiddle around with the tools, it will not work.
Uninstall everything, yes the Xvid codec too.
Look for leftovers on your harddisc and registry.
Download a fresh installer from authors website:
http://www.autogk.me.uk/index.php?name=Downloads&d_op=viewdownload&cid=1

I dont know about incompatibly with Win7/64bit but it should work in 32bit. Maybe a stupid rights management is jumping in?

catflap001
12th December 2010, 19:28
hi tauraus.

this was a completely new, clean installation on this laptop, i had never had agk on it until yesterday. i did get it from the official links.

i only got the other vdubmod after i read here that it was a good idea to try it.

i do have full admin rights. i set up the system that way since i'm the only person who can ever have access to it.

i've also uninstalled it a few times, and done a few system restores, but i'll have another go at it and double check the registry.

but i'd also like to hear some ideas from other people - and of course you, if you have another idea.

thanks for the suggestion. i'll try anything.

catflap001
15th December 2010, 03:09
ok, i uninstalled agk and xvid. i cleaned out all agk and autogk and auto gordian knot registry entries.
were there any other registry entries i should have deleted?

i couldn't find a separate uninstall for vdub either in the control panel or in the vdub folder.

then i rebooted and installed agk again with the standard/typical settings, and i chose the ESS chip setting.

then i encoded the same small video from the dvd. it was a 31MB vob and i set it for 25MB (the first time i set it for 20MB).

AND...this time the video came out at 14MB exactly the same size as the first try the other day. no change. undersized.

here's the log. i hope someone can help me because this is a new computer, and like i said the other day,
i had never had xvid or agk installed on it until a few days ago.

*could it be i needed to uninstall vdub separately? if so, can someone pleas tell me
how, because i couldn't find a way to do that. should i be able to do that? should i uninstall avisynth
and anything else separately that was installed by agk?*

ok, here's the most recent log:

[12/15/2010 2:56:33 AM] AutoGK 2.55
[12/15/2010 2:56:33 AM] OS: Windows Vista (6.1.7600).2
[12/15/2010 2:56:33 AM] Job started.
[12/15/2010 2:56:33 AM] Input file: D:\Movies\Extras\VTS_03_0.IFO
[12/15/2010 2:56:33 AM] Output file: D:\Movies\Extras\Extras2.avi
[12/15/2010 2:56:33 AM] Output codec: XviD
[12/15/2010 2:56:33 AM] Audio 1: English AC3 2ch
[12/15/2010 2:56:33 AM] Subtitles: none
[12/15/2010 2:56:33 AM] Format: AVI
[12/15/2010 2:56:33 AM] Target size: 20Mb
[12/15/2010 2:56:33 AM] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[12/15/2010 2:56:33 AM] Standalone support enabled: ESS
[12/15/2010 2:56:33 AM] Started encoding.
[12/15/2010 2:56:33 AM] Demuxing and indexing.
[12/15/2010 2:56:34 AM] Processing file: D:\Movies\Extras\VTS_03_1.VOB
[12/15/2010 2:56:34 AM] Source resolution: 720x480
[12/15/2010 2:56:34 AM] Found NTSC source.
[12/15/2010 2:56:34 AM] Source aspect ratio: 4:3
[12/15/2010 2:56:34 AM] Analyzing source.
[12/15/2010 2:56:45 AM] Source has percentage of interlacing in motion areas: 20.30
[12/15/2010 2:56:45 AM] Source has percentage of telecined patterns: 30.69
[12/15/2010 2:56:45 AM] Source has percentage of progressive patterns: 59.41
[12/15/2010 2:56:45 AM] Source has percentage of interlaced patterns: 9.90
[12/15/2010 2:56:45 AM] Source is considered to be hybrid (mostly NTSC).
[12/15/2010 2:56:45 AM] Looking for optimal hybrid thresholds.
[12/15/2010 2:56:46 AM] Found threshold of: 0.01
[12/15/2010 2:56:46 AM] Output will contain 1290 frames
[12/15/2010 2:56:46 AM] Decoding audio.
[12/15/2010 2:56:47 AM] Normalizing audio.
[12/15/2010 2:56:48 AM] Encoding audio.
[12/15/2010 2:56:50 AM] Using VAQ in XviD
[12/15/2010 2:56:50 AM] Audio1 size: 530,448 bytes (0.51 Mb)
[12/15/2010 2:56:51 AM] Overhead: 51,584 bytes (0.05 Mb)
[12/15/2010 2:56:51 AM] Video size: 20,389,488 bytes (19.44 Mb)
[12/15/2010 2:56:51 AM] Running compressibility test.
[12/15/2010 2:56:51 AM] Writing the following script to D:\Movies\Extras\agk_tmp\Extras2_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\Movies\Extras\agk_tmp\Extras2.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 = 0.888888888888889
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
Telecide(movie,guide=1,post=2).Decimate(mode=1,threshold=0.01)
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)
SelectRangeEvery(15,15)
===========================================================
[12/15/2010 2:57:19 AM] Duration was: 28 seconds
[12/15/2010 2:57:19 AM] Speed was: 45.66 fps.
[12/15/2010 2:57:19 AM] Compressibility percentage is: 236.06
[12/15/2010 2:57:19 AM] Using sharper matrix
[12/15/2010 2:57:19 AM] Switching b-frames off
[12/15/2010 2:57:19 AM] Chosen resolution is: 720x544 ( AR: 1.32 )
[12/15/2010 2:57:19 AM] Predicted comptest value is: 125.22%
[12/15/2010 2:57:19 AM] Running first pass.
[12/15/2010 2:57:19 AM] Writing the following script to D:\Movies\Extras\agk_tmp\Extras2_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("D:\Movies\Extras\agk_tmp\Extras2.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 = 0.888888888888889
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
Telecide(movie,guide=1,post=2).Decimate(mode=1,threshold=0.01)
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)
===========================================================
[12/15/2010 2:57:46 AM] Duration was: 27 seconds
[12/15/2010 2:57:46 AM] Speed was: 47.58 fps.
[12/15/2010 2:57:46 AM] Expected quality of first pass size: 130.89%
[12/15/2010 2:57:46 AM] Trying to adjust settings.
[12/15/2010 2:57:46 AM] No adjustment is possible
[12/15/2010 2:57:46 AM] Warning: final AVI will likely be undersized.
[12/15/2010 2:57:46 AM] Running second pass.
[12/15/2010 2:58:27 AM] Duration was: 40 seconds
[12/15/2010 2:58:27 AM] Speed was: 32.03 fps.
[12/15/2010 2:58:27 AM] Job finished. Total time: 1 minute, 54 seconds

EDIT: i should also say that i had a new laptop a few weeks ago but that had
an unrecoverable crash. but i did have agk installed on it and it worked correctly.

Taurus
15th December 2010, 06:48
The Xvid encoder is saturated!
Compressibility percentage is: 236.06

Expected quality of first pass size: 130.89%

Warning: final AVI will likely be undersized.

Lower the filesize to a sane value, try 10Mb/example, or leave the original audio (ac3) untouched.

catflap001
15th December 2010, 20:11
i took your suggestions and tried a smaller size and different settings.

ok, i did a lot of different combinations, and i saved
each of the log files - but i won't post them here (because there are a dozen
or so) so if you or anyone would like to see them, please tell me and i'll post them.

so i'll give you brief descriptions of what i did and the results.
at the bottom, though, i still have a couple of questions/unsolved problems.

just to let you know, i'd been using agk on an xp desktop since 2004 so i have a lot
of experience with it.

before i started theses recent encodes, i checked my settings on my old pc.
it had always been mp3 vbr 128 and i had always used mtk/sigma. but i digress...

with that in mind, i used the same vobs as before with different audio settings
and ESS and MTK.

for the small clip with ESS setting:

1.10MB mp3 vbr128 - result v good at 9.98MB
2.10MB original audio - result v good at 9.97MB
3.10MB auto audio - result exactly the same as #1 above

main film with ESS setting:

1.350MB original audio - result v good at 349MB
2.350MB auto audio - result vdub failed start of pass 2
3.350MB mp3 vbr128 - result vdub failed start of pass 2

agk logs state for all:
"Source is considered to be hybrid (mostly NTSC)".

i don't understand this. all the settings worked on the small clip, but only
the original audio setting worked on the main film.

small clip with MTK settings:

1.10MB mp3 vbr128 - result v good at 9.97MB
2.10MB original audio - result perfect at 10.0MB
3.10MB auto audio - result exactly the same as #1 above

main film with MTK settings:

1.350MB original audio - result vdub failed start of pass 2
2.350MB auto audio - result vdub failed start of pass 2
3.350MB mp3 vbr128 - result vdub failed start of pass 2

and again:
agk logs state for all:
"Source is considered to be hybrid (mostly NTSC)".

this time, all the settings worked for the small clip,
but not a single one worked on the main film.

BTW: i took the same vobs for the main film and successfully
encoded it on my old xp desktop with these settings:
350MB mp3 vbr128; MTK chipset (my usual settings)
result was 349MB.

i don't understand how the video can be a hybrid, and
why some settings work and others make vdub crash.

since none of this made any sense to me, i tried a different
NTSC video - region code 0.

700MB mp3 vbr128 (MTK) - result perfect at 700MB
agk log did not say the vob was a hybrid.

so i don't know what the issue is that's causing the
problems with the first dvd.

is it something to do with
it being a hybrid (i don't know how it can be both NTSC and PAL)?
but then why do some settings work on one clip but not on the other?

could there be a problem with any of the audio codecs?
or with xvid? btw, i don't have any divx codcs installed - never have and
never will.

or is this a win7 issue?

any help that anyone can me give to figure this out
is greatly appreciated.

if you want to look at the logs, tell me and i'll post
them as text files here.

thanks.

catflap001
19th December 2010, 07:12
sorry about double posting, but nobody's come back to
help me. in the meantime, i was updating with results from
the suggestions i got.

anyway, i tried some other dvds and had no problems.
I successfully encoded another RC0 NTSC, an RC1 NTSC and
an RC2 PAL. all came out correctly.

so there's some kind of weird thing going on with the first
RC0 NTSC dvd, and i'd like to know if anyone has some answers.

like i said above, agk states that the dvd is a hybrid. i take that
to mean it's both NTSC and PAL, but i don't understand
how that can be and the log gives no further explanation.

also i tried a dozen different settings (details and results above) and
the results are confusing. some work, some don't.

it doesn't look like it's a region code probelm since other RC0 dvds
worked. and separate NTSC and PAL dvds worked.

is this a win7 issue/problem? i tried different compatibility settings
and nothing changed. i think it's probably that, or the hybrid thing, or
a combination of the two.

does anyone have an explanation? i haven't seen this
asked about - or mentioned anywhere. unless i missed it.

thanks for any help on this.

Taurus
19th December 2010, 11:38
Sorry never dealed with hybrid sources.
So it's only one dvd that gets you into trouble?
How did you rip this dvd?
Did you try AutoGk's hidden settings (crtl+F9)?
This is all from my memory, have'nt used AutoGk for ages.
Make yourself comfortable with hybrid sources/use search on this very forum.
And why are you stressing yourself on one source?
HD space is cheap these days :p.

catflap001
19th December 2010, 13:22
hi taurus. thanks for coming back.

atm, yes it's only this one dvd that's annoying me. but
that's only because i haven't done much on this
new win7 laptop. the future is up for grabs.

i posted all of my ripping settings and details above. i can
show you any of the dozen logs if you need. i didn't change
any settings in the hidden menu except the ESS/MTK when
i needed to. i don't like to fool with too many settings, especially
when i don't understand what they all mean, and making too
many changes usually makes me forget what the original settings were.

my older xp desktop has no problem with this dvd or any
of the settings. everything worked the way it should.
but this is the first hybrid i've ever come across and the first
RC0 dvd i've ever had.

so now i'm wondering if this is a known win7/hybrid issue.
you can see that only a couple of settings i used actually work
correctly, but the majority crash vdub. but again, no problem on xp.

i know that agk is not going to be updated to address this or
any other problem, but i'd still like to know if what i'm assuming is
right, and if anyone else here has had this problem and if there's
some work-around other than what i've already tried.

i'll have a closer look around here and try to understand
hybrid a little bit better. what i've read already is too
technically confusing for me.

i don't expect to encounter another one for a very long time (if ever),
but what still puzzles me is why the smaller clip had no problem at 10MB,
but the main film was a pain.

thanks for any ideas or help - from anyone.

yetanotherid
23rd December 2010, 14:38
Try going into AutoGKs hidden options an selecting "force normal ITVC" and/or "force deinterlacing" to see it either make a difference.

Can I ask a question? Any reason for picking file sizes when you convert? Because a 2 pass encode which results in a particular quality will be the same as a single pass encode at the same quality.
There's only two reasons for picking a file size. The first is if for some reason you need a particular file size, and the second is to ensure 100% standalone player compatibility. Even then it's usually not necessary. When running a single pass encode all standalone player settings remain except the one for controlling the maximum bit rate (you need 2 passes for that with XviD). Most of the time the bit rate doesn't climb high enough for it to be relevant anyway (in my experience) but if you're not worried about 100% standalone player compatibility then 2 pass encodes just seem silly to me. I don't understand why so much of the 350MB per episode etc mentality still exists.

The myth that 2 pass encodes give you better quality is just that. The first pass of a 2 pass encode is basically just a single pass encode which records how to distribute the bits to give you a file size instead of just encoding them for quality. If you pick a file size you're basically pre-selecting the quality (via the file size) without having a clue as to what that quality will be (until AutoGK has finished the first pass and told you). Therefore you'll either pick a smaller size than you need and reduce the quality or you'll pick a larger one and waste bits on quality you can't see.

I rarely encode any other way than picking the desired quality (75%) and running a single pass encode. My file sizes vary all over the place, but everything I encode is of the same quality. I know from experience what resolution to set to keep most encodes close to the norm. For instance easy to compress, 45 minute TV shows get a width of 704, harder to compress ones get 656 (any width over 656 won't give you noticeably better results, in fact often full screen on my monitor I can't see any difference between 656 and 704 at all). When it comes to DVDs, I just run single pass encodes at 704 and 75% and whatever the file size will be, it'll be.