1 (edited by pezgui 15-08-2013 06:01:33)

Topic: MFlowFps and SVSmoothFps

HI

I'd like to use this script

LoadPlugin("C:\\Program Files (x86)\\SVP\\plugins\\svpflow1.dll")
LoadPlugin("C:\\Program Files (x86)\\SVP\\plugins\\svpflow2.dll")
LoadPlugin("C:\\Program Files (x86)\\SVP\\plugins\\mvtools2.dll")
source=AVISource("E:\bbb.avi").KillAudio().assumetff()
final=ApplyInterlacedFilter(source,"SlowMo").assumefps(29.97,false)
return final
function ApplyInterlacedFilter(clip v1, string filter)
{
v2 = separatefields(v1)
selecteven(v2)
even = Eval(filter)
selectodd(v2)
odd = Eval(filter)
interleave(even,odd)
return weave()
}
function SlowMo(clip thisclip)
{
super = MSuper(thisclip,pel=2)
backward_vectors = MAnalyse(super,blksize=8, isb = true, search=3)
forward_vectors = MAnalyse(super,blksize=8, isb = false, search=3)
# 60000 produces 50% slow motion, 120000 produces 25% slow motion, etc.
MFlowFps(thisclip,super,backward_vectors, forward_vectors, num=600000, den=1001, ml=100)
}


But i'd like to change the MflowsFps for the SVSmoothFPS, which is far better.


S = V.SVSuper("{rc:false,gpu:1, scale:{up:2, down:2}}")
P = S.SVAnalyse("{main:{search:{coarse:{distance:-100, bad:{SAD:2000}}}, refine:[{thsad:250}]}")
V.SVSmoothFps(S, P, "{rate:{num:50000, den:1001, abs:true}, algo:21, cubic:1, mask:{cover:50, area:100, area_sharp:1},scene:{mode:0, blend:false, limits:{blocks:50}}}", url=URL, mt=100)
GetMTMode(false) > 0 ? distributor() : last


If i Remove the V from V.SVS i get this error > svp_flow_lib must be declared.
but if i put the V back i get this error > i don't now what V means.


Thanks.

Re: MFlowFps and SVSmoothFps

pezgui
I don't know what V means too wink
Please show whole avisynth script text. It is only part of it.

Re: MFlowFps and SVSmoothFps

function SlowMo(clip thisclip)
{
S = thisclip.SVSuper("{rc:false,gpu:1, scale:{up:2, down:2}}")
...
}

Re: MFlowFps and SVSmoothFps

Chainik

Wow, Thank you very much Chainik and Mag79

S = thisclip.SVSuper .. it really works.