Log in

View Full Version : MT.dll usage?


BTD
28th November 2008, 16:24
Hey, I want to use MT.dll on my script.
My spec:- Core 2 Quad Q6600 2.4GHz, 4GB RAM.

I load the MT.dll plugin
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\\MT.dll")

Then I set MT Mode
SetMTMode(2,8)

And I'm using Resize, Colour Tweak, Tdeint, Srestore and Limited Sharpen.
I have got Limited Sharpen as the following:-
MT("LimitedSharpenFaster(strength=30,smode=3,ss_x=1.06,ss_y=1.06)")

However, I only get 3fps with the script. What's up with that?
It's a 25fps source. I'm ripping a DVD that I have created a d2v for. Ripping to 2CD. The codec is XviD and container AVI.

Please help.
:thanks:

steptoe
29th November 2008, 11:16
Did you copy the patched avisynth.dll to your system32 folder for MT.dll to work correctly

This patched version only works on v2.57, if a release is coming out for 2.58 we will have to wait, possibly until 2.58 is more stable as its not an official 'stable' release as yet

http://avisynth.org/mediawiki/MT
http://avisynth.org/mediawiki/MT#modified_avisynth_MT_2.5.7.5

Also as a sidenote, if you have a lot of filters that you want to try MT on, instead of calling it for each filter you can use MT on a block of script

EG

MT("""
filter1
filter2
functions1
filter3
""")

Saves time and repeating yourself, but only if those functions or filters can run with MT in its default modes

Its all explained in the wiki and in a lot more detail


I also found if you are using HCEnc, forcing it to run only one instance of the encoder with the NOSMP switch lets it run faster as it doesn't hog 100% of your resources, unless you don't intend to use your computer for anything else while encoding in which case let it grab as much as it can ... which it will

That should speed things up as I've used MT on LSF with some speed up, bear in mind its very slow anyway you might see it double in speed maybe more


Have a look at this as well, its a rewrite of LSF that does basically the same thing but in a different way and may get you better performance, I haven't tried it myself yet but its work in progress where lSF I believe has reached its goal so isn't being worked on anymore

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