VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi, and however I'm a cat.

    I have this .avsi for avisynth:

    Code:
    function SmoothFPS2(clip source, int num, int den) { 
    super = MSuper(source, pel=2, hpad=0, vpad=0, rfilter=4)
    backward_1 = MAnalyse(super, chroma=false, isb=true, blksize=32, searchparam=3, plevel=0, search=3, badrange=(-24))
    forward_1 = MAnalyse(super, chroma=false, isb=false, blksize=32, searchparam=3, plevel=0, search=3, badrange=(-24))
    backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=8, searchparam=1, search=3)
    forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=8, searchparam=1, search=3)
    backward_3 = MRecalculate(super, chroma=false, backward_2, blksize=4, searchparam=0, search=3)
    forward_3 = MRecalculate(super, chroma=false, forward_2, blksize=4, searchparam=0, search=3)
    MBlockFps(source, super, backward_3, forward_3, num, den, mode=0)}
    it works ok but seems a little slow. Is there a way to improove speed? thanks
    Quote Quote  
  2. Do you have idle/slack resources ? What is CPU usage ?

    You can speed it up a bit with multithreading

    e.g
    Prefetch(4) #or some number

    You can run avsmeter64 to measure script speeds, but there is interaction with encoder threads too (you should test final encoder speed)


    Or sometimes SVPFlow GPU variant might be faster on some GPU/Hardware setups , but the output is slightly different (sometimes better, sometimes worse)
    Quote Quote  
  3. With 64 bit AviSynth+, converting a 1920x1080p24 video to 60p, I get:

    prefetch(1): 47 fps
    prefetch(4): 102 fps
    prefetch(8): 158 fps

    That's output fps (60), not input fps (24). It gets a few percent faster with more threads but peaks out around 165 fps.
    Quote Quote  
  4. It's all about setting up AVISynth to use multiple threads. How to do this depends on the version of AVISynth.
    Quote Quote  
  5. Image
    [Attachment 53761 - Click to enlarge]


    I have a Intel i7-9700K CPU @ 3.60GHz - 16 GB

    GPU: NVidia GeForce GTX1060
    Last edited by marcorocchini; 11th Jun 2020 at 03:03.
    Quote Quote  
  6. Originally Posted by marcorocchini View Post
    Time to update, your avisynt+ build is 6years old
    http://avisynth.nl/index.php/Avisynthplus/Downloads
    Last edited by Mr_khyron; 11th Jun 2020 at 05:36.
    Quote Quote  
  7. ok c*t

    I have installed avisynth+ 3.6.0

    and download SVPflow 4.2.0.142

    my base-script is:

    Code:
    Import("v:\automazioneclip\avisynth\plugins\IResize.avsi")
    Import("V:\automazioneclip\AviSynth\plugins\smoothFPS2.avsi")
    Import("v:\automazioneclip\AviSynth\plugins\FrostyBorders.avsi")
    Import("v:\automazioneclip\AviSynth\plugins\CropResizedic2017.avsi")
    LoadPlugin("v:\automazioneclip\AviSynth\Lsmash64perVirtualDub64\LSMASHSource.dll")
    LoadPlugin("V:\automazioneclip\AviSynth\plugins64\ffms2.dll")
    LoadCPlugin("v:\automazioneclip\avisynth\plugins64\yadif.dll") 
    vid=FFVideoSource("V:\gopro2\GOPR4184 1080 24 fps.MP4")
    aud=FFAudioSource("V:\gopro2\GOPR4184 1080 24 fps.MP4")
    left=GetChannel(aud, 1)
    right=GetChannel(aud, 2)
    both=mergechannels(left, right)
    audiodub(vid, both)
    ConvertAudioTo16Bit()
    
    ConvertToYUY2(interlaced=false)
    
    SmoothFPS2(50000,1000) 
    
    AssumeTFF().SeparateFields().SelectEvery(4, 0, 3).Weave()
    
    AssumeFPS(25)
    where I need to replace SmoothFPS2 that do the conversion of FPS --> into a new framerate.

    What is the the new script?

    I need to insert:

    LoadPlugin("V:\automazioneclip\AviSynth\plugins64+ \svpflow1_64.dll")
    LoadPlugin("V:\automazioneclip\AviSynth\plugins64+ \svpflow2_64.dll")

    and then? consider that I have a NVidia GTX 1060 board and if possibile I would like use the GPU hardware capabilities
    Quote Quote  
  8. The SVPFlow documentation has examples.
    Quote Quote  
  9. Prefetch(4) #or some number

    if I have a i7-9700K processor, what number I need to put?
    Quote Quote  
  10. Whatever value it takes to maximize throughput.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!