VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. 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.

    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)
    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?
    Last edited by VideoFanatic; 23rd Jul 2014 at 05:23.
    Quote Quote  
  2. wild guess: no auto-loading of plugins
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Why would that cause a crash?
    Quote Quote  
  4. 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
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    Since SD with the same script works, you might be running into 32bit-MT memory issues

    Try setmemorymax(768) or even 512
    Quote Quote  
  7. DGSource("E:\Video.dgi") -> adding:
    Code:
    LoadPlugin("..TIVTC.dll")
    RequestLinear(rlim=50,clim=50) #this directly behind the source loading
    might also help, but SetMemoryMax(768) is also a good idea.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote