All you'd have to do would be:
- set it in that mode
- capture a frame 1 sec *after* motion stops
- wait until there's motion, then go to step 2
- have a way to exit the mode, and probably trim the last frame(s) which would be due to the user moving the camera to change the mode
I once wrote a program to do this, it worked. This was back when you needed a $500 video acquisition card to capture video.