Also the filter should not rely on the content of the whole frame(like smart deinterlacers) else there is a risk that only part of the frame will be processed. The filter to be run must only accept one input clip and that is last. Dust does not work with the above script so if you want to use iip use another denoiser or get Steady to fix the bug. If the filter works with the above script it should work with MT if the filtercode is threadsafe. The only difference is that a and b is executed in parallel and it is possible to split the frame into more than 2 pieces. Note that if you is already getting 100% cpu utilization when processing avs scripts(ie if you're encoding to DivX/XviD) you don't need to use this filter.Ī=eval("c.crop(0,0,src.width/2,src.height)."+filter)ī=eval("c.crop(src.width/2,0,src.width/2,src.height)."+filter) I tested it on my old abit bp6 with 2x celeron 400 MHz and it increased the speed by 40%.
#AVISYNTH 2.5.7.0 FULL#
MT is a filter that split a frame up in smaller fragment that are processed in individual threads allowing full utilization of multiprocessor or hyperthread enabled computers. Important: Allways remember to judge the result by looking at the speed improvement not the cpu utilization. This should hopeful speed up processing on hyperthreaded multicore processors or multiprocessor systems. MT is a filter that enables other filter to run multithreaded. You can also get futher help to MT at the mediaWIKI page here () Get version 0.7 here () (contains avisynth 2.57 MT version 5 ()) Please post if there is some filters that doesn't work or what speed increase you got. Also usefull for all the 8 way dualcore opteron computers :)Īlso Included is a custom build of avisynth 2.5.7 that provides the two function SetMTMode and GetMTMode and some change to internal filters to support multithreading. I don't know how much faster the filters will be when running on a Pentium 4 HT but with my old dual celeron 400 MHz I got a 40 % speed increase. I made this small filter now that dualcore processors begins to show up.