这个好像不是我写的吧囧06_taro 写了:还有皮神这个自动输出ovr文本的神器也可以用来查交错,需要Decomb代码: 全选
########################################### #Usage: #Import("CombingInfo.avsi") #dgdecode_mpeg2source("d2v.d2v") #tfm(slow=2,d2v="d2v.d2v") #CombingInfo() #crop(0,0,32,32) #and run this avs script (use avs2avi or other tools). ########################################### function CombingInfo(clip c, int "thresh", string "ovr") { ovr = Default(ovr, "ovr.txt") global clip = c global sep=" +" global combedthreshold=default(thresh,70) c=SeparateFields(c) c=c.Blur(0.0,1.58).Blur(0.0,1.58).Blur(0.0,1.58).Blur(0.0,1.58) c=c.Blur(0.0,1.58).Blur(0.0,1.58).Blur(0.0,1.58) c=c.Blur(0.0,1.58).Blur(0.0,1.58) c=c.Blur(0.0,1.58) c=weave(c) c = FrameEvaluate(c, "global a = IsCombed(clip, combedthreshold)") c = WriteFileIf(c, ovr, "a==true", "current_frame", "sep") return c }
我稍微修改了一下,输出ovr文件可以自定义,默认和原来一样是ovr.txt
回一下LZ的问题,我现在一般是用这个脚本:
代码: 全选
# 1pass.avs
dgdecode_mpeg2source("d2v.d2v")
dei=mcbob.AAA().selecteven.limitedsharpenfaster(strength=50)
tfm(mode=3,ubsco=false,slow=2,d2v="d2v.d2v",pp=7,clip2=dei,output="tfm.txt")
tdecimate(mode=4,output="tdecimate.txt")
crop(0,0,32,32)