Log in

View Full Version : megui and frame interpolation, crashes megui


ramicio
11th June 2010, 18:06
i'm trying to use frame interpolation in an avisynth script. the avs works everywhere else but megui. if i use virtualdub to make a short, uncompressed avi and serve that to megui it works. i don't have the sapce to encode a whole tv show or movie to uncompressed 720p48. when it crashes it is saying that a random avisynth dll is unloading.

here is my avs script:

directshowsource("6-12 - scott's tots.mkv",audio=false)
super=MSuper(pel=1, hpad=0, vpad=0)
backward_1=MAnalyse(super, chroma=false, isb=true, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, chroma=false, isb=false, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=8, blksizev=8, searchparam=0, search=3)
forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=8, blksizev=8, searchparam=0, search=3)
MBlockFps(super, backward_2, forward_2, num=FramerateNumerator(last)*2, den=FramerateDenominator(last)*1, mode=0)

and here is the crash report (the dll will be between a few different ones):

Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 0.3.4.0
Application Timestamp: 4b81ba0a
Fault Module Name: StackHash_2264
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 06deb5ed
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 2264
Additional Information 2: 2264db07e74365624c50317d7b856ae9
Additional Information 3: 875f
Additional Information 4: 875fa2ef9d2bdca96466e8af55d1ae6e

foxyshadis
11th June 2010, 21:47
Can you test it with FFMS2 instead of DirectShowSource? DS filters are notorious for mystery crashes when you seek around. MeGUI could be doing that, or the script itself.

ramicio
22nd June 2010, 00:39
i can't even get avisnyth to recognize ffmpegsource as a command...

foxyshadis
22nd June 2010, 01:35
ffmpegsource isn't a command. ffvideosource and ffaudiosource are, but first you have to place the ffms2 plugin in your avisynth plugins folder (ffmpegsource is then activated if you have the helper avsi, I think).

I mainly ask because DirectShowSource is the option of absolute last resort, it's unreliable and impossible to get frame accuracy with it, plus you're at the mercy of whatever random dshow filters you have installed.

ramicio
22nd June 2010, 03:01
i got it working using ffmpegsource2 as the command after i put the avsi file with the plugin. it's a pain, though. directshowsource never crashed for me before all this, with ffdshow as the decoder or coreavc.

foxyshadis
22nd June 2010, 05:32
It was more to figure out whether it's MVTools, a corrupted source, or a broken decoder that caused problems. Did you test the file with both ffdshow and coreavc as the decoders? Crashes can be tricky to track down, and it's unlikely to be MeGUI doing it, since it's a managed application and can't generally corrupt the stack.

ramicio
22nd June 2010, 05:42
no idea what it is. any avisynth script with directshowsource crashes anything i try to open it in lately.

Atak_Snajpera
22nd June 2010, 17:25
DirectShowSource is not frame accurate and therefore it cases crashes with MVTools. Use DSS2 instead.

LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
DSS2("6-12 - scott's tots.mkv").KillAudio

foxyshadis
23rd June 2010, 10:43
Sounds like a broken decoder. I'd comb through your system removing every splitter and decoder, adding back only what was absolutely necessary. Try
DirectShow Filter Manager (http://www.videohelp.com/tools/DirectShow_Filter_Manager) .