This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Hybrid works only on 50% performance.
#9
(24.03.2018, 12:49)Selur Wrote: Just noticed, there is a newer version of the Interframe script available then the on currently used in Hybrid,... maybe that changes stuff,...
-> nope (if you want you can replace the InterFrame2.avsi with the one from http://www.spirton.com/interframe/)

Going back to Avisynth and Hybrid.
I noticed something.

In doc about InterFrame those are example values:


Quote:Cores=4
SetMemoryMax(512)
SetMTMode(3, Cores)
LoadPlugin("svpflow1.dll")
LoadPlugin("svpflow2.dll")
Import("InterFrame2.avsi")
dss2("video.mkv", fps=23.976).ConvertToYV12()
SetMTMode(2)
InterFrame(Cores=Cores)


There are 2 SetMTMode functions.

Here is what Hybrid does:


Quote:SetMemoryMax(1536)
SetMTMode(5,4) # changing MT mode
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\svpflow1.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\svpflow2.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\InterFrame2.avsi")
# loading source: C:\Users\Perkel\Desktop\videoplayback.mp4
# input luminance scale tv
FFVideoSource("C:\Users\Perkel\Desktop\VIDEOP~1.MP4")
# current resolution: 3840x2160
SetMTMode(2) # changing MT mode
InterFrame(GPU=true,Preset="Faster",NewNum=60,NewDen=1,OverrideAlgo=23,Cores=8)
# filtering
return last


In doc about SetMTMode:
Quote:there are 6 modes:
  • Mode 1 is the fastest but only works with a few filter
  • Mode 2 should work with most filters but uses more memory
  • Mode 3 should work with some of the filters that don't work with mode 2 but is slower
  • Mode 4 is a combination of mode 2 and 3 and should work with even more filter but is both slower and uses more memory
  • Mode 5 is slowest (slower than not using SetMTMode) but should work with all filters that don't require linear frameserving (that is, the frames come in order (frame 0,1,2 ... last)).
  • Mode 6 is a modified mode 5 that might be slightly faster


Maybe this is the issue ? 5 by doc is the slowest. Though i am shooting blind here.
Reply


Messages In This Thread
RE: Hybrid works only on 50% performance. - by perkel666 - 24.03.2018, 13:19

Forum Jump:


Users browsing this thread: 1 Guest(s)