3

I want to set up a daemon that starts recording video with sound when it detects noise or movement. There are tools that do that separately but can they be done at the same time? Can I set up motion in a way that when it detects motion it executes a script? Can I do the same with SOX?

  • 1
    The motion config options on-event-start <command>, on-motion-detected <command>etc. can be configured to call a script. You may use conversion specifiers to pass information to the command (see man motion). – ridgy Mar 26 '17 at 17:02
  • I basically want to use motion as an event generator. That tells me when there is motion and when there is not and nothing else. Is it possible to do that? – tst Mar 26 '17 at 21:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.