CrendKing / avisynth_filter

DirectShow filters that put AviSynth and VapourSynth into video playing
MIT License
107 stars 8 forks source link

Not working with custom svp avisynth script #18

Closed Usulyre closed 3 years ago

Usulyre commented 3 years ago

Not working with custom svp avisynth script. Opens capture card, but black screen, no video, no statistics. Using mpc-hc latest version, using latest version of avisynth filter.

Not working on 3 different pc, with nvidia cards, an older version of avisynth filter works, when the 32 bit and 64 bit versions were separate downloads.

filter registerd via mpc-hc.

Please let me know what other info is needed, thanks in advance.

CrendKing commented 3 years ago

Please let me know what other info is needed, thanks in advance.

There is a issue template when you create. Please follow the guideline. If you can't fill every piece, the more the better.

For example, can you share the "custom script"? Any error screenshot or log file? I asked them in the template too.

Usulyre commented 3 years ago

Sorry about that, I didn't see that template. Where is the template now ?

How do I get a logfile?

No errors present.

# This script was generated by SmoothVideo Project (SVP) Manager.
# Check http://www.svp-team.com for more details.
SetMemoryMax(6000)
global threads=4

AvsFilterSource()
LoadPlugin("C:\smoothmotion\FDecimate2.dll")

LoadPlugin("C:\smoothmotion\svpflow1.dll")
LoadPlugin("C:\smoothmotion\svpflow2.dll")
ConvertToYV12()

FDecimate2(24)
SetFilterMTMode("DEFAULT_MT_MODE",2)
global crop_params=""
global resize_string=""
global super_params     = "{pel:1,gpu:1}"
global analyse_params   = "{gpu:1,vectors:3,main:{search:{coarse:{distance:-8,bad:{sad:2000,range:24}},type:4}},refine:[{thsad:250}]}"
global smoothfps_params = "{rate:{num:144,den:1,abs:true},algo:23,scene:{mode:0,blend:true}}"
global demo_mode=0
stereo_type=0
stereo_left_selection=""
stereo_right_selection=""
########## BEGIN OF MSMoothFps.avs ##########
# This file is a part of SmoothVideo Project (SVP) 3.1
# This is NOT the full AVS script, all used variables are defined via 
# JavaScript code that generates the full script text.
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)
}
input=last
    stereo_type==0 ? eval(""" interpolate(input)
""") :  stereo_type==1 || stereo_type==3 ? eval("""
        lf = interpolate(input.crop(0,0,input.width/2,0))"""+stereo_left_selection+"""
        rf = interpolate(input.crop(input.width/2,0,0,0))"""+stereo_right_selection+"""
        StackHorizontal(lf, rf)
""") :  stereo_type==2 || stereo_type==4  ? Eval("""
        lf = interpolate(input.crop(0,0,0,input.height/2))"""+stereo_left_selection+"""
        rf = interpolate(input.crop(0,input.height/2,0,0))"""+stereo_right_selection+"""
        StackVertical(lf, rf)""") : input
########### END OF MSMoothFps.avs ###########
Prefetch(4)
CrendKing commented 3 years ago

Where is the template now ?

You can see the template when you first create the issue. Don't worry about it for now.

How do I get a logfile?

https://github.com/CrendKing/avisynth_filter/wiki/How-to-enable-logging

Githubissues.
  • Githubissues is a development platform for aggregating issues.