Incorporating sound
Question
I am interested in incorporating sound in some way. If a sound is detected by an external microphone I want to activate Motion as if there was movement. Would some sort of interface to xml-rpc be best for that?
Environment
Motion version: |
3.1.19 |
ffmpeg version: |
|
Libraries: |
|
Server OS: |
|
--
MikeMullins - 09 Mar 2005
Answer
Actually this is an interesting idea. And not new.
I have personally played with the idea of using a passive infrared detector to trigger Motion for cameras where background motion is making video based motion detection less effective.
So I will add a detection feature to the roadmap.
I think the way to implement it is to make a http interface (xmlrpc dies with 3.1.X) call that triggers motion for a defined time either as picture frames or seconds.
Today there is an option you can set by xmlrpc called
output_all
See
MotionGuide#The_output_all_Option
You will then need to send a remote command to start and another to stop forced motion detection again. I guess this is what you are looking for.
--
KennethLavrsen - 10 Mar 2005