Topic: how to use svpflow in ffdshow to just change frame rate?

How do i use svpflow plugin in ffdshow to just change frame rate? Like if i want to have a video play at 24 fps? How do i set the parameters like below for that?

SVSmoothFps(                  )

I couldn't find an example for that anywhere.

Re: how to use svpflow in ffdshow to just change frame rate?

https://www.svp-team.com/wiki/Manual:SVPflow

Re: how to use svpflow in ffdshow to just change frame rate?

Yes i went there before but it doesn't specifically mention just for framerate.

Can you provide an example for just a target of 24 fps?

Re: how to use svpflow in ffdshow to just change frame rate?

So i have this part:

SVSmoothFps( "{rate:{num:60,den:1,abs:true}")

This is supposed to be for 60 fps? But the parameter is incorrectly set, can someone correct this? Also, can this be set for 24 fps?

Re: how to use svpflow in ffdshow to just change frame rate?

SVSmoothFps( "{rate:{num:24,den:1,abs:true}}")
?

Re: how to use svpflow in ffdshow to just change frame rate?

ffdshow_source()
LoadPlugin("svpflow1.dll")
LoadPlugin("svpflow2.dll")
ConvertToYV12()
SVSmoothFps( "{rate:{num:60,den:1,abs:true}}")

Would this work?

But the last line is invalid, can you help correct it?

Re: how to use svpflow in ffdshow to just change frame rate?

I would appreciate if somebody could show me how to correct it.

Re: how to use svpflow in ffdshow to just change frame rate?

https://www.svp-team.com/wiki/Manual:SV … nth_script

Re: how to use svpflow in ffdshow to just change frame rate?

Hi, Milardo. I am also stuck with how to simply change the rate from default 2 to 3... 

The example given in the Wiki manual works fine to double frames:


SetMemoryMax(1024)
   LoadPlugin("svpflow1.dll")
   LoadPlugin("svpflow2.dll")
   
   threads=9
   SetMTMode(3,threads)
   # Some input here
   SetMTMode(2)
   ConvertToYV12()
   
   # All parameters set to defaults which means high quality frame doubling
   super=SVSuper("{gpu:1}")
   vectors=SVAnalyse(super, "{}")
   SVSmoothFps(super, vectors, "{}", mt=threads)



But how do I get it to triple frames instead of doubling? I have tried many syntaxes, with no result...
Have you finally found out?

Re: how to use svpflow in ffdshow to just change frame rate?

> I have tried many syntaxes, with no result...

three posts above...

Re: how to use svpflow in ffdshow to just change frame rate?

Chainik wrote:

> I have tried many syntaxes, with no result...

three posts above...


Thank you very much, Chainik. I have finally understood how to write the script, and it works fine. In fact, I am impressed with the quality of SVPflow. I was using After Effects for this purpose, but SVPflow appears to be slightly better in overall quality, faster, and so much easier to use !

May I suggest  that the basic sample given in the Avisynth SVCflow page at     http://avisynth.nl/index.php/SVPflow#Ba … nth_script       be improved by putting an example of rate change? (see the two last lines). Then people will understand immediately how to set the parameters!


Samples

Basic Avisynth script

SetMemoryMax(1024)
   LoadPlugin("svpflow1.dll")
   LoadPlugin("svpflow2.dll")
   
   threads=9
   SetMTMode(3,threads)
   # Some input here
   SetMTMode(2)
   ConvertToYV12()
   
   # All parameters set to defaults which means high quality frame doubling
   super=SVSuper("{gpu:1}")
   vectors=SVAnalyse(super, "{}")
   SVSmoothFps(super, vectors, "{}", mt=threads)
 
# Change the last line for rate change as indicated below for x3 instead of default x2
# SVSmoothFps(super, vectors, "{ rate:{num:3, den:1, algo:21 }}", mt=threads)


Еще раз спасибо и наилучшие пожелания из Франции.