Log in

View Full Version : Avsp crash


lisztfr9
29th May 2014, 14:20
Hi,

I passed some time detecting the cause of Avsp crashing on mt_edge, or source ? I replaced the avsp.pyo file (with the bugfix), and Avspmod is crashing as well. VD not

Any mt_edge statement is the cause. It's not a plugin version issue, i load mvtools2.

I dont have the problem on colorbars, but with DirectShowSource.



ovideo=DirectShowSource("H:\XXX.mpg").ConvertToYV12()
last = ovideo

video = ScriptClip(last, "Subtitle(String(current_frame))")

S = mt_edge().Grayscale()

S



This is crashing at any time, 100%.

[Wed May 28 21:30:50 2014]
Traceback (most recent call last):
File "AvsP.pyo", line 5653, in OnMenuVideoNextFrame
File "AvsP.pyo", line 9166, in ShowVideoOffset
File "AvsP.pyo", line 8925, in ShowVideoFrame
File "AvsP.pyo", line 9467, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 301, in _GetFrame
File "avisynth.pyo", line 277, in GetFrame
WindowsError: exception: access violation reading 0xC7C7C7C7
Traceback (most recent call last):
File "AvsP.pyo", line 7123, in OnPaintVideoWindow
File "AvsP.pyo", line 9467, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 301, in _GetFrame
File "avisynth.pyo", line 277, in GetFrame
WindowsError: exception: access violation reading 0x00000000

Any ideas ... ?

L

Guest
29th May 2014, 14:31
Have you tried a different source filter?

lisztfr9
29th May 2014, 14:41
Hi neuron2,

I just tried FFVideoSource(), it works fine. I didn't suspect DirectshowSource, i'm so used to it.

Thanks to this thread :

http://forum.doom9.org/showthread.php?t=167853

It seems there is a dedicated Directshow version for avisynth 2.58 (i'm still using it)

http://forum.doom9.org/showthread.php?t=170016

Guest
29th May 2014, 15:00
You may not need that convert call as MPG is likely already in YV12.

creaothceann
29th May 2014, 16:40
I didn't suspect DirectshowSource, i'm so used to it.

DSS2 is better, btw.

Mounir
29th May 2014, 16:51
You have to specify the fps
DirectShowSource("H:\XXX.mpg",fps=25.000)

foxyshadis
30th May 2014, 02:42
0xC7C7C7C7 -> looks like a debug build, did you build it yourself? And is your version of mt_masktools the same as your AviSynth version? There's a 2.5 and 2.6 version. Also, I don't think your AvsP is up to date; instead of copying files from AvsPmod over, it's better to start over with the latest build (http://files.line0.in/builds/AvsPmod-2.5.1-r426-x86-04874ed.7z) in a new folder. You can copy your macros over, but this way you're not still using old files. (GetFrame in avisynth.py in the new one is line 464, for instance.)

Simplest way to track down a crash in avisynth is to build avisynth and all the plugins you use, then you can set appropriate breakpoints or easily see the source of the error. It's not the easiest thing to do, I know, but it's better than grokking memory dumps for most people.

lisztfr9
30th May 2014, 08:50
@foxyshadis

All versions are in my plugin folder, but in the script, no one was loaded, so default one was used. I didn't try 2.5, in my souvenir it was for special cases... Avsp : 2.02, Avisynth = 2.58, Avspmod = 2.3.1 and crash also. Yes it's not up to date !

usually i upgrade 10 years after the folks, i was the last Win me user.

You're right, version 2.5 doesn't crash at all :)

L