I have Windows 7 64-bit and I'm using Avisynth 2.6 MT 32-bit. For some reason I can't use any plugins on HD sources in MT mode. The encodings always crash at some point such as half way through the encoding. I can use the script below on standard definition videos fine without problems yet HD encodings crash.
Interestingly the above HD script does NOT crash in MeGUI which is a portable installation yet all I did for MeGUI was copy all the Avisynth plugins from the C Drive into MeGUI's Avisynth Plugins folder. Any thoughts on why MeGUI doesn't crash?Code:setmtmode(5,9) DGSource("E:\Video.dgi") setmtmode(2) AssumeTFF() DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true) Yadif(mode=1, order=1) Vinverse() Lanczos4Resize(1280,720)
+ Reply to Thread
Results 1 to 7 of 7
Thread: Making Avisynth NOT Crash in MT
Last edited by VideoFanatic; 23rd Jul 2014 at 04:23.
wild guess: no auto-loading of pluginsusers currently on my ignore list: deadrats, Stears555
Why would that cause a crash?
The other way around, not auto-loading plugins&co can avoid problems, because autoloading is 'stupid', if you for example got a Removegrain.dll and a RemoveGrainSSE3.dll inside your plugins folder both will get loaded and since they cover the same function calls it causes a crash.users currently on my ignore list: deadrats, Stears555
I don't have multiple versions of the same plugin in my plugins folder. The instructions for stuff like RemoveGrain for example tell you to only choose 1 version of the file to put in the plugins folder so that's what I did.
So is it just Yadif in my script that I should load manually in the script? I tried that but it made no difference, it still crashed.
Since SD with the same script works, you might be running into 32bit-MT memory issues
Try setmemorymax(768) or even 512
DGSource("E:\Video.dgi") -> adding:
LoadPlugin("..TIVTC.dll") RequestLinear(rlim=50,clim=50) #this directly behind the source loadingusers currently on my ignore list: deadrats, Stears555