I use a block based metric in SecurityCamExtractMotion.avs as shown in action here:-
https://forum.doom9.org/showthread.p...05#post1775305
Is too big to post, but included in RT_Stats v2.0 beta.
I did at one time use it in the Duplicity script, maybe I'll add as an option or something.