View Single Post
Old 6th November 2007, 22:59   #691  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
new testversion of mvtools with ian's and fizicks suggestion for memory optimization that is tracking the last buffersize+3 frames accessed to see if the buffersize should increase and initial buffersize based on delta value for mvanalyse. You can get it here:
http://www.avisynth.org/tsp/mvtoolsMTcomp3.zip

foxyshadis: Sounds like it is MPEG2Source? What version are you using?
Does
SetMTmode(2)
blankclip()
work?
Using distributor when the MTmode is 0 will produce garbage because there are only one instance of each filter (like MTmode=1) and the ordinary non-thread safe version of the internal cache is used (the filtergraph is not setup for multithreading). With memcoder the MTmode=2 so the filtergraph is correctly created but distributor is never inserted at the end because avisynth doesn't know when memcoder is done creating the filtergraph.
At least fft3dfilter and spline36resize will work with MT() but I will see if I can reproduce the problem.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote