PDA

View Full Version : Avisynth access violation with SpatialSoftenMMX


bill_baroud
23rd May 2002, 14:19
sorry to bother you with an other access violation,
but when i try to use SpatialSoftenMMX, it crash in VirtualDub.

(Avisynth read error : Avisynth: caught an access violation at 0x....)

i use Avisynth 1.06 MMX from doom9.org and the SSMMX 0.9... Any idea ?

it's my script (if that could help) :

---------------------------------------------------------
LoadPlugin("F:\DVDTOD~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("F:\DVDTOD~1\GORDIA~1\Decomb.dll")
LoadPlugin("F:\DVDTOD~1\GORDIA~1\AVISynth_Spatial.dll")
LoadPlugin("F:\DVDTOD~1\GORDIA~1\TemporalSoften2.dll")

# SOURCE
mpeg2source("I:\HnG3\HnG3-op.d2v")
Telecide(Guide=1,Gthresh=50,Threshold=30,Chroma=true)
Decimate(5)

# CROPPING
crop(13,4,700,468)

#DENOISE
SpatialSoftenMMX(1,1,0,false,false,10,10,1,1)
TemporalSoften2(1,10,1)
---------------------------------------------------------

thanks for your help

aleksander
23rd May 2002, 14:37
It's a common problem - it's a bug of either avisynth or filter itself.
Read here for more info
http://forum.doom9.org/showthread.php?s=&threadid=11958
It's because filter is called before resize. Try to do it after or do not use this filter before resize.

take care

bill_baroud
23rd May 2002, 15:27
ok, that work !

thanks for you quick response !

i will have never thought to that :/

h00z
23rd May 2002, 20:54
But what if we want to filter before resize? Is there anything else we can use?

Tri
24th May 2002, 01:48
You could also use this filter before cropping.

OUTPinged_
24th May 2002, 11:53
resize doesnt have anything to do with that, it was only because of cropping.

aleksander
24th May 2002, 11:57
Originally posted by OUTPinged_
resize doesnt have anything to do with that, it was only because of cropping.
So...How is that if you call this filter before resize it will not work and if you call it after resize it will????
Changing order doesn't mean changing crop values....

bill_baroud
24th May 2002, 14:13
hmm misread from myself...and bad reply ^^

the thing i have do is put noise filter before cropping (it's against my logic, but...^^) and that works....

i don't use resize in avisynth too, i prefer virtualdub filter.

Tri
24th May 2002, 16:38
Originally posted by aleksander

So...How is that if you call this filter before resize it will not work and if you call it after resize it will????
Changing order doesn't mean changing crop values....

I guess SpatialSoftenMMX doesn't like resolutions that cannot be divided by 8 or 16.
So if you use it after resizing it works, of course.

OUTPinged_
25th May 2002, 02:34
btw bill_barroud, if you are going to use these two filters as a chain(i personally dont think it is efficient(too slow)), tempsoften will come first.