Do you mean this:
Code:
function mvdeint(clip x, float "moblur")
{
mbl=default(moblur,0.1)
x.separatefields()
evn0=selecteven().converttoyv12()
odd0=selectodd().converttoyv12()
# compensate the even field to the temporal position of the odd field
evn1a=evn0.mvinterpolate(nb = 5,bl = 0.5-mbl, el = 0.5+mbl, wf = "hat")
evn1b=evn0.duplicateframe(1).reverse().mvinterpolate(nb = 5,bl = 0.5-mbl, el = 0.5+mbl, wf = "hat").reverse()
evn1=overlay(evn1a,evn1b,opacity=0.5)
# compensate the odd field to the temporal position of the even field
odd1a=odd0.mvinterpolate(nb = 5,bl = 0.5-mbl, el = 0.5+mbl, wf = "hat")
odd1b=odd0.duplicateframe(1).reverse().mvinterpolate(nb = 5,bl = 0.5-mbl, el = 0.5+mbl, wf = "hat").reverse()
odd1=overlay(odd1a,odd1b,opacity=0.5)
# chain original and compensated field
evn2=interleave(evn1,evn0).trim(1,0)
odd2=interleave(odd1,odd0)
# reinterlace the strea,
interleave(evn2,odd2)
weave()
}