PDA

View Full Version : Multi-threaded avisynth


cogman
11th June 2008, 17:52
Hey all, I've successfully done a few encodes with x264, avisynth, and MVTools, but unfortunately I have noticed a big bottleneck with MVTools, it is only using one thread :(. the result is that my quad core never rises above 30% utilization and ~ 3 fps. I can get it to full utilization via makeing x264 use 16 refs as opposed to 6, (and see about the same fps) but I would rather have a faster encode with my current setup.

So, I install the MT plugin for avisynth, and to my horror find that it uses a dll that isn't supported by wine. I tried getting said DLL, but ended up with gobs of errors. So I am left with the single-threaded version of avisynth :(. Is it possible to multithread avisynth in linux? Would I have to rebuild it with MingW (instead of MSVC which appears to be what was used with the last MT build). or is their another way to use the great MVTools on linux?

scharfis_brain
12th June 2008, 09:03
mytools cannot be used properly with mt.

cogman
16th June 2008, 03:50
mytools cannot be used properly with mt.

Its worked perfectly fine for me on my windows machine, don't know why you would say that as I know plenty of tutorials the show how to use mvdegrain ect with the MT plugin.

talen9
17th June 2008, 01:00
I too tried the avisynth.dll that goes with MT with wine .... and never got it work, with or without MVTools, using MT() or SetMTMode or neither, IIRC (it was some time ago).

Moreover, i find that the only one that correctly works with (Wine + avs2yuv.exe) is the one you can download from the same page where you can get avs2yuv itself ... which corresponds to AviSynth v2.5.6, again IIRC :(


And I agree with cogman too about MultiThreaded Avisynth + MVTools, at least with SetMTMode() (MT() is bit more "fussy", i tend to find the use SetMTMode definitely simpler, if not faster).