Log in

View Full Version : plugin trouble


POed
3rd June 2012, 13:57
Hi
Using MPC-HC.
I am trying InterFrame AviSynth plugin.
I put this into ffdshow filter > AviSynth
InterFrame(FlowPath="D:\Program Files\AviSynth 2.5\plugins\")
When I play video MPC-HC says script error: there is no function named InterFrame

I followed the instructions carefully installing the plugin I dont know why I dont work.
I tried using a different plugin and the same thing happens.

Can you help?

Reel.Deel
3rd June 2012, 14:46
It sounds like you're still using Interframe 1.xx. I'd suggest updating to the latest Interframe package here (http://forum.doom9.org/showthread.php?t=160226).

Also, are you trying to use Interframe for real time playback? If so, it's not really meant for that. If you want real time you have to get SVP (http://www.svp-team.com/wiki/Main_Page).

POed
3rd June 2012, 14:55
Yes 1.12.3 I will download newest.

I tried SVP it dont work well for me.

POed
3rd June 2012, 15:13
I see no info on how to install InterFrame2, do I just dump it into plugins?

Now I get script error: there is no function named InterFrame2

So that means ffdshow filter cant find InterFrame2

Reel.Deel
3rd June 2012, 15:29
Yeah you can just put the plugins and the script inside the Avisynth plugins folder.

So what are you trying to do? Real time or encoding?

POed
3rd June 2012, 15:41
Well I cant "do" anything until ffdshow filter can find the plugin.
First I have to get ffdshow filter to find InterFrame2.
That is the focus of this thread.

How to I do that??

Reel.Deel
3rd June 2012, 16:01
Ok well I only use Interframe for encoding, so I dont know much about playback in FFDShow.

Try this.

SetMemoryMax(512)

#Load Plugins

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\svpflow2.dll")

#Load Script

Import("C:\Program Files\AviSynth 2.5\plugins\InterFrame2.avsi")

# Frame Interpolation

InterFrame(GPU=False, Preset="Medium", Tuning="Film", NewNum=60000, NewDen=1001, Cores=4)

Sorry if this does not work. Maybe someone else can help you.

POed
3rd June 2012, 19:06
That was very helpful thanks.
:thanks:
Now could you please write me a little script that only gives Setmemorymax(1024) and lets me use 4 cores??
:script:

Reel.Deel
3rd June 2012, 19:49
If you want to use setmemorymax 1024 all you have to do is delete 512 and type in 1024. Is best if you tune the memory yourself.

For multi threading, I don't know what Avisynth version you're using. I'm using SET's latest version (http://forum.doom9.org/showthread.php?t=148782).
The Interframe function has the "cores=X" argument on it, and it was already set to 4.
SetMemoryMax(1024) # Tweak this to get the best performance.

# Multi Threading

SetMTMode(2,4) # Only if you have the MT version of Avisynth.

#Load Plugins

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\svpflow2.dll")

#Load Script

Import("C:\Program Files\AviSynth 2.5\plugins\InterFrame2.avsi")

# Frame Interpolation

InterFrame(GPU=False, Preset="Medium", Tuning="Film", NewNum=60000, NewDen=1001, Cores=4)


PS I'm fairly new to Avisynth so take my advice with a grain of salt. :)

POed
3rd June 2012, 20:01
Ok thanks.
Dont worry by the time I finish asking you questions youll be a pro.
:helpful: