Log in

View Full Version : Auto GK and AviSynth error!!


castellanos
25th March 2005, 10:08
Hi there!
I was tring to make a back up of Bad Boys II, everything went normal, I ripped the files with DVD Decrypter in IFO mode and I started the conversion with AGK.
Demuxing and Indexing was ok, Compressibility test also ok, but shortly after it started the 2nd. pass I got an error from AviSynth and everything stopped.
I've tried two times and it was the same all the time.
here is the log:

[25.03.2005 00:19:00] AutoGK 2.00b
[25.03.2005 00:19:00] OS: WinXP (5.1.2600).2
[25.03.2005 00:19:00] Job started.
[25.03.2005 00:19:00] Input dir: D:\Film
[25.03.2005 00:19:00] Output file: E:\Film\VIDEO_TS\Bad Boys II.avi
[25.03.2005 00:19:00] Output codec: DivX
[25.03.2005 00:19:00] Audio: Unknown language
[25.03.2005 00:19:00] Subtitles: [SubPicture 02: Wide/Letterbox]
[25.03.2005 00:19:00] Format: .AVI
[25.03.2005 00:19:00] Target size: 1950Mb
[25.03.2005 00:19:00] Custom audio settings: AC3
[25.03.2005 00:19:00] Started encoding.
[25.03.2005 00:19:00] Demuxing and indexing.
[25.03.2005 00:23:47] Processing file: D:\Film\VTS_01_1.VOB
[25.03.2005 00:23:47] Processing file: D:\Film\VTS_01_2.VOB
[25.03.2005 00:23:47] Processing file: D:\Film\VTS_01_3.VOB
[25.03.2005 00:23:47] Processing file: D:\Film\VTS_01_4.VOB
[25.03.2005 00:23:47] Processing file: D:\Film\VTS_01_5.VOB
[25.03.2005 00:23:47] Source aspect ratio: 16:9
[25.03.2005 00:23:47] Source resolution: 720x480
[25.03.2005 00:23:47] Found NTSC source.
[25.03.2005 00:23:48] Analyzing source.
[25.03.2005 00:31:58] Source has percentage of interlacing in motion areas: 40,43
[25.03.2005 00:31:58] Source has percentage of telecined patterns: 95,98
[25.03.2005 00:31:58] Source has percentage of progressive patterns: 3,84
[25.03.2005 00:31:58] Source has percentage of interlaced patterns: 0,18
[25.03.2005 00:31:58] Source is considered to be FILM.
[25.03.2005 00:31:59] Output will contain 211130 frames
[25.03.2005 00:31:59] Preparing subtitles.
[25.03.2005 00:35:51] Audio size: 493,135,104 bytes (470.29 Mb)
[25.03.2005 00:35:51] Overhead: 7,682,816 bytes (7.33 Mb)
[25.03.2005 00:35:51] Video size: 1,543,905,280 bytes (1472.38 Mb)
[25.03.2005 00:35:51] Target bitrate is: 1403kbps
[25.03.2005 00:35:51] Running compressibility test.
[25.03.2005 00:35:52] Writing the following script to E:\Film\VIDEO_TS\agk_tmp\Bad Boys II_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\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("E:\Film\VIDEO_TS\agk_tmp\Bad Boys II.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.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 = 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
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,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
VobSub("E:\Film\VIDEO_TS\agk_tmp\Bad Boys II.idx")
SelectRangeEvery(280,14)
===========================================================
[25.03.2005 00:48:38] Duration was: 12 minutes 45 seconds
[25.03.2005 00:48:39] Speed was: 13,79 fps.
[25.03.2005 00:48:41] Compressibility percentage is: 39,22
[25.03.2005 00:48:41] Using softer resizer.
[25.03.2005 00:48:41] Chosen resolution is: 576x256 ( AR: 2,25 )
[25.03.2005 00:48:41] Predicted comptest value is: 61,07
[25.03.2005 00:48:41] Running first pass.
[25.03.2005 00:48:41] Writing the following script to E:\Film\VIDEO_TS\agk_tmp\Bad Boys II_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\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("E:\Film\VIDEO_TS\agk_tmp\Bad Boys II.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.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 = 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
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,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
VobSub("E:\Film\VIDEO_TS\agk_tmp\Bad Boys II.idx")
===========================================================
[25.03.2005 02:40:07] Duration was: 1 hour, 51 minutes 24 seconds
[25.03.2005 02:40:07] Speed was: 31,58 fps.
*************************************
EXCEPTION: Number of frames is very different from expected. Found only 6742 frames.
*************************************
[25.03.2005 02:40:07] Job finished. Total time: 2 hours 21 minutes 7 seconds

Any idea whay this?
Greetings! :)

castellanos
25th March 2005, 17:46
Well... no help here. Thank to God, I could fix the problem my self...:rolleyes:
Thanks anyway.

len0x
25th March 2005, 22:25
Originally posted by castellanos
I could fix the problem my self...:rolleyes:


that was... ?

castellanos
26th March 2005, 00:59
Well... a little long to explain, but here it is.
I have the Bad Boys II DVD region 1, time ago I've made a DVD backup of that movie adding my own subtitles...and I did it, but my drive was set (is still) on region 2 and I didn't have, at that time, any "on the fly" decryption program... so I did the backup succesfully using "brute" decrypting on DVD Decrypter... The method I used was not the best, I don't remember anymore.
I wanted to do the avi backup from that copy, because the subs were already there... something I suspected, because after the IFO mode decrypting, audio and subs tracks were named as "Unknown" :confused:
Whatever, I took the original DVD and it worked fine... does it!
Greetings! ;)