Thanks for this post, it helped me get set up just how I wanted. It took some trial and error getting it set up because the wiki page doesn't have all of the settings required especially about how to automate stopping the record, so I just wanted to add some details on how I've set it up in case that helps others. This set of values isn't going to be right for everyone, but I think it will get people up and running a bit quicker. I was setting this up to record a bird in a bird box, hence the naming of things. My camera device is called "Video capture device".
I set it to sample the conditions only once every second, so that it will need at least a second of movement to start the recording, so it doesn't get triggered by anything too insignificant.
The threshold settings were a little confusing at first. Basically the close the value is to 1 the more easily it will be triggered. A value of 1 means even the slightest change in the video feed will trigger it. A lower value means it takes more movement to trigger the "video -> has changed" condition. But that drops off pretty rapidly, and I found I needed a fairly high sensitivity, 0.999, or quite significant movement wouldn't trigger it. That might differ for more sensitive cameras. When I tried 0.9999 it started over and over again just from the noise in the signal. But 0.99 did nothing.
I set the 10 second wait time on the stop so that I didn't end the recording every time the motion stops for a few seconds, leaving me with tonnes of tiny video files. This way the videos will all be at least 10 second long, and if movement resumes in that time it will carry on recording in the one file. In this instance the bird does often come in and out of the box for about 10 seconds at a time and then go away for hours, so it makes sense to have this time period. For other situations you might want to records for at least x seconds/minutes/hours once motion is detected if you know it will be a long continuous period.
Anyway, I'm going to attach 3 screenshots showing the general settings and the Start and Stop macros I set up. Hopefully this will help others get started more quickly - though it's likely you'll need to play around, especially with the Check Conditions frequency, patter matching threshold, and maybe the "For at least" time in the stop macro.