View Full Version : DePanStabilize - Access Violation


Chromix
6th June 2009, 16:30
Hiya,

I think I've got a pretty rare crash, 100% reproducible on my PC though.
I've isolated it to depan.dll, a 200 frame sequence and some specific DePanEstimate and DePanStabilize parameters.

My AviSynth version is 2.58.
For DePan 1.10.1 (loaded at 0x2890000) the error message is:
CAVIStreamSynth: System exception - Access Violation at 0x2895568, reading from 0x5bfc19d

It also happens with DePan 1.7 (loaded at 0x1e20000):
CAVIStreamSynth: System exception - Access Violation at 0x1e2b722, reading from 0x637f8b2

The reduced script to reproduce the problem is:
clip = AviSource("DePanSource.avi")
mdata = DePanEstimate(clip, zoommax=1.1)
DePanStabilize(clip, data=mdata, dxmax=34, mirror=15)
Removing or changing any of the used parameters usually prevents the crash.

I've processed about 10 hours of DV material with DePanStabilize and it worked just fine. So I guess this problem doesn't occur so often, especially since it's also in the old version 1.7.

The sequence that triggers it can be downloaded here (900kb):
http://www.2shared.com/file/6144246/770d5c70/DePanSource.html
The bad video quality is intentional btw ;)

I've only tested it on my own PC, so I don't know if I provided enough information so others can reproduce it.

Fizick
6th June 2009, 21:29
try undocumented feature with NEGATIVE value of dxmax, dymax - it will reset base frame when limit exceeded

shoopdabloop
6th June 2009, 22:16
Can DePanEstimate+Stabilize fix rotation? The documentation is confusing.

Chromix
6th June 2009, 22:50
Yep, it doesn't crash if I use dxmax=-34 instead of 34.