View Single Post
Old 12th October 2004, 20:01   #32  |  Link
KF
Registered User
 
Join Date: Dec 2001
Posts: 34
time tests

Wilbert, this was just a quick test

scripts used:

Wilbert's
=========
loadplugin("C:\Program Files\AviSynth 2.5\plugins\ReInterpolate420.dll")
avisource("myfile.avi").info()
ConvertToYUY2()
ReInterpolate420(interlaced=true)

Scharfis_Brain's
================
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("C:\Program Files\AviSynth 2.5\plugins\tomsmocomp.dll")

avisource("myfile.avi").info()
ConvertToYUY2()
reinterpolate420()

************************************************
time take by cce 2.67

time taken: 1:59:36 scharfis_brain

time taken: 1:53:43 wilbert

Original File size 96,503,820 bytes

Attached zipfile contains snapshots of the same frame.
Strange observations if you examine the yellow text.
Scharfis_Brain's method causes the colour of the text to be less by one pixel whilst Wilbert's method causes the colour to extend out of the text boundaries by one pixel.
I've had to crop the images in order to meet the upload file size restrictions.
But the portion shows what I mean.
Attached Files
File Type: zip pics.zip (134.2 KB, 308 views)

Last edited by KF; 12th October 2004 at 21:18.
KF is offline   Reply With Quote