View Single Post
Old 27th September 2004, 14:10   #16  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
to use this function, you need to place it at the top of your script:

[code]
function reinterpolate420(clip x)
{
u=x.utoy()
v=x.vtoy()

u=u.separatefields().separatefields().selectevery(4,1,2).tomsmocomp(1,-1,0).assumefieldbased().weave()
v=v.separatefields().separatefields().selectevery(4,1,2).tomsmocomp(1,-1,0).assumefieldbased().weave()

ytouv(u,v,x)
}

loadplugin("drive:\path\tomsmocomp.dll")

avisource("dv-video-pal.avi")
reinterpolate420()
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote