怎么都不能检测出交错……我的眼睛已经很明显看到了来着...
------------------------------------------------------------------------------------
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\it.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\UnDot.dll")
Mpeg2Source("c:\01.d2v",iDct=4)+Mpeg2Source("c:\02+03.d2v",iDct=4)
IT(fps=30, ref="TOP", blend=false)
op1=trim(0,85071)
v=op1
return v
global sep="."
global combedthreshold=10
function CombingInfo(clip c)
{
file = "interlace.log"
global clip = c
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, file, "a==true", "current_frame", "sep", "a")
return c
}
CombingInfo(v)
------------------------------------------------------------------------------------
global combedthreshold都开到10了……