Topic: Using SVP 4 Dlls with custom script

Hi,

I use my own custom variation of InterFrame scripts with SVP 3.1 currently and would love to move to SVP 4 if there are any quality improvements?

I tried using the two svpflow1.dll and svpflow2.dll files from SVP 4 Free but my existing script fails with the error below.

"Script error: SVSmoothFps does not have a named argument 'url'"

Is this possible with SVP 4 Free, or with SVP 4 paid or is there a different set of arguments to SVSmoothFps?

Cheers,
Mark

Re: Using SVP 4 Dlls with custom script

right now there're no reasons to move from "3.1" dlls to "4.0" dlls, there're identical in terms of FRC engine

Re: Using SVP 4 Dlls with custom script

SVP3:

function interpolate(clip src)
{
    input = crop_params=="" ? src : eval("src.crop("+crop_params+")")
    input = resize_string=="" ? input : eval("input."+resize_string)

    super=SVSuper(input, super_params)
    vectors=SVAnalyse(super, analyse_params, src=input)
    smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")

    return demo_mode==0 ? smooth : demo(input,smooth)
}


SVP4:

function interpolate(clip src)
{
    input = crop_string=="" ? src : eval("src."+crop_string)
    input = resize_string=="" ? input : eval("input."+resize_string)

    super=SVSuper(input, super_params)
    vectors=SVAnalyse(super, analyse_params, src=input)
    smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)

    return demo_mode==0 ? smooth : demo(input,smooth)
}


In SVP4, SVSmoothFPS() has parameter "src=src". But is it correct ?
I don't know why SVSmoothFPS() needs "src" clip that's before cropping and resizing.

Re: Using SVP 4 Dlls with custom script

tac
why SVSmoothFPS() needs "src" clip that's before cropping and resizing.
To make autocrop function work correctly when video has black bars with different sizes. It needed only for real-time playback with SVP. See black bars detection option in SVP4 PRO.

Re: Using SVP 4 Dlls with custom script

Oh,right.Thanks so much.