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.

[HELP] Avisynth script in Hybrid
#4
As a side note:
To me to makes no sense to me to load this script in Hybrid since:
a. audio handling in Hybrid is probably better
b. the script without the audio can be generated through Hybrid

Quote:Sorry but i'm total beginner
Are you sure you want to use Hybrid then?
It's not intended for total beginners.
Other tools which might be easier to use that support Avisynth are MeGui and StaxRip.
There are quite a few more guides&co out there for those, so I would recommend to not use Hybrid but one of those two instead to getting started.

Quote:what do you mean by explicitly load the plugins?
On how to load plugins read: http://avisynth.nl/index.php/Plugins

You might also want to read: http://avisynth.nl/index.php/Getting_started

In your script you use:
1. through ffms2: FFMS2.avsi which calls FFVideoSource, FFAudioSource which are part of ffms2.dll
2. for QTGMC(preset="placebo", EdiThreads=6) you need tons of filters and a few scripts.
your script should probably look like this:
# clear automatically loaded scripts&filters to avoid conflicts
ClearAutoloadDirs()
# set default MT mode
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)

# load plugins (paths need to be adjusted to your system and whether 32bit or 64bit Avisynth is used!)
LoadCPlugin("I:\Hybrid\32bit\avisynthPlugins\ffms2.dll") # needed by FFMS2, it provides FFVideoSource and FFAudioSource which are used in FFMS2.avsi what offers ffms2(...)
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\RgTools.dll") # needed for QTGMC with preset placebo
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\masktools2.dll") # needed for QTGMC with preset placebo
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\mvtools2.dll") # needed for QTGMC with preset placebo
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\neo-fft3d.dll") # needed for QTGMC with preset placebo
LoadPlugin("I:\Hybrid\32bit\v\nnedi3.dll") # needed for QTGMC with preset placebo

# load scripts  (paths need to be adjusted to your system and whether 32bit or 64bit Avisynth is used!)
Import("I:\Hybrid\32bit\avisynthPlugins\FFMS2.avsi") # needed to call ffms2(...)
Import("I:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi") # needed to call QTGMC
Import("I:\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi") # needed for QTGMC

# load the source
ffms2("U:\Media a traiter\DVinput.avi", atrack=1)
# force a specifc scan order
AssumeBFF()
# force a specific MT mode for QTGMC
SetFilterMTMode ("QTGMC",4)
# force specific QTGMC options
QTGMC(preset="placebo", EdiThreads=6)
# configure MT threads
Prefetch(10)
# return result of script
return last
Also make sure to configure Hybrid (Config->Internals->Avisynth) to either 32bit or 64bit depending whether your script uses 32bit or 64bit Avisynth and to use Avisynth ("Filtering->Support" needs to be set to 'Avisynth').


Cu Selur
Reply


Messages In This Thread
Avisynth script in Hybrid - by chrisbati - 11.04.2021, 16:58
RE: Avisynth script in Hybrid - by Selur - 11.04.2021, 17:48
RE: Avisynth script in Hybrid - by chrisbati - 11.04.2021, 20:33
RE: Avisynth script in Hybrid - by Selur - 11.04.2021, 20:56
RE: Avisynth script in Hybrid - by chrisbati - 12.04.2021, 07:06
RE: Avisynth script in Hybrid - by Selur - 12.04.2021, 07:12
RE: Avisynth script in Hybrid - by chrisbati - 12.04.2021, 19:38
RE: Avisynth script in Hybrid - by Selur - 12.04.2021, 19:47
RE: Avisynth script in Hybrid - by chrisbati - 13.04.2021, 09:10
RE: Avisynth script in Hybrid - by Selur - 13.04.2021, 17:17

Forum Jump:


Users browsing this thread: 4 Guest(s)