View Full Version : Motion x64 and MotionProtectedFPS, can you help me use it?
Gargalash
8th December 2010, 17:04
Hi!
I have discovered a 64 bit version of Motion here (http://members.optusnet.com.au/squid_80/).
I had never heard of that plugin before. I am happy to discover what it does (in team with MotionProtectedFPS, I think...), but I am unable to use it. There is not usage file and nothing in the wiki.
I have loaded the 64bit Motion.dll in my script and I have tried something in the dark: Motion(), nothing. I discovered that I had Motion.dll 32bit in my plugins along with MotionProtectedFPS.avs. So I imported that avs in my script and called:
MotionProtectedFPS(FPS=50)
This time I got: "Invalid arguments to function "MotionProtectedFPS". I tried putting all parameters with their default value:
MotionProtectedFPS(clip=last, FPS=50, mode="warpfast", protection=80, iterate=2, reset=50, initialise=6)
and I got the same error.
I am quite lost here! Any additional information will be happily welcomed! Thanks!
Didée
8th December 2010, 17:58
Are you aware of the motion() thread (http://forum.doom9.org/showthread.php?t=101859) ...?
And BTW, the first 'clip' argument of a filter usually is unnamed, hence
MotionProtectedFPS(last, FPS=50, mode="warpfast", protection=80, iterate=2, reset=50, initialise=6)
Gavino
8th December 2010, 18:56
And BTW, the first 'clip' argument of a filter usually is unnamed, hence
MotionProtectedFPS(last, FPS=50, mode="warpfast", protection=80, iterate=2, reset=50, initialise=6)
MotionProtectedFPS is a script function, not a plugin function.
The clip argument is called 'input'.
A peculiarity is that 'mode' is an int, not a string, so it should be
MotionProtectedFPS(last, FPS=50, mode=warpfast, protection=80, iterate=2, reset=50, initialise=6)
ie no quotes on warpfast, which is actually a function returning an int (confusing interface, IMHO).
Gargalash
8th December 2010, 20:28
Are you aware of the motion() thread (http://forum.doom9.org/showthread.php?t=101859) ...?
I wasn't, thanks! I did a search, but you imagine the kind of results searching for "Motion" brings. I will go in there and read.
Gavino:
I have tried this line
MotionProtectedFPS(last, FPS=50, mode=warpfast, protection=80, iterate=2, reset=50, initialise=6)
and I still get the same error.
I will describe what I use to be more clear:
This is my script:
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\motion.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins64\MotionProtectedFPS.avs")
AVISource("C:\blabla.avi")
MotionProtectedFPS(last, FPS=50, mode=warpfast, protection=80, iterate=2, reset=50, initialise=6)
And I open it in vdub x64. Then the error.
I will look for a "better" version of that .avs in the thread.
Thanks for helping!
Edit: Actually, what would you use to double the frame rate of a SD video? I might be trying to use something deprecated...
Edit again: I read in the Motion thread that it is most probably surpassed by MVFlowFPS.
Another edit: restarting from scratch helped me get further, MotionProtectedFPS.avs seems runs with the x64 plugin, but I am now working on the "There is no function named "fity2uv" error. I actually get the same error in the 32bit world.
Thanks
Gavino
8th December 2010, 20:58
I have tried this line
MotionProtectedFPS(last, FPS=50, mode=warpfast, protection=80, iterate=2, reset=50, initialise=6)
and I still get the same error.
I should have spotted this earlier - FPS is a mandatory parameter, so cannot be named. So use
MotionProtectedFPS(last, 50, mode=warpfast, protection=80, iterate=2, reset=50, initialise=6)
#or simply:
MotionProtectedFPS(50)
Edit: Actually, what would you use to double the frame rate of a SD video? I might be trying to use something deprecated...
If you're happy with just repeating frames, you can use ChangeFPS.
Or for interpolation with motion vectors, you can use MVFlowFPS.
Gargalash
8th December 2010, 21:45
Thanks Gavino!
Yeah, simply using MotionProtectedFPS(50) got me further.
I now have discovered that "fity2uv" is part of the masktools.
Still in my 64 bit world, I have loaded mt_masktools-26-x64.dll first then tried mt_masktools-25-x64.dll and I still get "no function named fitv2uv...". Any ideas?
Down to 32 bit, I managed to make it work only by loading MaskTools.dll. fitv2uv is not seen in mt_masktool_25.dll or mt_masktool_26.dll.
I don't have the documentation for this function and the links are broken, does anyone happend to have it?
I just had fun raising the fps to 2000 and observing what happens during a scene change, that's pretty fascinating!
Thanks!
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.