Is it possible to track one stream for motion and record another on detection
I am tracking streams from two cameras and the resolution is relatively big, providing good quality videos but putting the CPU under heavy load. The cameras can stream 3 versions of the captured video and I would like to track a low-res stream for motion, but when motion is detected, record off the hi-res stream. Can that be done?
I am using the latest sackmotion code from github.
| Motion version:
| ffmpeg version:
| Server OS:
- 30 Jul 2015
I don't have a ready to use answer, but an idea how this could be achieved.
For the low res cam you would define an on_event_start script, which enables the recording for the other cam via http API actions.
Likewise an on_event_end script would then be used to stop recording of the second cam.