Log in

View Full Version : MAM filter


scorchED
4th August 2002, 23:42
has anyone some experiences with the MAM-filter from Marc FD??
how does this filter decide if an area is in motion or not?
:confused:

tenebrenz
5th August 2002, 01:35
Unfortunately most of my experience is in the "avisynth caught access violation" realm :(
Using an script which reads from an avi, it seems ok and this filter works well. However with an mpeg2 source it dies, often rather quickly. This is the script I am using:

LoadPlugin("C:\video\AVSGEN\MPEG2DEC.dll")
LoadPlugin("C:\video\AVSGEN\smoothhiq.dll")
LoadPlugin("C:\video\AVSGEN\mam.dll")

movie = mpeg2source("F:\BACKUP\VIDEO_TS\math.d2v")

spatial=movie.SmoothHiQ(5,48,96,256,0)
temporal=movie.TemporalSmoother(3,1)
MAM(temporal,spatial)

ADDENDUM
Using the following script I can jump about the timeline and get no access violations:

LoadPlugin("C:\video\AVSGEN\MPEG2DEC.dll")
LoadPlugin("C:\video\AVSGEN\smoothhiq.dll")
LoadPlugin("C:\video\AVSGEN\mam.dll")

movie = avisource("D:\movie.avi")

spatial=movie.SmoothHiQ(5,48,96,256,0)
temporal=movie.TemporalSmoother(3,1)
MAM(temporal,spatial)

so it looks like an incompatability with mpeg2source

WarpEnterprises
5th August 2002, 22:23
Could the difference colorspace-related?
(ConvertToRGB ?)

scorchED
6th August 2002, 01:14
tenebrenz,
maybe its a incompatibility with the MPEG2dec.dll . i am testing some different DLLs now. I will post my results later. it's time to go to bed (02:15 here in germany) now.

Marc FD
6th August 2002, 23:37
hehe :devil: a bug less on earth :cool:

(i'll say more on "smooth t&s" thread. take a look)