OnCue turns your Mac into a motion activated surveillance system.
Set a trigger and let OnCue do the rest. You can set an audio trigger or a motion trigger, set the activity threshold and wait for something to happen.
OnCue is available in the Mac App Store and distributed under the same conditions: the license is for personal use on any number of machines.
OnCue is built for OS X 10.15 and above.