Log in

View Full Version : Error: No function called "mt_motion"


Starduster
3rd March 2016, 18:01
I'm having trouble using mt_motion. I'm using 2.6.0 and the latest MaskTool2.dll in the plugins directory. I've tried:

source = DirectShowSource("highlight.mp4")
1. source = source.mt_motion(thT=35)
2. source = mt_motion(thT=35)
3. source = mt_motion(source,thT=35)

No luck with the three types. What am I doing wrong?

StainlessS
3rd March 2016, 19:02
I think you are looking for MvTools (not MaskTools, and no idea what 'mt_motion' is intended to be).
Also, DirectShowSource probably not a good idea as you may need a frame accurate source filter.

http://avisynth.org.ru/mvtools/mvtools.html

EDIT: And on Wiki:- http://avisynth.nl/index.php/MVTools

EDIT: There is a Motion filter by mg262: http://forum.doom9.org/showthread.php?t=101859

Plugin here: http://wilbertdijkhof.com/mg262/Motion_v10.zip

AVIL
3rd March 2016, 22:12
Hi,

This function exists in the plugin Masktools2:

http://avisynth.nl/index.php/MaskTools2/Mt_motion

Perhaps you are using 2.5 version. Anyway the right version could be downloaded here:

http://avisynth.nl/index.php/MaskTools2

Format 1 an 3 of your script seems correct to me. Form 2 needs a "last" clip that could not be present.

Good Luck.

StainlessS
3rd March 2016, 23:28
Oops, dont remember seeing that one before, sorry :(

Are you using latest v2.6 Final ? (older v2.6 cannot see v2.6 plugins with AVISYNTH_INTERFACE_VERSION = 6, header)

EDIT: Error: No function called "mt_motion"

Actually it is other way around, v2.6 Final cannot see old v2.6 plugins, if as line in BLUE above, will cause crash.

So looks like AVIL above is correct, you are using Avisynth v2.58 as they cannot see v2.6 plugins either.

StainlessS
4th March 2016, 02:20
Further to above, it is possible that you have both 2.58 (or OLD v2.6) AND currrent v2.6 plugs in you plugins directory,
I think it depends upon load order (alphabetical order of name [or whatever]) which one is loaded LAST.

Check plugs for multiple versions.

EDIT: I can also recommend this tool by an up-and-coming young member of the forum: http://forum.doom9.org/showthread.php?t=170647

EDIT: So, having been awake for in excess of 26 hours (and with about 6 beers recently 'out of the way') I bow out now,
I got work to do, (it can't always be fun-and-games).

Starduster
4th March 2016, 16:48
That was the page I downloaded from. However, since I was on a 64 bit computer, I downloaded the masktools2-x64 version. I downloaded the x86 version and it works!... It won't play my .mp4 video but that's another story! StainlessS, the info tool looks very interesting. Thanks for passing it along. Now if you could just pass me a Director's Bitter, it would be a perfect day! ;-)

StainlessS
4th March 2016, 18:29
Directors is OK, but try a Fullers ESB in proper wine goblet style glass, truly what heaven must be like. :)