1 (edited by BrimsonBhin 21-08-2018 00:22:55)

Topic: [svpflow] SVConvert sample only outputs vectors.

Hello,

I am using the SVConvert function along with MFlowFPS. Here is the script:

LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\svpflow1_64.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\svpflow2_64.dll")

FFmpegSource2("clip.mp4").ConvertToYV12

global super_params     = "{scale:{up:0},rc:true}"
global analyse_params   = "{main:{search:{coarse:{distance:-8},type:2}}}"

super = SVSuper(super_params)
vectors = SVAnalyse(super, analyse_params)
   
forward_mv = SVConvert(vectors, false)
backward_mv = SVConvert(vectors, true)
   
super_mv = MSuper(pel=2, hpad=0, vpad=0) #padding should be zero here!
MFlowFps(super_mv, backward_mv, forward_mv, num=60, den=1)

The output only displays vectors for the interpolated frames. Is this normal? SVConvert works fine with MDegrain1

https://imgur.com/a/rkXByK0

Software used

  • Avisynth+ x64 r2728

  • MvTools2 2.7.31

  • SVPflow 4.2.0.142

Re: [svpflow] SVConvert sample only outputs vectors.

You don't need these lines.

LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\svpflow1_64.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\svpflow2_64.dll")

C:\Program Files (x86)\AviSynth+\plugins64+\ is folder for plugins autoload.

What picture do you see in source video just after it is opened?

FFmpegSource2("clip.mp4").ConvertToYV12

Re: [svpflow] SVConvert sample only outputs vectors.

> The output only displays vectors for the interpolated frames.

not sure what you mean
works for me, though I didn't tested 64-bit MVTools

Re: [svpflow] SVConvert sample only outputs vectors.

Chainik wrote:

> The output only displays vectors for the interpolated frames.

not sure what you mean
works for me, though I didn't tested 64-bit MVTools

I was using 64-bit MVTools. By vectors, I mean the interpolated frames only show green artifacts.

Re: [svpflow] SVConvert sample only outputs vectors.

MAG79 wrote:

You don't need these lines.

LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\svpflow1_64.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\svpflow2_64.dll")

C:\Program Files (x86)\AviSynth+\plugins64+\ is folder for plugins autoload.

What picture do you see in source video just after it is opened?

FFmpegSource2("clip.mp4").ConvertToYV12

I see a normal picture, then green artifacts the next, then back to normal picture (1-2-1-2..)

Re: [svpflow] SVConvert sample only outputs vectors.

> I see a normal picture, then green artifacts the next, then back to normal picture (1-2-1-2..)
It is not good! Do you know? wink
It must show to you all normal pictures at every frame.

In my case x64 versions downloaded yesterday (AVS+, FFMS2, MVTools, AvsPmod) are working good with one line script and give me a crush with your script from the first post.
I'm not sure unofficial MVTools x64 works good with all cases. It needs to be tested more.