PDA

View Full Version : Using AutoGK AVS file with CCE


usg
6th October 2004, 14:17
I would like to use the AVS (xxx_movie.avs) file generated by AutoGK with CCE 2.5 since AGK has analysed the source file. But, whenever I try, the CCE has problem and closes itself. Any help will be appreciated.

USG

For example the following AVS script:

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("D:\Market\agk_tmp\Market.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (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=1,threshold=0.01)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)

auenf
6th October 2004, 14:21
the contents of the avs would help, my psychic powers are rather low atm.

Enf...

usg
6th October 2004, 14:34
People who are using AGK(Divx 5.x) and CCE 2.5 regularly, may have better insight about the problem. The AVS file can be generated in a few minutes using any MPEG2 file and AGK in file mode. You can stop the AGK encoding. Then, the generated file, if used by CCE, it crashes the program.

PS: I am at work and do not have access to an AVS file.

Thanks,
USG