VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. I'm not sure why, but in the last couple of weeks I've experiended more and more the situation where when using MeGUI + AVISynth, my computer crashes on jobs that last longer than a few minutes.

    I'm not even really sure what to look for. To my knowledge I'm not generating any error reports, per se - rather, the computer suddenly shuts down.

    As it were, Dell recently performed a complete repair of my PC, under warranty, after the motherboard fried. After two attempts, they finally determined their replacement motherboard a success and said the computer passes all their tests.

    Admittedly, the computer is no hotrod: it's a LATITUDE E7250 Laptop w/ Intel Core i7-5600U @ 2.6GHz w/ 8GB RAM on Windows 10 Enterprise. It has a 64-bit processor and 2 cores.

    I'm not sure what else I can tell you about the computer. I don't know where to begin in diagnosing the issue. I don't know if my scripting is awry?

    Admittedly, in order to get any of Scripts to work in MeGUI, I always have to start with Setmtmode(x) followed by <input>, otherwise I receive error messages that the script is bad. That is, for as many times as I've received script recommendations from many of you on here, generally, your example scripts don't start out as such. I wonder if I'm doing something fundamentally wrong at a basic level?

    Please let me know if there is any other information I can provide that might help in determining what's going on.

    thanks~
    Quote Quote  
  2. Does it still crash if not using multi-threading at all?
    Quote Quote  
  3. Here is the Script I'm trying to run:

    setmtmode(2)
    LoadPlugin("C:\Users\jXXXXX\Downloads\MeGUI_2624_x 86\tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("E:\ZOOTV-PAL.d2v")
    SeparateFields()
    mask = ConvertToRGB().GeneralConvolution(matrix="-1 0 -1 0 4 0 -1 0 -1").ConvertToYV12().mt_binarize(30).mt_expand().mt _inpand().GreyScale().Blur(1.0)
    blur = Spline36Resize(width/2,height).Spline36Resize(width,height)
    Overlay(last, blur, mask=mask)
    Weave()
    QTGMC(preset="fast", EZDenoise=1.0, DenoiseMC=true)
    spline36resize(768,576)
    crop(10, 0, -14, 0)


    It "runs" (and then crashes after a few minutes).

    If I remove the first line, "setmtmode(2)"

    I receive the following error message,

    AviSynth script error:
    Cache: Filter returned invalid response to
    CACHE_GETCHILD_CACHE_MODE.249170128
    Last edited by U2Joshua; 16th Jan 2017 at 23:10.
    Quote Quote  
  4. SetMtMode(5) before MPEG2Source(), then SetMtMode(2) after.
    Quote Quote  
  5. Originally Posted by jagabo View Post
    SetMtMode(5) before MPEG2Source(), then SetMtMode(2) after.
    Thanks. Tried that... same result (computer crashed)

    setmtmode(5)
    LoadPlugin("C:\Users\xxxxxxx\Downloads\MeGUI_2624_ x86\tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("E:\ZOOTV-PAL.d2v")
    setmtmode(2)
    SeparateFields()
    mask = ConvertToRGB().GeneralConvolution(matrix="-1 0 -1 0 4 0 -1 0 -1").ConvertToYV12().mt_binarize(30).mt_expand().mt _inpand().GreyScale().Blur(1.0)
    blur = Spline36Resize(width/2,height).Spline36Resize(width,height)
    Overlay(last, blur, mask=mask)
    Weave()
    QTGMC(preset="fast", EZDenoise=1.0, DenoiseMC=true)
    spline36resize(768,576)
    crop(10, 0, -14, 0)
    Quote Quote  
  6. Try using only SetMtMode(5) at the start (remove SetMtMode(2)). Try encoding a different video with the same script. Any differences?

    Run a CPU temperature monitor while you're encoding. How high do the temps get?

    http://www.alcpu.com/CoreTemp/
    Quote Quote  
  7. Member
    Join Date
    Aug 2013
    Location
    Argentina
    Search Comp PM
    Originally Posted by U2Joshua View Post
    It has a 64-bit processor and 2 cores.
    Megui and Avisynth are: x_86 / 32-bit
    Quote Quote  
  8. Originally Posted by remanyao View Post
    Originally Posted by U2Joshua View Post
    It has a 64-bit processor and 2 cores.
    Megui and Avisynth are: x_86 / 32-bit
    It doesn't matter; it uses a pipe process to feed x64 binaries




    non mt mode means single threaded . Just comment out the setmtmode commands. Check if that crashes

    Code:
    #setmtmode(5)
    LoadPlugin("C:\Users\xxxxxxx\Downloads\MeGUI_2624_ x86\tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("E:\ZOOTV-PAL.d2v")
    #setmtmode(2)
    SeparateFields()
    mask = ConvertToRGB().GeneralConvolution(matrix="-1 0 -1 0 4 0 -1 0 -1").ConvertToYV12().mt_binarize(30).mt_expand().mt_inpand().GreyScale().Blur(1.0)
    blur = Spline36Resize(width/2,height).Spline36Resize(width,height)
    Overlay(last, blur, mask=mask)
    Weave()
    QTGMC(preset="fast", EZDenoise=1.0, DenoiseMC=true)
    spline36resize(768,576)
    crop(10, 0, -14, 0)

    That error message is likely due to unstable plugins conflicting with set's avisynth mt 2.6 . Maybe one of the masktools or mvtools versions is incompatible. Clean out your plugins directory and replace them one by one checking each time
    Quote Quote  
  9. Originally Posted by poisondeathray View Post
    That error message is likely due to unstable plugins conflicting with set's avisynth mt 2.6 . Maybe one of the masktools or mvtools versions is incompatible. Clean out your plugins directory and replace them one by one checking each time
    I used to have the same problem. I never figured out which plugin(s) was causing it but it eventually went away (presumably when I replaced a plugin for another reason). When I had the problem I had to use at least "SetMtMode()" at the start of the script to get around it.
    Quote Quote  
  10. Member
    Join Date
    Jan 2017
    Location
    Canada
    Search Comp PM
    Hey!!
    I also get this similar issue starting with my 3 year old e7250. The first time the computer is powered up after that it get off for at least 8 hours it does one of two things. It suddenly without any warnings shuts down and then re-boots.

    The other thing is the USB ports will suddenly shut down. Then I have to do a forced power down with the power button.

    After this happens it runs without problems, until I power up after 8 hours of off time.

    All diagnostic scans pass.
    Check Dell Latitude E7240 Manual for other troubleshooting alternatives for crashing.
    Quote Quote  
  11. Member
    Join Date
    Sep 2013
    Location
    Europe
    Search PM
    I assume you have old avisynth installed (no longer updated). Try uninstall it and install avisynth+. Also you can find some avisynth+ mods on Doom9 made by pinterf: https://forum.doom9.org/showthread.php?p=1793892#post1793892

    Multithreading is handle automaticaly using Prefetch option. You'll also need this file: mt_modes_latest.avsi http://paste2.org/xP9k3yPz

    Otherwise you still have the possibility to use vapoursynth. Can fix lot of issue...
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!