Motion - Feature Request 2007x 10x 31x 164251

Feature Request: Startup motion on demand

Description

Hello, I use motion as MJPEG streaming software and find it useful. The output is playable on vlc player. I find ways to start Motion only on demand, for example when open page, binded to motion's internal web server, or access it via vlc. This is needed for reduce CPU & USB usage when nobody uses camera; and for turn on light in room only when motion is active, room lamp controlled from LED diode on camera (and this lamp switcher work well if I manually start & stop motion, and also work automatically under Windows & webcamxp). Maybe the way to get this is to use inetd. I configure inetd, he starts motion on demand, but motion stops with error:
[1] bind(): Address already in use [1] Problem enabling stream server in port 81: Address already in use [1] Thread exiting [1] Closing webcam listen socket [1] Closing active webcam sockets: Bad file descriptor
I did not find options in motion which control this. In proftpd, for example, there are present:
ServerType standalone ;ServerType inetd
and proftpd starts on demand (any connection to port 21).

Please add the ability of startup motion daemon via inetd. Thanks.

-- JpkaJ - 31 Oct 2007

Follow up

Comments

Topic revision: r1 - 31 Oct 2007, JpkaJ
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.