PDA

View Full Version : why does this script crash AviSynth forcing a restart?


FredThompson
21st June 2003, 04:51
AVISource("DV Tape.avi")

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Cnr2.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth-2.5.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Dup.dll")

SeparateFields()
Cnr2("xxx",4,5,255)
fluxSmooth()
Dup(copy=true, blend=true)
Weave()

Everytime I use this script with VirtualDub on DV source this message appears:

access violation at 0x10b3276c: attempting to read from 0x03fbb1a4

Remove the SeparateFields() and Weave() lines and this runs without a hitch. The problem is obviously somehow related to splitting the fields.

The intent here is to let FluxSmooth have progressive frames (since the most recent message I can find says it doesn't support interlaced source and the readme doesn't address the topic) and help Dup out a little bit.

When this crash happens, the only way I can get it to work again is to restart the computer. Forget using the scroll bar in VirtualDub, that forces the crash.

sh0dan
21st June 2003, 10:07
Have you tried without CNR2?

FredThompson
21st June 2003, 10:36
Well, I'll be, you're correct.

I moved CNR2 before the field separation and the script runs.

Apparently, CNR2 and FluxSmooth don't play well together: http://forum.doom9.org/showthread.php?s=&postid=320747

It also runs if CNR2 is after FluxSmooth as that thread recommends.

Thanks for the reply.

ADLANCAS
22nd June 2003, 06:58
but when select this avisynth in CCE, CCE crashes! at least for me (CCE 2.66)
It says a exception in Cnr2.dll

FredThompson
22nd June 2003, 07:28
FluxSmooth says it can cause crashes with multi-pass CCE. Long reply in the other thread.