PDA

View Full Version : Crashes on certain video frame


MrPiercer
19th April 2004, 22:48
I get a crash every time I try to decode a certain frame from an avi file coded with DivX (FourCC DX50).

In the VdubMod crash file I can read "An out-of-bounds memory access (access violation) occurred in module 'VirtualDubMod'."

I've tried to "isolate" the frame by using Trim() to cut off just before the frame and then add the segment after the frame, but it fails.. I guess because AviSynth needs to scan the file, over the defective frame.

Can anybody please suggest a solution?

Anders.

SoonUDie
20th April 2004, 01:40
try

SetMemoryMax(128)

(or less) at the beginning of your script.