Log in

View Full Version : MT and HybridFuPP aren't work.


PiPPoNe92
18th November 2009, 23:12
Hello guys!! In my tests Multithreading (MT.dll) filter of avisynth works for all filters, but it isn't work with HybridFuPP filter, for example:

If I have got this script:

.....
LoadPlugin("MT.dll")
Import("Filters\HybridFuPP.avsi")
SetMTmode(4,0)
HybridFuPP(preset="Very High")

How can I do?

Gavino
19th November 2009, 00:18
You don't say what error you are getting, and I don't know anything about HybridFuPP, but if you are trying to use MT with a filter that takes a string argument, you need to use the triple quote notation for the argument to MT, ie

MT("""HybridFuPP(preset="Very High")""")

Or maybe you are not using the MT function anyway?
Note that you don't need the MT plugin if you are only using SetMTMode().
Conversely, don't use SetMTMode() if you are using MT().

osgZach
19th November 2009, 00:45
re: HybridFuPP

http://forum.doom9.org/showthread.php?t=92061

I wonder if its still usefull sounds like a cool project for someone to pick up.

FuPP
19th November 2009, 11:06
This one seems more recent (HybridFuPP 0.991b) :) :

http://forum.doom9.org/showthread.php?p=1278707#post1278707

HybridFuPP 0.991b is compatible with SetMTMode(2,0), not with MT("...").


To be honest, I have sometimes experienced crashes using that, but did not find time to get further : my computer is overclocked, could be the reason... If someone else reports crashes, I will have a look.


Be sure to use dlls (filters) versions provided inside the package.


FuPP

PiPPoNe92
19th November 2009, 15:05
MT mode don't work yet.
I wrote:

......
LoadPlugin("Filters\MT.dll")
SetMTMode(2,0)
HybridFuPP(preset="Very High")

But didn't work.
I use last HybridFuPP (v0.991b)

Important: Now, I saw that the script didn't work with MT mode and Avisynth.dll MOD in System32.
But the script works with Original Avisynth.dll (v 2.6.0) in System32. Why??

osgZach
19th November 2009, 15:53
My guess would be the plugin is not threadsafe or something else to do with the way multithreading works.

FuPP
19th November 2009, 16:51
it works, I use it.

I think (but can't check now) that I use 'unofficial' Avisynth 2.58 MT (Set build). Can't remember about MT.dll build though. Will check that when home and will let you know.

FuPP

FuPP
19th November 2009, 22:13
My avisynth version : 2.5.8.5 Jeremy Duncan August 16 2009 (and not Set's one, as previously stated)
My MT.dll version : 0, 7, 0, 0

And once more, be sure to use filters dlls provided in the archive.

FuPP

PiPPoNe92
19th November 2009, 23:24
hello FuPP!! Your filter is great!!! "It's made for me"!! But don't work MT...Now, I'm see to avisynth 2.5.8.5 version...

FuPP
20th November 2009, 00:33
Hi, PiPPoNe92 :)

Could you please tell me what kind of error you get, and when ?

It would be then easier for me to understand your problem.

FuPP

PiPPoNe92
20th November 2009, 16:40
I see these errors:

http://i49.tinypic.com/11k8fgg.png


My FULL AVS Script used:
http://www.paste.to/v/tgvrm6wg

Gavino
20th November 2009, 18:29
Spline64Resize was only introduced at Avisynth 2.58, so does not exist in 2.57 or the 'official' MT build (based on 2.57).

PiPPoNe92
20th November 2009, 18:44
Ok, thanks. And now? How must I do?

Gavino
20th November 2009, 18:59
Either use the standard (single-threaded) Avisynth 2.58, or one of the MT builds based on 2.58 (built by set).

FuPP
20th November 2009, 19:04
Download avisynth 2.5.8 MT Set's or Jeremy Duncan's build if you want multithreading. You should find them in the avisynth development section of this forum.

You should download latest MT.dll provided there too.

FuPP