VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Hello guys!

    I would like to know if there's a way to use the 64bit plugins from avisynth inside vapoursynth script with the Eval function.

    I know that it is possible to directly open 64bit avisynth plugins in vapoursynth using the LoadPlugin function, but, problems usually occur with deinterlace filters using this method, problems that don't happen using Eval.


    Attached image with error when I tried to use the TFM() filter
    Image Attached Thumbnails Click image for larger version

Name:	VS Problem.PNG
Views:	63
Size:	12.5 KB
ID:	48125  

    Last edited by danfgtn; 23rd Feb 2019 at 11:28.
    Quote Quote  
  2. If you have those DLL's in Avisynth plugin folder , it does not have to be included in actual script. That does not work with avsw.Eval?
    Quote Quote  
  3. for example this would work:
    Code:
    file = r'C:/files/DV.avi'
    import vapoursynth as vs
    clip = vs.core.avisource.AVISource(file)
    clip = vs.core.avsw.Eval(
        'AssumeBFF()'                                              
        'QTGMC(Preset="slow")'                                             
        'LanczosResize(640,480)',  #just make sure there is comma after last line of your avisynth script but not any above
        clips=[clip], clip_names=["last"])
    clip.set_output()
    where DLL's are in Avisynth plugin folder
    Quote Quote  
  4. Originally Posted by _Al_ View Post
    If you have those DLL's in Avisynth plugin folder , it does not have to be included in actual script. That does not work with avsw.Eval?

    I think there's some misunderstanding, the Eval function works, but it uses the 32bits plugins from avisynth and I want to use the 64bits plugins, loading the plugin directly into the vapoursynth script gets very slow and returns the error of the attached image in the first post.

    Example:

    It works fine
    Code:
    import vapoursynth as vs
    
    core = vs.get_core()
    
    
    src = core.d2v.Source(r"D:\Title2.d2v")
    
    deinter = core.avsw.Eval('AssumeTFF() TFM(mode=6, PP=0, chroma=false) TDecimate(mode=1, hybrid=0) ', clips=[src], clip_names=["last"])
    
    deinter.set_output()

    It works very slow and returns the error mentioned above
    Code:
    import vapoursynth as vs
    
    core = vs.get_core()
    
    core.avs.LoadPlugin(path=r"C:\Program Files (x86)\AviSynth+\plugins64+\TIVTC.dll")
    
    src = core.d2v.Source(r"D:\Title2.d2v")
    
    tfm = core.avs.TFM(src)
    
    tfm.set_output()
    Last edited by danfgtn; 23rd Feb 2019 at 11:41.
    Quote Quote  



Similar Threads

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