26

(3 replies, posted in Using SVP)

Hi

I'd like to change the Num generator based on the width of the video, how can i make this script work?

Width <= 1200 ? Eval("""
S = V.SVSuper("{rc:false,gpu:1, scale:{up:2, down:2}}")
A = S.SVAnalyse("{main:{coarse:{distance:-1, bad:{SAD:20}}},penalty:{pzero:1,pnbour:1000}}, refine:[{thsad:20}]}")
V.SVSmoothFps(S, A, "{rate:{num:50000,den:1001,abs:true},algo:21, mask:{area:30,cover:100,area_sharp:1.0},scene:{blend:false,mode:0,limits:{blocks:100}}}", url=URL, mt=100)
GetMTMode(false) > 0 ? distributor()
"""): last
Width > 1200 ? Eval("""
S = V.SVSuper("{rc:false,gpu:1, scale:{up:2, down:2}}")
A = S.SVAnalyse("{main:{coarse:{distance:-1, bad:{SAD:20}}},penalty:{pzero:1,pnbour:1000}}, refine:[{thsad:20}]}")
V.SVSmoothFps(S, A, "{rate:{num:60000,den:1001,abs:true},algo:21, mask:{area:30,cover:100,area_sharp:1.0},scene:{blend:false,mode:0,limits:{blocks:100}}}", url=URL, mt=100)
GetMTMode(false) > 0 ? distributor()
"""): last

I added V = V.Width, and i get an error saying there is ":" missing, so i change ": last" and i put after "distributor()" ... but nothing seems to work.


Thanks

27

(3 replies, posted in Using SVP)

Chainik

Wow, Thank you very much Chainik and Mag79

S = thisclip.SVSuper .. it really works.

28

(3 replies, posted in Using SVP)

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.

29

(4 replies, posted in Using SVP)

Just to give an example;

http://i.imgur.com/yNu7w5z.jpg

See how the left hand of the man on the floor it's totally out of shape/detail... its all blurry. Is there a way to fix it?

30

(4 replies, posted in Using SVP)

thank you, Chainik.

31

(4 replies, posted in Using SVP)

Hi,

I've been using svp for a long time, by far the best motion interpolation that i know.

I'd like to know if there is any script, using svp or avisynth that can help to mask those fast scenes where everything gets blurry and the image loses all the details.

I'm using an avisynth script with SVP code ( SVSmoothFps )

mask:{area:10,cover:100,area_sharp:2}

It really helps but i think it's not enought yet.

Thanks anyway.

Chainik

Thanks, Chainik.

It's working but only when i add this code to avisynth in ffdshow

ConvertToYV12().MSU_FRC(6,"fast")


I click on Avisynth and it start working.

But when i close the video and open another one, the script in the avisynth box it's not select.

Could you write a path so the ffdshow can load the avs script in the start of each video? So i don't need to check the box every time i open it.

Thanks+1, and sorry for bother you.

http://i.imgur.com/5eUrKIh.jpg

Like This?

Cuz it's not working.

MAG79
super=SVSuper("{gpu:1}")
vectors=SVAnalyse(super, "{}")
SVSmoothFps(super, vectors, "{rate:{num:4}}", url="www.svp-team.com")


Sorry to bump up the thread...

I just would like to know how can i add this line to SVPflow?

Because it's very exausting convert every video that you wanna watch on slow motion, it takes hours, it would be better just use SVP.

Thanks.