Motion - Support Question 2005x 03x 09x 180553

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
Topic revision: r2 - 10 Mar 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.