View Full Version : Auto Gordian Knot: current version 2.55
len0x
11th April 2005, 22:53
Originally posted by Nikse555
I'm having a strange problem - when I select an avi file for input I immediately get the error:
try running MediaInfo (in tools dir of AutoGK) from command line and see if you have any errors - may be you're missing some system dlls...
Kisou
12th April 2005, 05:54
So, uh...I can't seem to download this off the main AutoGK site. :confused:
Taurus
12th April 2005, 08:16
Originally posted by Kisou
So, uh...I can't seem to download this off the main AutoGK site. :confused:
See the Official AutoGk FAQ, first entry: 0: Downloads:mad:
Or use search ;)
============================
OFFICIAL AUTOGK FAQ
============================
0. Downloads
Main AutoGK download mirrors are protected from direct linking via "referrers" feature, so if you're getting an error saying something like "You don't have permission to access XXX..." make sure you enable referrers propagation in you browser/firewall/download manager.
============================
Cheers
Taurus
ukb008
12th April 2005, 14:06
I have downloaded ALL versions of AGK from its download page, and never had any problems whatsoever. Programs should perhaps be always downloaded from their original sites, because only there the latest infos and latest versions will be available.
This download blue is perhaps a non-issue.
Regards.
Mouse
12th April 2005, 23:03
FYI - 720x576 (4:3) -> Output to 512x384 (4:3) is broken.
It makes 576x352, which is way out of OAR.
Tried .aspect - doesnt seeme to work at all (does write a .aspect to the dir though)
Tried .ITU, does nothing.
Tried force 4:3 - does nothing.
Log File :
[2005-04-12 23:59:37] AutoGK 2.05b
[2005-04-12 23:59:37] OS: WinXP (5.1.2600).2
[2005-04-12 23:59:37] Job started.
[2005-04-12 23:59:37] Input file: sample.mpg
[2005-04-12 23:59:37] Output file: C:\VIDEO\WINPVR\LAO\sample.avi
[2005-04-12 23:59:37] Output codec: XviD
[2005-04-12 23:59:37] Audio1: Audio Stream 0 MPEG
[2005-04-12 23:59:37] Subtitles: none
[2005-04-12 23:59:37] Format: .AVI
[2005-04-12 23:59:37] Target size: 7Mb
[2005-04-12 23:59:37] Custom resolution settings: fixed width of 512 pixels
[2005-04-12 23:59:37] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-12 23:59:37] Started encoding.
[2005-04-12 23:59:37] Demuxing and indexing.
[2005-04-12 23:59:37] Processing file: C:\VIDEO\WINPVR\LAO\sample.mpg
[2005-04-12 23:59:37] Source aspect ratio: 4:3
[2005-04-12 23:59:37] Source resolution: 720x576
[2005-04-12 23:59:37] Found PAL source.
[2005-04-12 23:59:37] Analyzing source.
[2005-04-12 23:59:53] Source has percentage of interlacing in motion areas: 0,48
[2005-04-12 23:59:53] Source is considered to be progressive.
[2005-04-12 23:59:53] Output will contain 1520 frames
[2005-04-12 23:59:53] Encoding audio.
[2005-04-12 23:59:56] Forcing ITU resize method.
[2005-04-12 23:59:56] Audio1 size: 1,015,790 bytes (0.97 Mb)
[2005-04-12 23:59:56] Overhead: 60,800 bytes (0.06 Mb)
[2005-04-12 23:59:56] Video size: 6,263,442 bytes (5.97 Mb)
[2005-04-12 23:59:56] Running compressibility test.
[2005-04-12 23:59:56] Writing the following script to C:\VIDEO\WINPVR\LAO\agk_tmp\sample_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\LAO\agk_tmp\sample.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.09401709401709
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.38) || (input_par < 1.28) ? 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
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(15,15)
===========================================================
[2005-04-13 00:00:41] Duration was: 44 seconds
[2005-04-13 00:00:41] Speed was: 34,30 fps.
[2005-04-13 00:00:41] Compressibility percentage is: 72,76
[2005-04-13 00:00:41] Chosen resolution is: 512x352 ( AR: 1,45 )
[2005-04-13 00:00:41] Predicted comptest value is: 72,76
[2005-04-13 00:00:41] Running first pass.
[2005-04-13 00:00:41] Writing the following script to C:\VIDEO\WINPVR\LAO\agk_tmp\sample_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\LAO\agk_tmp\sample.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.09401709401709
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.38) || (input_par < 1.28) ? 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
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)
===========================================================
[2005-04-13 00:01:09] Duration was: 27 seconds
[2005-04-13 00:01:09] Speed was: 54,62 fps.
[2005-04-13 00:01:09] Expected quality of first pass size: 73,27
[2005-04-13 00:01:09] Running second pass.
[2005-04-13 00:02:00] Duration was: 51 seconds
[2005-04-13 00:02:00] Speed was: 29,60 fps.
[2005-04-13 00:02:00] Job finished. Total time: 2 minutes 23 seconds
Edit : Tried with several different files, that i know have worked before. All the same, output is borked.
bourtzovlakas
12th April 2005, 23:06
I may be tottaly off...
...but maybe the "force ITU resize" causes the problem...
Just a stupid guess...
Mouse
12th April 2005, 23:13
bourtzovlakas,
i tried with that unset to ofcourse.
Mouse
12th April 2005, 23:17
And a new test, now with a new file. Still way out of OAR.
Log File :
[2005-04-13 00:14:17] AutoGK 2.05b
[2005-04-13 00:14:17] OS: WinXP (5.1.2600).2
[2005-04-13 00:14:17] Job started.
[2005-04-13 00:14:17] Input file: Video0413-0007(CVBS).mpg
[2005-04-13 00:14:17] Output file: C:\VIDEO\WINPVR\Video0413-0007(CVBS).avi
[2005-04-13 00:14:17] Output codec: XviD
[2005-04-13 00:14:17] Audio1: Audio Stream 0 MPEG
[2005-04-13 00:14:17] Subtitles: none
[2005-04-13 00:14:17] Format: .AVI
[2005-04-13 00:14:17] Target size: 7Mb
[2005-04-13 00:14:17] Custom resolution settings: fixed width of 512 pixels
[2005-04-13 00:14:17] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-13 00:14:17] Started encoding.
[2005-04-13 00:14:17] Demuxing and indexing.
[2005-04-13 00:14:17] Processing file: C:\VIDEO\WINPVR\Video0413-0007(CVBS).mpg
[2005-04-13 00:14:17] Source aspect ratio: 4:3
[2005-04-13 00:14:17] Source resolution: 720x576
[2005-04-13 00:14:17] Found PAL source.
[2005-04-13 00:14:17] Analyzing source.
[2005-04-13 00:14:32] Source has percentage of interlacing in motion areas: 0,00
[2005-04-13 00:14:32] Source is considered to be progressive.
[2005-04-13 00:14:32] Output will contain 1504 frames
[2005-04-13 00:14:32] Encoding audio.
[2005-04-13 00:14:36] Audio1 size: 997,999 bytes (0.95 Mb)
[2005-04-13 00:14:36] Overhead: 60,160 bytes (0.06 Mb)
[2005-04-13 00:14:36] Video size: 6,281,873 bytes (5.99 Mb)
[2005-04-13 00:14:36] Running compressibility test.
[2005-04-13 00:14:36] Writing the following script to C:\VIDEO\WINPVR\agk_tmp\Video0413-0007(CVBS)_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\agk_tmp\Video0413-0007(CVBS).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 = 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
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(15,15)
===========================================================
[2005-04-13 00:15:15] Duration was: 39 seconds
[2005-04-13 00:15:15] Speed was: 37,75 fps.
[2005-04-13 00:15:15] Compressibility percentage is: 96,16
[2005-04-13 00:15:15] Using sharper matrix
[2005-04-13 00:15:15] Chosen resolution is: 512x368 ( AR: 1,39 )
[2005-04-13 00:15:15] Predicted comptest value is: 72,22
[2005-04-13 00:15:15] Running first pass.
[2005-04-13 00:15:15] Writing the following script to C:\VIDEO\WINPVR\agk_tmp\Video0413-0007(CVBS)_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\agk_tmp\Video0413-0007(CVBS).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 = 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
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)
===========================================================
[2005-04-13 00:15:41] Duration was: 25 seconds
[2005-04-13 00:15:41] Speed was: 59,97 fps.
[2005-04-13 00:15:41] Expected quality of first pass size: 70,46
[2005-04-13 00:15:41] Running second pass.
[2005-04-13 00:16:19] Duration was: 38 seconds
[2005-04-13 00:16:19] Speed was: 39,21 fps.
[2005-04-13 00:16:19] Job finished. Total time: 2 minutes 2 seconds
Mouse
12th April 2005, 23:30
Loaded same file in VirtualDub Mod, cropped it, rezised it to 512x384, compressed with MJPEG. Works.
Heres the log :
[2005-04-13 00:22:28] AutoGK 2.05b
[2005-04-13 00:22:28] OS: WinXP (5.1.2600).2
[2005-04-13 00:22:28] Job started.
[2005-04-13 00:22:28] Input file: sample.avi
[2005-04-13 00:22:28] Input codec: MJPEG
[2005-04-13 00:22:28] Source duration: 1mn 120ms
[2005-04-13 00:22:28] Output file: C:\VIDEO\WINPVR\sample_agk.avi
[2005-04-13 00:22:28] Output codec: XviD
[2005-04-13 00:22:28] Audio1: 1411 Kbps PCM 2ch
[2005-04-13 00:22:28] Subtitles: none
[2005-04-13 00:22:28] Format: .AVI
[2005-04-13 00:22:28] Target size: 7Mb
[2005-04-13 00:22:28] Custom resolution settings: fixed width of 512 pixels
[2005-04-13 00:22:28] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-13 00:22:28] Started encoding.
[2005-04-13 00:22:28] Source resolution: 512x384
[2005-04-13 00:22:28] Source fps: 25
[2005-04-13 00:22:28] Output will contain 1503 frames
[2005-04-13 00:22:28] Analyzing source.
[2005-04-13 00:23:03] Source has percentage of interlacing in motion areas: 0,00
Note : I did a deinterlace with VirtualDub Mod here.
[2005-04-13 00:23:03] Source is considered to be progressive.
[2005-04-13 00:23:03] Demuxing audio.
[2005-04-13 00:23:06] Normalizing audio.
[2005-04-13 00:23:07] Encoding audio.
[2005-04-13 00:23:10] Audio1 size: 997,999 bytes (0.95 Mb)
[2005-04-13 00:23:10] Overhead: 60,160 bytes (0.06 Mb)
[2005-04-13 00:23:10] Video size: 6,281,873 bytes (5.99 Mb)
[2005-04-13 00:23:10] Running compressibility test.
[2005-04-13 00:23:10] Writing the following script to C:\VIDEO\WINPVR\agk_tmp\sample_agk_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("C:\VIDEO\WINPVR\sample.avi",25).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
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
autocrop(movie,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(15,15)
===========================================================
[2005-04-13 00:23:54] Duration was: 43 seconds
[2005-04-13 00:23:54] Speed was: 34,89 fps.
[2005-04-13 00:23:54] Compressibility percentage is: 84,54
[2005-04-13 00:23:54] Chosen resolution is: 512x384 ( AR: 1,33 )
[2005-04-13 00:23:54] Predicted comptest value is: 84,54
[2005-04-13 00:23:54] Running first pass.
[2005-04-13 00:23:54] Writing the following script to C:\VIDEO\WINPVR\agk_tmp\sample_agk_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("C:\VIDEO\WINPVR\sample.avi",25).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
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
autocrop(movie,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)
===========================================================
[2005-04-13 00:24:20] Duration was: 26 seconds
[2005-04-13 00:24:20] Speed was: 56,16 fps.
[2005-04-13 00:24:20] Expected quality of first pass size: 84,28
[2005-04-13 00:24:20] Running second pass.
[2005-04-13 00:25:02] Duration was: 41 seconds
[2005-04-13 00:25:02] Speed was: 36,05 fps.
[2005-04-13 00:25:02] Job finished. Total time: 2 minutes 33 seconds
Going to test not to crop it, and just do a 720x576 MJPEG.
Edit : Back with a uncropped .avi at 720x576 using VirtualDub Mod. Now the resulotion is even more odd :) - size is now 512x416
Log File :
[2005-04-13 00:36:01] AutoGK 2.05b
[2005-04-13 00:36:01] OS: WinXP (5.1.2600).2
[2005-04-13 00:36:01] Job started.
[2005-04-13 00:36:01] Input file: sample.test.avi
[2005-04-13 00:36:01] Input codec: MJPEG
[2005-04-13 00:36:01] Source duration: 1mn
[2005-04-13 00:36:01] Output file: C:\VIDEO\WINPVR\sample.test_agk.avi
[2005-04-13 00:36:01] Output codec: XviD
[2005-04-13 00:36:01] Audio1: 1411 Kbps PCM 2ch
[2005-04-13 00:36:01] Subtitles: none
[2005-04-13 00:36:01] Format: .AVI
[2005-04-13 00:36:01] Target size: 7Mb
[2005-04-13 00:36:01] Custom resolution settings: fixed width of 512 pixels
[2005-04-13 00:36:01] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-13 00:36:01] Started encoding.
[2005-04-13 00:36:01] Source resolution: 720x576
[2005-04-13 00:36:01] Source fps: 25
[2005-04-13 00:36:01] Output will contain 1500 frames
[2005-04-13 00:36:01] Analyzing source.
[2005-04-13 00:37:12] Source has percentage of interlacing in motion areas: 0,00
[2005-04-13 00:37:12] Source is considered to be progressive.
[2005-04-13 00:37:12] Demuxing audio.
[2005-04-13 00:37:16] Normalizing audio.
[2005-04-13 00:37:16] Encoding audio.
[2005-04-13 00:37:20] Audio1 size: 1,003,013 bytes (0.96 Mb)
[2005-04-13 00:37:20] Overhead: 60,032 bytes (0.06 Mb)
[2005-04-13 00:37:20] Video size: 6,276,987 bytes (5.99 Mb)
[2005-04-13 00:37:20] Running compressibility test.
[2005-04-13 00:37:20] Writing the following script to C:\VIDEO\WINPVR\agk_tmp\sample.test_agk_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("C:\VIDEO\WINPVR\sample.test.avi",25).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
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
autocrop(movie,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(15,15)
===========================================================
[2005-04-13 00:38:19] Duration was: 58 seconds
[2005-04-13 00:38:19] Speed was: 25,42 fps.
[2005-04-13 00:38:19] Compressibility percentage is: 67,76
[2005-04-13 00:38:19] Chosen resolution is: 512x416 ( AR: 1,23 )
[2005-04-13 00:38:19] Predicted comptest value is: 67,76
[2005-04-13 00:38:19] Running first pass.
[2005-04-13 00:38:19] Writing the following script to C:\VIDEO\WINPVR\agk_tmp\sample.test_agk_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("C:\VIDEO\WINPVR\sample.test.avi",25).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : 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)
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
autocrop(movie,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)
===========================================================
[2005-04-13 00:39:02] Duration was: 43 seconds
[2005-04-13 00:39:02] Speed was: 34,47 fps.
[2005-04-13 00:39:02] Expected quality of first pass size: 65,89
[2005-04-13 00:39:02] Running second pass.
[2005-04-13 00:40:05] Duration was: 1 minute, 2 seconds
[2005-04-13 00:40:05] Speed was: 23,95 fps.
[2005-04-13 00:40:05] Job finished. Total time: 4 minutes 3 seconds
Not sure, but my guess is that DGIndex is fubar.
evil ryu
13th April 2005, 00:13
Currently I have some problems with final dimension of the avi. If I set 896 MB I get 905 MB.
Mouse
13th April 2005, 00:38
Back with 1.95 - all in order, works.
bloodrush
13th April 2005, 06:53
AR problem in 2.05b here too.
Encoding a 4:3 source STTNG episode.
Encoding in 1.95 fixed res of 512 gives 512x384
Encoding same ep in 2.05b fixed res of 512 gives 512x400
No hidden options messed with, all defaults except for the fixed res.
--bloodrush
len0x
13th April 2005, 10:46
Originally posted by Mouse
FYI - 720x576 (4:3) -> Output to 512x384 (4:3) is broken.
It makes 576x352, which is way out of OAR.
The new versions 4:3 autodetection works different now - previosuly all ARs < 1.4 were considered 4:3, now its 1.28< AR<1.38.
As I can see from the logs it varies from 1.25 to 1.39 that is out of reach for 4:3 detection - do you really want to crop away that many good material to achieve 4:3 ?
len0x
13th April 2005, 10:48
Originally posted by bloodrush
AR problem in 2.05b here too.
Encoding a 4:3 source STTNG episode.
Encoding in 1.95 fixed res of 512 gives 512x384
Encoding same ep in 2.05b fixed res of 512 gives 512x400
No hidden options messed with, all defaults except for the fixed res.
It is actuall AR. Previously AutoGK was always cropping more to get 4:3, now that has to be enabled via hidden options.
Mouse
13th April 2005, 12:03
Originally posted by len0x
The new versions 4:3 autodetection works different now - previosuly all ARs < 1.4 were considered 4:3, now its 1.28< AR<1.38.
As I can see from the logs it varies from 1.25 to 1.39 that is out of reach for 4:3 detection - do you really want to crop away that many good material to achieve 4:3 ?
It cuts to much, resulting if i capture someting with subtitles, half the subtitles cuts off. Or if you input a avi, it cuts to less, resulting with black borders under (overscan from TV-capture). Both in wrong AR.
If i just could add images, here so you could see for yourself.
I'll add a URL later for the images.
It looks really odd. The problem is, it deosnt cut of black borders, which is coused by overscan from captured source eg. TV, or cuts to much from the overscan, If you know what i mean?
Alwayscamp
13th April 2005, 12:08
[4/12/2005 4:15:45 PM] AutoGK 2.05b
[4/12/2005 4:15:45 PM] OS: WinXP (5.1.2600).2
[4/12/2005 4:15:45 PM] Job started.
[4/12/2005 4:15:45 PM] Input file: LA Trailer RAW - 5763.avi
[4/12/2005 4:15:45 PM] Input codec: dvsd
[4/12/2005 4:15:45 PM] Source duration: 1mn 6s 566ms
[4/12/2005 4:15:45 PM] Output file: H:\My Video\LA Trailer RAW - 5763_agk.avi
[4/12/2005 4:15:45 PM] Output codec: XviD
[4/12/2005 4:15:45 PM] Audio1: 1024 Kbps PCM 2ch
[4/12/2005 4:15:45 PM] Subtitles: none
[4/12/2005 4:15:45 PM] Format: .AVI
[4/12/2005 4:15:45 PM] Target size: 5Mb
[4/12/2005 4:15:45 PM] Custom resolution settings: fixed width of 720 pixels
[4/12/2005 4:15:45 PM] Custom audio settings: VBR MP3 with average bitrate: 64Kbps
[4/12/2005 4:15:45 PM] Started encoding.
[4/12/2005 4:15:45 PM] Source resolution: 720x480
[4/12/2005 4:15:45 PM] Source fps: 29.971
[4/12/2005 4:15:45 PM] Manual aspect ratio: 0:1
[4/12/2005 4:15:45 PM] Output will contain 1995 frames
[4/12/2005 4:15:45 PM] Analyzing source.
[4/12/2005 4:18:20 PM] Source has percentage of interlacing in motion areas: 100.00
[4/12/2005 4:18:20 PM] Source has percentage of telecined patterns: 1.87
[4/12/2005 4:18:20 PM] Source has percentage of progressive patterns: 0.00
[4/12/2005 4:18:20 PM] Source has percentage of interlaced patterns: 98.13
[4/12/2005 4:18:20 PM] Source is considered to be interlaced.
[4/12/2005 4:18:20 PM] Demuxing audio.
[4/12/2005 4:18:35 PM] Normalizing audio.
[4/12/2005 4:18:36 PM] Encoding audio.
[4/12/2005 4:18:41 PM] Audio1 size: 527,160 bytes (0.50 Mb)
[4/12/2005 4:18:41 PM] Overhead: 79,744 bytes (0.08 Mb)
[4/12/2005 4:18:41 PM] Video size: 4,635,976 bytes (4.42 Mb)
[4/12/2005 4:18:41 PM] Running compressibility test.
[4/12/2005 4:22:10 PM] Duration was: 3 minutes 28 seconds
[4/12/2005 4:22:10 PM] Speed was: 9.55 fps.
[4/12/2005 4:22:10 PM] Compressibility percentage is: 18.19
[4/12/2005 4:22:10 PM] Using softer resizer.
[4/12/2005 4:22:10 PM] Chosen resolution is: 720x528 ( AR: 1.36 )
[4/12/2005 4:22:10 PM] Predicted comptest value is: 18.81
[4/12/2005 4:22:10 PM] Running first pass.
[4/12/2005 4:24:23 PM] Duration was: 2 minutes 12 seconds
[4/12/2005 4:24:23 PM] Speed was: 15.00 fps.
[4/12/2005 4:24:23 PM] Expected quality of first pass size: 18.92
[4/12/2005 4:24:23 PM] Running second pass.
[4/12/2005 4:27:18 PM] Duration was: 2 minutes 55 seconds
[4/12/2005 4:27:18 PM] Speed was: 11.40 fps.
[4/12/2005 4:27:18 PM] Job finished. Total time: 11 minutes 32 seconds
Source resolution: 720x480
Chosen resolution is: 720x528 ( AR: 1.36 )
something is still wrong
i have another source that has black borders and autogk doesn't crop them out ( .avi source ). the black borders are throughout the whole clip not just in parts
please let me know
and thanks again for all your time
len0x
13th April 2005, 12:08
Originally posted by Mouse
It cuts to much, resulting if i capture someting with subtitles, half the subtitles cuts off.
Sure, that is what threshold parameter of autocrop for.
Originally posted by Mouse
Or if you input a avi, it cuts to less, resulting with black borders under (overscan from TV-capture).
As clearly stated in input AVI thread - AutoGK does NOT do autocrop for AVI sources by default. You have to enable it via hidden options.
Mouse
13th April 2005, 12:12
Originally posted by len0x
Sure, that is what threshold parameter of autocrop for.
As clearly stated in input AVI thread - AutoGK does NOT do autocrop for AVI sources by default. You have to enable it via hidden options.
You are right, my bad, sorry for that.
Still, .mpg (MPEG2) input is fubar imo. (there it cuts to much).
len0x
13th April 2005, 12:12
Originally posted by Alwayscamp
Source resolution: 720x480
Chosen resolution is: 720x528 ( AR: 1.36 )
you didn't post full log file with avs script inside
P.S. If you have avi input then its better not to touch AR options at all, original AR is kept automatically.
P.P.S. Quality of your encode will be appalling btw...
len0x
13th April 2005, 12:13
Originally posted by Mouse
Still, .mpg input is fubar imo. (there it cuts to much).
I'd like to see screenshots.
Alwayscamp
13th April 2005, 12:22
i'll redo the job again as i had it set to show vdub log as well so it was too big to post ...
true this is an avi source but i have the exact same problem on a dvd source
i will start with the avi source and i will try without ar correction and see what happens
will post logs soon
len0x
13th April 2005, 12:25
Originally posted by Alwayscamp
Source resolution: 720x480
Chosen resolution is: 720x528 ( AR: 1.36 )
something is still wrong
Oh, you have DV source! Original AR option doesn't work for DV sources as they have custom AR (1.0925 or 0.909) that is hardcoded.
Originally posted by Alwayscamp
i have another source that has black borders and autogk doesn't crop them out ( .avi source ).
Read the AVI input thread - autocrop is not performed for AVI sources! You have to enable it manually via hidden option.
@All
I would really appreciate if you stop posting input AVI problems here and post them where they belong: http://forum.doom9.org/showthread.php?s=&threadid=91804
Mouse
13th April 2005, 12:29
installed 2.05 again, and o'boy do i feel stupid. The problem is gone on first test. Doing further tests, i'm going to reproduce this :)
Log file :
[2005-04-13 13:23:15] AutoGK 2.05b
[2005-04-13 13:23:15] OS: WinXP (5.1.2600).2
[2005-04-13 13:23:15] Job started.
[2005-04-13 13:23:15] Input file: sample.mpg
[2005-04-13 13:23:15] Output file: C:\VIDEO\WINPVR\LAO\sample.avi
[2005-04-13 13:23:15] Output codec: XviD
[2005-04-13 13:23:15] Audio1: Audio Stream 0 MPEG
[2005-04-13 13:23:15] Subtitles: none
[2005-04-13 13:23:15] Format: .AVI
[2005-04-13 13:23:15] Target size: 7Mb
[2005-04-13 13:23:15] Custom resolution settings: fixed width of 512 pixels
[2005-04-13 13:23:15] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-13 13:23:15] Started encoding.
[2005-04-13 13:23:15] Demuxing and indexing.
[2005-04-13 13:23:17] Processing file: C:\VIDEO\WINPVR\LAO\sample.mpg
[2005-04-13 13:23:17] Source aspect ratio: 4:3
[2005-04-13 13:23:17] Source resolution: 720x576
[2005-04-13 13:23:17] Found PAL source.
[2005-04-13 13:23:17] Analyzing source.
[2005-04-13 13:23:34] Source has percentage of interlacing in motion areas: 0,00
[2005-04-13 13:23:34] Source is considered to be progressive.
[2005-04-13 13:23:34] Output will contain 1504 frames
[2005-04-13 13:23:34] Encoding audio.
[2005-04-13 13:23:38] Using bitrate spikes control.
[2005-04-13 13:23:38] Audio1 size: 1,010,305 bytes (0.96 Mb)
[2005-04-13 13:23:38] Overhead: 60,160 bytes (0.06 Mb)
[2005-04-13 13:23:38] Video size: 6,269,567 bytes (5.98 Mb)
[2005-04-13 13:23:38] Running compressibility test.
[2005-04-13 13:23:38] Writing the following script to C:\VIDEO\WINPVR\LAO\agk_tmp\sample_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\LAO\agk_tmp\sample.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 = 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
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(15,15)
===========================================================
[2005-04-13 13:24:19] Duration was: 40 seconds
[2005-04-13 13:24:19] Speed was: 37,14 fps.
[2005-04-13 13:24:19] Compressibility percentage is: 71,59
[2005-04-13 13:24:19] Chosen resolution is: 512x384 ( AR: 1,33 )
[2005-04-13 13:24:19] Predicted comptest value is: 71,59
[2005-04-13 13:24:19] Running first pass.
[2005-04-13 13:24:19] Writing the following script to C:\VIDEO\WINPVR\LAO\agk_tmp\sample_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\LAO\agk_tmp\sample.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 = 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
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)
===========================================================
[2005-04-13 13:24:44] Duration was: 25 seconds
[2005-04-13 13:24:44] Speed was: 59,16 fps.
[2005-04-13 13:24:44] Expected quality of first pass size: 69,56
[2005-04-13 13:24:44] Running second pass.
[2005-04-13 13:25:23] Duration was: 38 seconds
[2005-04-13 13:25:23] Speed was: 38,58 fps.
[2005-04-13 13:25:23] Job finished. Total time: 2 minutes 7 seconds
ukb008
14th April 2005, 03:12
Amazing; this thread runs into 185 pages, with almost 4000 posts and a miilion views. Is this this forum's record?
Where does len0x find the time to read all these posts and answer them civilly? He has handed us the pie (http://forum.doom9.org/showthread.php?s=&threadid=7770) and now he is expected to make and deliver more and more pies. Amazing.
Regards.
len0x
15th April 2005, 15:45
Originally posted by Mouse
installed 2.05 again, and o'boy do i feel stupid. The problem is gone on first test. Doing further tests, i'm going to reproduce this :)
So, has it gone?
Outerspacelord
15th April 2005, 18:20
I tried 2.05b on two DVDs and on both it choose the wrong subs. I choose the norwegian subs but both times it comes out as danish. Here is the streaminfo:
0x20 - Subtitle - Dansk - [SubPicture 01: Wide] / LBA: 4120 / PTS: 00:00:25.740 / Delay: 25680ms
0x21 - Subtitle - Dansk - [SubPicture 01: Letterbox] / LBA: 4119 / PTS: 00:00:25.740 / Delay: 25680ms
0x22 - Subtitle - Svenska - [SubPicture 02: Wide] / LBA: 4127 / PTS: 00:00:25.740 / Delay: 25680ms
0x23 - Subtitle - Svenska - [SubPicture 02: Letterbox] / LBA: 4121 / PTS: 00:00:25.740 / Delay: 25680ms
0x24 - Subtitle - Norsk - [SubPicture 03: Wide] / LBA: 4118 / PTS: 00:00:25.740 / Delay: 25680ms
0x25 - Subtitle - Norsk - [SubPicture 03: Letterbox] / LBA: 4117 / PTS: 00:00:25.740 / Delay: 25680ms
0x26 - Subtitle - Suomi - [SubPicture 04: Wide] / LBA: 4125 / PTS: 00:00:25.740 / Delay: 25680ms
0x27 - Subtitle - Suomi - [SubPicture 04: Letterbox] / LBA: 4123 / PTS: 00:00:25.740 / Delay: 25680ms
0x80 - Audio - AC3 / 2ch / 48kHz / DRC / LBA: 6 / PTS: 00:00:00.060 / Delay: 0ms
0x81 - Audio - AC3 / 2ch / 48kHz / DRC / LBA: 7 / PTS: 00:00:00.060 / Delay: 0ms
0xE0 - Video - MPEG-2 / 720x576 (PAL) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.060 / Delay: 0ms
musicnyman
15th April 2005, 19:22
can't download beta or stable versions on the site:
Forbidden
You don't have permission to access /AutoGordianKnot.2.05.beta.Update.exe on this server.
Apache/1.3.33 Server at len0x.shellpower.net Port 80
Forbidden
You don't have permission to access /download/AutoGordianKnot.2.05.beta.Update.exe on this server.
Apache/1.3.27 Server at www.autogk.net Port 80
Forbidden
You don't have permission to access /AutoGordianKnot.2.05.beta.Update.exe on this server.
Apache/1.3.33 Server at len0x.leffe.dnsalias.com Port 80
len0x
15th April 2005, 21:15
Originally posted by Outerspacelord
I tried 2.05b on two DVDs and on both it choose the wrong subs. I choose the norwegian subs but both times it comes out as danish.
is it reproducable with 1.95 (preview is enough)? If yes, then its probably stream info file problem (i.e. DVdDecrypter's).
Taurus
15th April 2005, 22:39
Originally posted by musicnyman
can't download beta or stable versions on the site:
Forbidden
You don't have permission to access /AutoGordianKnot.2.05.beta.Update.exe on this server.
Apache/1.3.33 Server at len0x.shellpower.net Port 80
Forbidden
You don't have permission to access /download/AutoGordianKnot.2.05.beta.Update.exe on this server.
Apache/1.3.27 Server at www.autogk.net Port 80
Forbidden
You don't have permission to access /AutoGordianKnot.2.05.beta.Update.exe on this server.
Apache/1.3.33 Server at len0x.leffe.dnsalias.com Port 80
C'mon, just one page before this one you can read what's causing this behaviour.
Look for my post there or read AutoGk's FAQ. First entry is about this subject.
Or use the da.. Search button.
Cheers
Taurus
ukb008
16th April 2005, 02:05
Posted by len0x, commenting on wrong language in the result:
is it reproducable with 1.95 (preview is enough)? If yes, then its probably stream info file problem (i.e. DVdDecrypter's).
I have seen many DVDs which have authoring errors, like I've seen languages labelled wrongly in the DVD itself: clicking on 'English', for example, launching the French soundtrack. In such cases DVDDecrypter clearly has no way to correct the mistake.
Safer thing to do is to check the DVD up before beginning the rip and transcoding operations.
Regards.
musicnyman
16th April 2005, 02:11
Originally posted by Taurus
C'mon, just one page before this one you can read what's causing this behaviour.
Look for my post there or read AutoGk's FAQ. First entry is about this subject.
Or use the da.. Search button.
Cheers
Taurus
i did that, and tried everything. nothing worked before posting this. i'm assuming you're talking about this:
Read this: www.pcsupport.dk/software/htmlprotector.html
Just reset all your IE settings to defaults.
If you messed up the host file, clean it.
If your ISP is doing some filtering, well I don't know...
Cheers
Taurus
and second, i'm using firefox and 10 minutes later, not changing anything, it worked fine. it's fine now, so no worries.
Outerspacelord
16th April 2005, 15:55
Originally posted by len0x
is it reproducable with 1.95 (preview is enough)? If yes, then its probably stream info file problem (i.e. DVdDecrypter's).
I just tried preview with 2.05b and a third and different DVD. Same problem... 2.05b automatically choose the first subs on the list whatever I do.
I will try v1.95, earlier version of DVDDecrypter or even to reinstall Vobsub. But I will not do it before tomorrow cause I have to much to do (zZz:) Running Vosub manually and choosing the .ifo seems to be no problem. Then I get the subs I want.
BTW I have both the forced and external selected under advanced option. Have been no problem before.
I never experienced this before...
Alwayscamp
17th April 2005, 02:02
Hi lenox and thanks for this version.
i did an encode of my wedding video which was the original problem i had with wrong ar and it worked fine.
quality was not the best as it was very hard to compress but the AR was correct.
here is the log:
[4/15/2005 6:26:36 PM] AutoGK 2.05b
[4/15/2005 6:26:36 PM] OS: WinXP (5.1.2600).2
[4/15/2005 6:26:36 PM] Job started.
[4/15/2005 6:26:36 PM] Input dir: L:\DVD_VIDEO_RECORDER\Our Wedding Video
[4/15/2005 6:26:36 PM] Output file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\Our Wedding Video.avi
[4/15/2005 6:26:36 PM] Output codec: XviD
[4/15/2005 6:26:36 PM] Audio1: Unknown language AC3 2ch
[4/15/2005 6:26:36 PM] Subtitles: none
[4/15/2005 6:26:36 PM] Format: .AVI
[4/15/2005 6:26:36 PM] Target size: 2100Mb
[4/15/2005 6:26:36 PM] Custom resolution settings: fixed width of 704 pixels
[4/15/2005 6:26:36 PM] Custom audio settings: AC3
[4/15/2005 6:26:36 PM] Started encoding.
[4/15/2005 6:26:36 PM] Demuxing and indexing.
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_1.VOB
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_2.VOB
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_3.VOB
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_4.VOB
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_5.VOB
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_6.VOB
[4/15/2005 6:29:59 PM] Processing file: L:\DVD_VIDEO_RECORDER\Our Wedding Video\VTS_01_7.VOB
[4/15/2005 6:29:59 PM] Source aspect ratio: 4:3
[4/15/2005 6:29:59 PM] Manual aspect ratio: 0:1
[4/15/2005 6:29:59 PM] Source resolution: 704x480
[4/15/2005 6:29:59 PM] Found NTSC source.
[4/15/2005 6:30:00 PM] Analyzing source.
[4/15/2005 6:40:38 PM] Source has percentage of interlacing in motion areas: 85.89
[4/15/2005 6:40:38 PM] Source has percentage of telecined patterns: 0.79
[4/15/2005 6:40:38 PM] Source has percentage of progressive patterns: 8.30
[4/15/2005 6:40:38 PM] Source has percentage of interlaced patterns: 90.91
[4/15/2005 6:40:38 PM] Source is considered to be interlaced.
[4/15/2005 6:40:38 PM] Output will contain 312150 frames
[4/15/2005 6:40:38 PM] Picking up autocrop parameters.
[4/15/2005 6:40:38 PM] Audio1 size: 333,283,328 bytes (317.84 Mb)
[4/15/2005 6:40:38 PM] Overhead: 1,735,936 bytes (1.66 Mb)
[4/15/2005 6:40:38 PM] Video size: 1,866,990,336 bytes (1780.50 Mb)
[4/15/2005 6:40:38 PM] Running compressibility test.
[4/15/2005 6:40:38 PM] Writing the following script to L:\DVD_VIDEO_RECORDER\Our Wedding Video\agk_tmp\Our Wedding Video_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("L:\DVD_VIDEO_RECORDER\Our Wedding Video\agk_tmp\Our Wedding Video.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=31215,aspect=0,threshold=34,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)
out_width = 704
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=31215,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)
===========================================================
[4/15/2005 9:22:39 PM] Duration was: 2 hours 42 minutes 1 second.
[4/15/2005 9:22:40 PM] Speed was: 1.61 fps.
[4/15/2005 9:22:41 PM] Compressibility percentage is: 25.92
[4/15/2005 9:22:41 PM] Using softer resizer.
[4/15/2005 9:22:41 PM] Chosen resolution is: 704x480 ( AR: 1.47 )
[4/15/2005 9:22:41 PM] Predicted comptest value is: 26.80
[4/15/2005 9:22:41 PM] Running first pass.
[4/15/2005 9:22:41 PM] Writing the following script to L:\DVD_VIDEO_RECORDER\Our Wedding Video\agk_tmp\Our Wedding Video_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("L:\DVD_VIDEO_RECORDER\Our Wedding Video\agk_tmp\Our Wedding Video.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=31215,aspect=0,threshold=34,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)
out_width = 704
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=31215,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)
===========================================================
[4/16/2005 3:14:08 AM] Duration was: 5 hours 51 minutes 26 seconds
[4/16/2005 3:14:08 AM] Speed was: 14.80 fps.
[4/16/2005 3:14:09 AM] Expected quality of first pass size: 25.34
[4/16/2005 3:14:09 AM] Running second pass.
[4/16/2005 11:17:14 AM] Duration was: 8 hours 3 minutes 5 seconds
[4/16/2005 11:17:14 AM] Speed was: 10.77 fps.
[4/16/2005 11:17:15 AM] Splitting video into: L:\DVD_VIDEO_RECORDER\Our Wedding Video\Our Wedding Video.cd1.avi
[4/16/2005 11:18:47 AM] Splitting video into: L:\DVD_VIDEO_RECORDER\Our Wedding Video\Our Wedding Video.cd2.avi
[4/16/2005 11:20:28 AM] Splitting video into: L:\DVD_VIDEO_RECORDER\Our Wedding Video\Our Wedding Video.cd3.avi
[4/16/2005 11:22:23 AM] Job finished. Total time: 16 hours 55 minutes 46 seconds
thanks alot.
will now try with avi input.
len0x
17th April 2005, 11:25
Originally posted by Outerspacelord
2.05b automatically choose the first subs on the list whatever I do.
Yes, it does. Fixed. As I said bugs were expected as I rewrote audio/subs handling.
Outerspacelord
17th April 2005, 13:57
Originally posted by len0x
Yes, it does. Fixed. As I said bugs were expected as I rewrote audio/subs handling.
Thx a lot, I am just trying to help :)
When can we expect next .exe build?
len0x
17th April 2005, 16:59
As usual - beginning of the week. Mon/Tue.
Mouse
18th April 2005, 10:12
len0x, i havent been able to reproduce the problem when it comes to 4:3. That seeme to work OK now.
But, another problem i can reproduce easy now.
720x576 MPEG2 source with used.
1. 576x336 (no .ITU + fixed width + forced 16:9)
2. 576x320 (with .ITU + fixed width + forced 16:9) used, and what is correct AR of 1.85:1 imo).
Above is with 1.95 of AutoGK
Now with 2.05b
720x576 MPEG2 source used.
1. 576x368 (no .ITU + fixed width + forced 16:9)
2. 576x352 (with .ITU used + fixed width + forced 16:9)
Heres some images :
Orginal Source of 720x576 (uncropped and MPEG2)
http://pichold.com/up/0504/org.source.jpg
AutoGK 1.95 - 576x320 (.ITU used + forced 16:9 + fixed width)
http://pichold.com/up/0504/autogk195.jpg
AutoGK 2.05b - 576x368 (.ITU not used + forced 16:9 + fixed width - AR 1.57)
http://pichold.com/up/0504/autgk205b.576.368.jpg
AutoGK 2.05b - 576x352 (.ITU used + forcec 16:9 + fixed width - AR 1.64)
http://pichold.com/up/0504/autogk205b.576.352.jpg
As you can see, it differs HUGE in size from 1.95.
ukb008
18th April 2005, 12:20
I've said this before. The issue of AR isn't cut-and-dried mathemetics; it's a matter of preference. The source may have an inexact AR; this is more often true than not. In cases where the input AR is wrong (howsoever slightly), the AR that comes out of AGK may be one of these three:
1. It may be an exact match of the input AR (i.e., wrong)
2. It may differ from the input AR, making it nearer to (or exactly, if you're lucky) right
3. It may differ from the input AR, making it more wrong.
AR should be correctable according to the viewer's preference. The viewer can do that in PowerDVD, but that's not the point here. The viewer ought to have a finished product coming out of AGK that has an AR either exactly correct according to his perception of the right AR, or very very near to it - so near that it'd be next to impossible to tell the difference.
In other words, the AR issue can't be automated satisfactorily; one of the reasons being that most of the sources have AR that's not exact.
Couple that with how the TV has been set up, and you have a situation more complex than you'd want it to be. But that's also not the issue here. We're talking about a finished product coming out of AGK that has exactly the viewer's idea of the right AR, played in a correctly set up TV or projection device.
The AR issue can only be settled by providing for a custom AR input, with a presribed AR error tolerance. An AR preview panel like the resize preview panel in VDub will perhaps be too much to ask for...
Just a final point. The contention that AR is a subjective issue may not be absolutely correct either. A circle should always look like a circle. If that's the yardstick, then AR isn't subjective at all. In that case, there has to be a mechanism to automatically check a frame that has an end-on view of a circle, and take steps to produce an AR that preserves the 1:1 transverse and vertical diameter ratio of that circle.
Regards.
Mouse
18th April 2005, 13:52
ukb008,
AR can eighter be wrong or correct - nothing else.
Any form of zooming, stretching on a TV is wrong.
I use a 16:9 TV, and i often hear people complain that they now bought a 16:9 TV and still see black bars. Ofcourse they see black bars - 16:9 is like that (except for 1.78:1, 1.66:1).
1.85:1 should give black bars (less or more depending on brand and how much they overscan).
2.35:1 gives bigger black bars - which is also correct.
What people tend to beleive is that a 16:9 TV is a "black-bar" saviour. It's complete wrong. Only way to fully get rid of black bars, is to buy a projector.
Not sure if your AR-lesson was ment for me, but i compare with 2 different versions of AutoGK, where the latest imo gives wrong AR, depending on settings.
ukb008
18th April 2005, 15:09
Quote:
Not sure if your AR-lesson was ment for me, but i compare with 2 different versions of AutoGK, where the latest imo gives wrong AR, depending on settings.
Far be it from me to give lessons, I am just a long-time happy user of AGK.
AR has nothing to do with the proportions of a TV screen. 16:9 is a generic term, meaning, in general, an AR value bigger than 4:3. The generic 16:9 embraces a large number of AR figures. 2.35:1, 1.78:1, 1.85:1. You name it. Recently I re-did my dear old Ben-Hur (http://imdb.com/title/tt0052618/technical) in XviD, and AGK 1.95 suggested 2.50:1 for a file-size of 790 MB for the part after intermission (a little less than two hours).
It depends on how the director has shot the movie. You can access technical details of the theatrical releases in IMDb (http://imdb.com) and you can readily see that. Beats me what motivates the directors not to adopt a uniform AR figure. But, then, its not a perfect world.
While cropping and resizing, encoding programs encounter the limitation of the dividing factor. Like, the dimentions are to be completely divisible by some number (e.g., 16 or 32). You can have one side measuring 320, for example, but not 323. So, in a frame, if a circle is to kept exactly a circle and that requires one side to be 323, then the encoding program accepts some AR error and makes it 320, or crops away the extra 3 lines. To keep the picture area exact, there is another method: you can have 323 lines of picture and 13 lines of 'blackness', making the side 336, a figure divisible by 16. The problem with this is that the junction between the picture and black areas elevate the bitrate unneccessarily. So, instead of inserting those black lines, the program crops the picture a little, and/or accepts a little AR error, and calculates the AR you get.
You are right - AR can either be wrong, or right. That, for an encoding program like the AGK, of course, holds true if the input AR is exact which, alas, it is often not. I mean, a circle isn't always exactly a circle in the strictest sense.
Regards.
len0x
18th April 2005, 16:41
Originally posted by Mouse
AutoGK 1.95 - 576x320 (.ITU used + forced 16:9 + fixed width)
http://pichold.com/up/0504/autogk195.jpg
AutoGK 2.05b - 576x352 (.ITU used + forcec 16:9 + fixed width - AR 1.64)
http://pichold.com/up/0504/autogk205b.576.352.jpg
I'd like to see logs for both encodes and capture of _exact_ frames as otherwise it doesn't tell me anything. I haven't changed anything in resizing algorithms between 1.95 and 2.05 so I don't see how they can produce different results on the same source...
bourtzovlakas
18th April 2005, 17:44
Hi len0x
Thanks for the new version...
Is something added in the instalation pack of AutoGK?
During install, i get "A digital signature not found" from M$....
len0x
18th April 2005, 17:45
its raw XviD inf install... (celtic_druid build)
bourtzovlakas
18th April 2005, 17:52
It also attemps to add a new registry value(GrpConv)...
Key:Software\Microsoft\Windows\CurrentVersion\RunOnce
Value:GrpConv
New Data:grpconv-o
Is this normal??
len0x
18th April 2005, 17:54
I have no idea - I took INF file from celtic_druid and just launched it.
idanm19
18th April 2005, 20:07
-- deleted, sorry, I should use search more often... --
niamh
18th April 2005, 20:14
Try the previous page for the answer (and the one before, and before and before)..... :rolleyes:
(and the FAQ, and so on)
Mouse
18th April 2005, 20:29
len0x,
I'm re-installing 1.95 in a few minutes, and adding the log from produced with the exact same sample in a few minutes.
Meanwhile, heres log from 2.05b (.ITU + forced 16:9 + fixed width)
[2005-04-18 11:05:30] AutoGK 2.05b
[2005-04-18 11:05:30] OS: WinXP (5.1.2600).2
[2005-04-18 11:05:30] Job started.
[2005-04-18 11:05:30] Input file: sample.mpg
[2005-04-18 11:05:30] Output file: C:\VIDEO\WINPVR\Cold.Case.Files\sample.avi
[2005-04-18 11:05:30] Output codec: XviD
[2005-04-18 11:05:30] Audio1: Audio Stream 0 MPEG
[2005-04-18 11:05:30] Subtitles: none
[2005-04-18 11:05:30] Format: .AVI
[2005-04-18 11:05:30] Target size: 7Mb
[2005-04-18 11:05:30] Custom resolution settings: fixed width of 576 pixels
[2005-04-18 11:05:30] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-18 11:05:30] Started encoding.
[2005-04-18 11:05:30] Demuxing and indexing.
[2005-04-18 11:05:30] Processing file: C:\VIDEO\WINPVR\Cold.Case.Files\sample.mpg
[2005-04-18 11:05:30] Source aspect ratio: 4:3
[2005-04-18 11:05:30] Manual aspect ratio: 16:9
[2005-04-18 11:05:30] Source resolution: 720x576
[2005-04-18 11:05:30] Found PAL source.
[2005-04-18 11:05:30] Analyzing source.
[2005-04-18 11:05:45] Source has percentage of interlacing in motion areas: 46,42
[2005-04-18 11:05:45] Source is considered to be interlaced.
[2005-04-18 11:05:45] Output will contain 1504 frames
[2005-04-18 11:05:45] Encoding audio.
[2005-04-18 11:05:50] Forcing ITU resize method.
[2005-04-18 11:05:50] Using bitrate spikes control.
[2005-04-18 11:05:50] Audio1 size: 969,567 bytes (0.92 Mb)
[2005-04-18 11:05:50] Overhead: 60,160 bytes (0.06 Mb)
[2005-04-18 11:05:50] Video size: 6,310,305 bytes (6.02 Mb)
[2005-04-18 11:05:50] Running compressibility test.
[2005-04-18 11:05:50] Writing the following script to C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample.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.45868945868946
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 576
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(15,15)
===========================================================
[2005-04-18 11:06:32] Duration was: 42 seconds
[2005-04-18 11:06:32] Speed was: 35,23 fps.
[2005-04-18 11:06:32] Compressibility percentage is: 56,63
[2005-04-18 11:06:32] Chosen resolution is: 576x352 ( AR: 1,64 )
[2005-04-18 11:06:32] Predicted comptest value is: 56,63
[2005-04-18 11:06:32] Running first pass.
[2005-04-18 11:06:32] Writing the following script to C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample.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.45868945868946
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 576
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[2005-04-18 11:07:01] Duration was: 28 seconds
[2005-04-18 11:07:01] Speed was: 52,17 fps.
[2005-04-18 11:07:01] Expected quality of first pass size: 52,20
[2005-04-18 11:07:01] Running second pass.
[2005-04-18 11:07:41] Duration was: 39 seconds
[2005-04-18 11:07:41] Speed was: 37,62 fps.
[2005-04-18 11:07:41] Job finished. Total time: 2 minutes 11 seconds
Log from 1.95 (.ITU + forced 16:9 + fíxed width)
[2005-04-18 23:06:03] AutoGK 1.95
[2005-04-18 23:06:03] OS: WinXP (5.1.2600).2
[2005-04-18 23:06:03] Job started.
[2005-04-18 23:06:03] Input file: sample.mpg
[2005-04-18 23:06:03] Output file: C:\VIDEO\WINPVR\Cold.Case.Files\sample.avi
[2005-04-18 23:06:03] Audio: Audio Stream 0
[2005-04-18 23:06:03] Subtitles: none
[2005-04-18 23:06:03] Codec: XviD
[2005-04-18 23:06:03] Target size: 7Mb
[2005-04-18 23:06:03] Custom resolution settings: fixed width of 576 pixels
[2005-04-18 23:06:03] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-18 23:06:03] Started encoding.
[2005-04-18 23:06:03] Demuxing and indexing.
[2005-04-18 23:06:03] Processing file: C:\VIDEO\WINPVR\Cold.Case.Files\sample.mpg
[2005-04-18 23:06:03] Source aspect ratio: 4:3
[2005-04-18 23:06:03] Manual aspect ratio: 16:9
[2005-04-18 23:06:03] Source resolution: 720x576
[2005-04-18 23:06:03] Found PAL source.
[2005-04-18 23:06:03] Analyzing source.
[2005-04-18 23:06:19] Source has percentage of interlacing in motion areas: 46,42
[2005-04-18 23:06:19] Source is considered to be interlaced.
[2005-04-18 23:06:19] Output will contain 1504 frames
[2005-04-18 23:06:19] Encoding audio.
[2005-04-18 23:06:23] Forcing ITU resize method.
[2005-04-18 23:06:23] Forcing encoding with sharp matrix.
[2005-04-18 23:06:23] Picking up autocrop parameters.
[2005-04-18 23:06:23] Audio size: 969,567 bytes (0.92 Mb)
[2005-04-18 23:06:23] Overhead: 60,160 bytes (0.06 Mb)
[2005-04-18 23:06:23] Video size: 6,310,305 bytes (6.02 Mb)
[2005-04-18 23:06:23] Running compressibility test.
[2005-04-18 23:06:23] Writing the following script to C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=50,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.45868945868946
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 = 576
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=50,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)
===========================================================
[2005-04-18 23:07:10] Duration was: 46 seconds
[2005-04-18 23:07:10] Speed was: 32,21 fps.
[2005-04-18 23:07:10] Compressibility percentage is: 54,46
[2005-04-18 23:07:10] Using softer resizer.
[2005-04-18 23:07:10] Chosen resolution is: 576x320 ( AR: 1,80 )
[2005-04-18 23:07:10] Predicted comptest value is: 56,96
[2005-04-18 23:07:10] Running first pass.
[2005-04-18 23:07:10] Writing the following script to C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=50,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.45868945868946
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 = 576
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=50,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)
===========================================================
[2005-04-18 23:07:41] Duration was: 31 seconds
[2005-04-18 23:07:41] Speed was: 48,42 fps.
[2005-04-18 23:07:41] Expected quality of first pass size: 51,90
[2005-04-18 23:07:41] Running second pass.
[2005-04-18 23:08:23] Duration was: 42 seconds
[2005-04-18 23:08:23] Speed was: 35,73 fps.
[2005-04-18 23:08:23] Job finished. Total time: 2 minutes 20 seconds
With this log above i like to add a few words.
AutoGK has lately, randomly worked different, atleast for me. What works in one version, does not work in another. When i pull back version that has previously worked, nothing seeme to work any more.
I do allways make a full un-install + reboot from every install.
Anyways,
after i installed 1.95 again, i had the exact same problem as 2.05b - i could not reproduce 576x320 using .ITU. Then it hit me, maybe AutoGK analyze to few frames? - so i did change from 10 to 50, and tada! from the log above you see 576x320 with a AR of 1.80:1 which is about as close as you can get with AutoGK to preserve AR.
Now, i'm going to install 2.06b to test first with 10 frames in there and then 50 frames.
Fingers crossed :)
Mouse
18th April 2005, 22:53
Log from 2.06b (.ITU + forced 16:9 + fixed width + analyze 50 frames instead of 10 which is default)
[2005-04-18 23:42:46] AutoGK 2.06b
[2005-04-18 23:42:46] OS: WinXP (5.1.2600).2
[2005-04-18 23:42:46] Job started.
[2005-04-18 23:42:46] Input file: sample.mpg
[2005-04-18 23:42:46] Output file: C:\VIDEO\WINPVR\Cold.Case.Files\sample.avi
[2005-04-18 23:42:46] Output codec: XviD
[2005-04-18 23:42:46] Audio1: Audio Stream 0 MPEG
[2005-04-18 23:42:46] Subtitles: none
[2005-04-18 23:42:46] Format: .AVI
[2005-04-18 23:42:46] Target size: 7Mb
[2005-04-18 23:42:46] Custom resolution settings: fixed width of 576 pixels
[2005-04-18 23:42:46] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[2005-04-18 23:42:46] Started encoding.
[2005-04-18 23:42:46] Demuxing and indexing.
[2005-04-18 23:42:46] Processing file: C:\VIDEO\WINPVR\Cold.Case.Files\sample.mpg
[2005-04-18 23:42:46] Source aspect ratio: 4:3
[2005-04-18 23:42:46] Manual aspect ratio: 16:9
[2005-04-18 23:42:46] Source resolution: 720x576
[2005-04-18 23:42:46] Found PAL source.
[2005-04-18 23:42:46] Analyzing source.
[2005-04-18 23:43:02] Source has percentage of interlacing in motion areas: 46,42
[2005-04-18 23:43:02] Source is considered to be interlaced.
[2005-04-18 23:43:02] Output will contain 1504 frames
[2005-04-18 23:43:02] Encoding audio.
[2005-04-18 23:43:06] Forcing ITU resize method.
[2005-04-18 23:43:06] Using bitrate spikes control.
[2005-04-18 23:43:06] Picking up autocrop parameters.
[2005-04-18 23:43:06] Audio1 size: 969,567 bytes (0.92 Mb)
[2005-04-18 23:43:06] Overhead: 60,160 bytes (0.06 Mb)
[2005-04-18 23:43:06] Video size: 6,310,305 bytes (6.02 Mb)
[2005-04-18 23:43:06] Running compressibility test.
[2005-04-18 23:43:06] Writing the following script to C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=50,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.45868945868946
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 576
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=50,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)
===========================================================
[2005-04-18 23:43:50] Duration was: 43 seconds
[2005-04-18 23:43:50] Speed was: 34,45 fps.
[2005-04-18 23:43:50] Compressibility percentage is: 63,02
[2005-04-18 23:43:50] Chosen resolution is: 576x320 ( AR: 1,80 )
[2005-04-18 23:43:50] Predicted comptest value is: 63,02
[2005-04-18 23:43:50] Running first pass.
[2005-04-18 23:43:50] Writing the following script to C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\dvd\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("C:\VIDEO\WINPVR\Cold.Case.Files\agk_tmp\sample.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=50,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.45868945868946
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 576
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=50,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[2005-04-18 23:44:23] Duration was: 32 seconds
[2005-04-18 23:44:23] Speed was: 46,03 fps.
[2005-04-18 23:44:23] Expected quality of first pass size: 57,77
[2005-04-18 23:44:23] Running second pass.
[2005-04-18 23:45:07] Duration was: 43 seconds
[2005-04-18 23:45:07] Speed was: 34,40 fps.
[2005-04-18 23:45:07] Job finished. Total time: 2 minutes 20 seconds
YAY! ;)
len0x, i'm not sure, but would you agree to that 10 frames default in analyzing is a little to low?
Taurus
19th April 2005, 20:43
2.06 beta installer gives me this on a Win98 machine:
http://img259.echo.cx/img259/624/bild27xe.png (http://www.imageshack.us)
Translation:
Error @loading from syssetup.
The mentioned file could't be found.
Cheers
Taurus
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.