View Single Post
Old 17th August 2019, 17:47   #1308  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by rjansen1 View Post
@Bernardd @Johnmeyer

I can't seem to get Bernardd's script to run multithreaded. Did a little testscript:

Code:
AviSource("Testclip.avi")

SetFilterMTMode("DEFAULT_MT_MODE", 2)

Import("C:\VideoTools\AvisynthRepository\AVSPLUS_x64\plugins\RGBAdapt_Awb_Process function.avs")

ConvertToRGB32()
AWB_Func()
converttoYV12()

Prefetch(threads=2)
Without the Prefetch line the script runs fine, with Prefetch it gives me an error on that line saying "I don't know what 'Fmt' means". I'm using Avisynth+ x64.

As far as I can tell 'Fmt' is a variable used somewhere within Bernardd's script. I've tried different ways of importing the script, even importing "RGBAdapt_Awb_Process script call.avs" since it seems to hold a bunch of variables. But so far I haven't been able to figure out how to get it to use MT.

Any tips are welcome therefore

Cheers,
Remco
it's known problem with runtime and mt (Prefetch) that didn't fixed for long time (maybe it will be ever)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote