Sorry, ignore my last comment about global idx's. I was thinking of if you were using MT("""Function()"""). I don't think MVTools can multithread properly with SetMTMode(). I remember trying to use it but it didn't really help even on a simple script that looked like:
Code:
SetMTMode(2,0)
MPEG2Source("source.d2v")
source = last
bvec = source.MVAnalyse(isb=true, delta=1, idx=1)
fvec = source.MVAnalyse(isb=false, delta=1, idx=1)
source.MVDegrain1(bvec, fvec, idx=1)