I have something nearly working, but not quite...
3 cams. Requirement:
record main streams 24x7, no exceptions, irrespective of motion (ie. record hi-res all the time)
perform motion detection on the sub-stream (as this should be lighter-weight)
if motion detected, record the main stream for...