vapoursynth-motionmask -
9999 (Creates a mask of moving pixels. Every output pixel will be set to the absolute difference between the current frame and the previous frame)
vapoursynth-msmoosh -
9999 (MSmooth is a spatial smoother that doesn't touch edges, MSharpen tries to sharpen only edges)