chinook
13th August 2004, 22:25
I've used AutoGK for a while and has be fantastic , huge thanks to len0x and contributers for this tool.
Am totally stumped with this though and am hopeing someone can suggest a fix.
Am attempting to rip a sci-fi ep from a Babylon 5 Series 4 (ep 18) DVD (NTSC) but it doesnt appear to get the aspect right at all .
This is the only episode it does this on , so am literally tearing out my hair trying to figure out the problem.
The ripped vobs play fine on Windvd and Powerdvd..but the output from AutoGK is always 720x496 ..despite the input being 720x480 which is in disaggreement with...
http://forum.doom9.org/showthread.php?s=&threadid=72679 - 4.1 Which resolution is used in different output size modes?
- for Maximum Quality it's 720*xxx, for quality based encoding it's 704*xxx. Starting from version 1.35 maximum width is always source width (unless restrictions used).
This leads to a cropped output in all WMP classic and WMP standard..and pretty much any XviD compatible player.
Perhaps someone here can have a log at the log and see whats going wrong and how to fix, have highlighted in red this in the logs
[13/08/2004 20:02:26] AutoGK 1.51b
[13/08/2004 20:02:26] OS: WinXP (5.1.2600).2
[13/08/2004 20:02:26] Job started.
[13/08/2004 20:02:26] Input dir: M:\DVD\Rips\BABYLON5_SEASON4_DISC5_VTS_01_PGC7
[13/08/2004 20:02:26] Output file: M:\DVD\Rips\Doom9-Help.avi
[13/08/2004 20:02:26] Audio: English
[13/08/2004 20:02:26] Subtitles: none
[13/08/2004 20:02:26] Codec: XviD
[13/08/2004 20:02:26] Target size: 400Mb
[13/08/2004 20:02:26] Custom audio settings: VBR MP3 with average bitrate: 160Kbps
[13/08/2004 20:02:26] Started encoding.
[13/08/2004 20:02:26] Demuxing and indexing.
[13/08/2004 20:03:06] Source aspect ratio: 16:9
[13/08/2004 20:03:06] Source resolution: 720x480
[13/08/2004 20:03:06] Found NTSC source.
[13/08/2004 20:03:06] Analyzing source.
[13/08/2004 20:03:06] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("M:\\DVD\\Rips\\agk_tmp\\_.avi");
===========================================================
[13/08/2004 20:05:07] Source has percentage of interlacing in motion areas: 46.36
[13/08/2004 20:05:07] Source has percentage of telecined patterns: 94.51
[13/08/2004 20:05:07] Source has percentage of progressive patterns: 5.10
[13/08/2004 20:05:07] Source has percentage of interlaced patterns: 0.39
[13/08/2004 20:05:07] Source is considered to be FILM.
[13/08/2004 20:05:07] Found 63673 frames
[13/08/2004 20:05:07] Encoding audio.
[13/08/2004 20:11:02] Audio size: 53,240,696 bytes (50.77 Mb)
[13/08/2004 20:11:02] Overhead: 2,546,944 bytes (2.43 Mb)
[13/08/2004 20:11:02] Video size: 363,642,760 bytes (346.80 Mb)
[13/08/2004 20:11:02] Running compressibility test.
[13/08/2004 20:11:02] Writing the following script to M:\DVD\Rips\agk_tmp\Doom9-Help_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("M:\DVD\Rips\agk_tmp\Doom9-Help.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.18518518518519
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 : (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,order=1,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[13/08/2004 20:11:02] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_comptest.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_comptest.avi");
===========================================================
[13/08/2004 20:14:20] Duration was: 3 minutes 17 seconds
[13/08/2004 20:14:20] Speed was: 16.10 fps.
[13/08/2004 20:14:20] Compressibility percentage is: 121.32
[13/08/2004 20:14:20] Using sharper matrix
[13/08/2004 20:14:20] Chosen resolution is: 720x496 ( AR: 1.45 )
[13/08/2004 20:14:20] Predicted comptest value is: 73.07
[13/08/2004 20:14:20] Running first pass.
[13/08/2004 20:14:20] Writing the following script to M:\DVD\Rips\agk_tmp\Doom9-Help_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("M:\DVD\Rips\agk_tmp\Doom9-Help.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.18518518518519
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 : (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,order=1,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[13/08/2004 20:14:20] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("M:\\DVD\\Rips\\Doom9-Help.avi");
===========================================================
[13/08/2004 20:53:04] Duration was: 38 minutes 43 seconds
[13/08/2004 20:53:04] Speed was: 27.41 fps.
[13/08/2004 20:53:04] Expected quality of first pass size: 74.01
[13/08/2004 20:53:04] Running second pass.
[13/08/2004 20:53:04] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help AC3 T01 3_2ch 448Kbps DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.SaveAVI("M:\\DVD\\Rips\\Doom9-Help.avi");
===========================================================
[13/08/2004 21:47:28] Duration was: 54 minutes 24 seconds
[13/08/2004 21:47:28] Speed was: 19.51 fps.
[13/08/2004 21:47:28] Job finished.
Am totally stumped with this though and am hopeing someone can suggest a fix.
Am attempting to rip a sci-fi ep from a Babylon 5 Series 4 (ep 18) DVD (NTSC) but it doesnt appear to get the aspect right at all .
This is the only episode it does this on , so am literally tearing out my hair trying to figure out the problem.
The ripped vobs play fine on Windvd and Powerdvd..but the output from AutoGK is always 720x496 ..despite the input being 720x480 which is in disaggreement with...
http://forum.doom9.org/showthread.php?s=&threadid=72679 - 4.1 Which resolution is used in different output size modes?
- for Maximum Quality it's 720*xxx, for quality based encoding it's 704*xxx. Starting from version 1.35 maximum width is always source width (unless restrictions used).
This leads to a cropped output in all WMP classic and WMP standard..and pretty much any XviD compatible player.
Perhaps someone here can have a log at the log and see whats going wrong and how to fix, have highlighted in red this in the logs
[13/08/2004 20:02:26] AutoGK 1.51b
[13/08/2004 20:02:26] OS: WinXP (5.1.2600).2
[13/08/2004 20:02:26] Job started.
[13/08/2004 20:02:26] Input dir: M:\DVD\Rips\BABYLON5_SEASON4_DISC5_VTS_01_PGC7
[13/08/2004 20:02:26] Output file: M:\DVD\Rips\Doom9-Help.avi
[13/08/2004 20:02:26] Audio: English
[13/08/2004 20:02:26] Subtitles: none
[13/08/2004 20:02:26] Codec: XviD
[13/08/2004 20:02:26] Target size: 400Mb
[13/08/2004 20:02:26] Custom audio settings: VBR MP3 with average bitrate: 160Kbps
[13/08/2004 20:02:26] Started encoding.
[13/08/2004 20:02:26] Demuxing and indexing.
[13/08/2004 20:03:06] Source aspect ratio: 16:9
[13/08/2004 20:03:06] Source resolution: 720x480
[13/08/2004 20:03:06] Found NTSC source.
[13/08/2004 20:03:06] Analyzing source.
[13/08/2004 20:03:06] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\_.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("M:\\DVD\\Rips\\agk_tmp\\_.avi");
===========================================================
[13/08/2004 20:05:07] Source has percentage of interlacing in motion areas: 46.36
[13/08/2004 20:05:07] Source has percentage of telecined patterns: 94.51
[13/08/2004 20:05:07] Source has percentage of progressive patterns: 5.10
[13/08/2004 20:05:07] Source has percentage of interlaced patterns: 0.39
[13/08/2004 20:05:07] Source is considered to be FILM.
[13/08/2004 20:05:07] Found 63673 frames
[13/08/2004 20:05:07] Encoding audio.
[13/08/2004 20:11:02] Audio size: 53,240,696 bytes (50.77 Mb)
[13/08/2004 20:11:02] Overhead: 2,546,944 bytes (2.43 Mb)
[13/08/2004 20:11:02] Video size: 363,642,760 bytes (346.80 Mb)
[13/08/2004 20:11:02] Running compressibility test.
[13/08/2004 20:11:02] Writing the following script to M:\DVD\Rips\agk_tmp\Doom9-Help_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("M:\DVD\Rips\agk_tmp\Doom9-Help.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.18518518518519
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 : (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,order=1,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[13/08/2004 20:11:02] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_comptest.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_comptest.avi");
===========================================================
[13/08/2004 20:14:20] Duration was: 3 minutes 17 seconds
[13/08/2004 20:14:20] Speed was: 16.10 fps.
[13/08/2004 20:14:20] Compressibility percentage is: 121.32
[13/08/2004 20:14:20] Using sharper matrix
[13/08/2004 20:14:20] Chosen resolution is: 720x496 ( AR: 1.45 )
[13/08/2004 20:14:20] Predicted comptest value is: 73.07
[13/08/2004 20:14:20] Running first pass.
[13/08/2004 20:14:20] Writing the following script to M:\DVD\Rips\agk_tmp\Doom9-Help_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("M:\DVD\Rips\agk_tmp\Doom9-Help.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.18518518518519
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 : (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,order=1,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[13/08/2004 20:14:20] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("M:\\DVD\\Rips\\Doom9-Help.avi");
===========================================================
[13/08/2004 20:53:04] Duration was: 38 minutes 43 seconds
[13/08/2004 20:53:04] Speed was: 27.41 fps.
[13/08/2004 20:53:04] Expected quality of first pass size: 74.01
[13/08/2004 20:53:04] Running second pass.
[13/08/2004 20:53:04] Writing the following script to M:\DVD\Rips\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help_movie.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("M:\\DVD\\Rips\\agk_tmp\\Doom9-Help AC3 T01 3_2ch 448Kbps DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.AddComment(0x00000000,"IAS1","English");
VirtualDub.SaveAVI("M:\\DVD\\Rips\\Doom9-Help.avi");
===========================================================
[13/08/2004 21:47:28] Duration was: 54 minutes 24 seconds
[13/08/2004 21:47:28] Speed was: 19.51 fps.
[13/08/2004 21:47:28] Job finished.