ukb008
11th April 2005, 12:44
Take a look this selection from film_agk.log:
----------------------------------------------------------------------
LoadPlugin("F:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("F:\film\AGKwork\agk_tmp\film.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=1,threshold=1.93)
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("F:\film\AGKwork\agk_tmp\film.idx")
SelectRangeEvery(167,15)
----------------------------------------------------------------------
Look at the purple line. How is this 1.18518518518519 calculated? What are the numerator and the denominator that give rise to that figure?
I apologize if this has already been explained somewhere. I couldn't find it.
Regards.
----------------------------------------------------------------------
LoadPlugin("F:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("F:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("F:\film\AGKwork\agk_tmp\film.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=1,threshold=1.93)
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("F:\film\AGKwork\agk_tmp\film.idx")
SelectRangeEvery(167,15)
----------------------------------------------------------------------
Look at the purple line. How is this 1.18518518518519 calculated? What are the numerator and the denominator that give rise to that figure?
I apologize if this has already been explained somewhere. I couldn't find it.
Regards.