Ich bekomme immer folgende Fehlermeldung:
Evaluate: System exception - Integer Divide by Zero
(F:\agk_tmp\film_comptest.avs, line 6)
Line6 ist"cropclip ="
Ich gehe so vor mit cropping und credits, dass ich erst nen preview mache und dann das d2v-file in GKnot 0.35 lade und mir dann die cropping-parameter und credit-start werte notiere, die ich dann in autoGK eingebe.
Ich habe manuelles cropping in AutoGK eingestellt:
-> F9
Tune auto crop parameters (Haken)
Threshhold:0
Numbers of frame to examine:0
starting frame to autocrop:0
dann meine manuellen Werte in "force cropping of" eingegeben.
Leider muss ich da was falsch machen... das ist klar, aber was?
film_comptest.avs
-----------------
LoadPlugin("E:\MULTIM~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\MULTIM~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\MULTIM~1\AutoGK\filters\RemoveGrainSSE2.dll")
movie = mpeg2source("F:\agk_tmp\film.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=0,aspect=0,threshold=0,samplestartframe=0,leftadd=2,rightadd=2,topadd=74,bottomadd=74)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=0,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=2,rightadd=2,topadd=74,bottomadd=74)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(300,15)