Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Auto Focus (chuck elliot)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 May 2021 09:28:04 +0100
From: chuck elliot <[email protected]>
To: Arrow22 <[email protected]>, 'Motion discussion list'
<[email protected]>
Subject: Re: [Motion-user] Auto Focus
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
the rpm package supplies /usr/share/licenses/motion/COPYING
the .deb equiv seems to be /usr/share/doc/motion/copyright.
chapter and verse ;o)
On 03/05/2021 2:05 am, Arrow22 wrote:
>
> Okay, this is odd for me.
>
> I have been hacking for years.
>
> IDA has been on my computer for over a decade(some know what I mean)
>
> I have the source code, that means I can rewrite portions and add
> functionality.
>
> No one will answer if it is okay to do this.
>
> Whoever authored this program, Great Job!!!
>
> I will modify the code as I need and publish my changes to this thread.
>
> Thank you all for your time.
>
> *From:*chuck elliot [mailto:[email protected]]
> *Sent:* Saturday, May 1, 2021 4:40 AM
> *To:* [email protected]
> *Subject:* Re: [Motion-user] Auto Focus
>
> Apparently the $! system variable contains the PID of the last run process
>
> but the process (i.e. ffplay) has to be run in the background. This
> shouldn't be
>
> a problem. The PID can be saved to a file for retrieval by the 'stop'
> script or if there
>
> is a way for a script to determine whether the on_event_start or
> on_event_end
>
> option called it ($PPID just holds PID of motion so that's no help), a
> single script
>
> could handle both events.
>
> On 01/05/2021 9:32 am, chuck elliot wrote:
>
> If you use this with >1 camera I guess you will need to work
>
> out a way to distinguish between different instances of ffplay
>
> so that you can stop the right one.
>
> There may be a way to retrieve the PID when started but I
>
> don't know it offhand.
>
> On 01/05/2021 1:46 am, Arrow22 wrote:
>
> This sounds like the best so far, I have the script playing a
> sound for each cam
>
> I will start looking at ffplay
>
> Thank you
>
> *From:*chuck elliot [mailto:[email protected]
> <mailto:[email protected]>]
> *Sent:* Friday, April 30, 2021 1:56 PM
> *To:* [email protected]
> <mailto:[email protected]>
> *Subject:* Re: [Motion-user] Auto Focus
>
> You can achieve something similar using the
>
> script option 'on_event_start'
>
> to run a script that uses ffplay to display the camera
>
> output and then stop it with 'on_event_end'.
>
> 'not elegant but it works ;o)
>
> On 30/04/2021 7:41 pm, Arrow22 wrote:
>
> First, I am using IP cams
>
> Second, vid_control_paramsdoes not have anything to do
> with the webserver interface only camera fine tuning for
> picture/video
>
> Normally localhost:8080 shows all cameras in a video
> matrix block
>
> The autofocus function I want is when motion is detected
> on one of the cameras, that camera?s video goes full screen
>
> End of motion event, back to 8080
>
> Playing with a bunch of ideas but still not sure what I
> can do after I hack this out.
>
> Can I publish the changes on my site?
>
> Does the GNU allow me to do this?
>
> Does the Original Author have to okay the changes?
>
> *From:*tosiara [mailto:[email protected]
> <mailto:[email protected]>]
> *Sent:* Thursday, April 29, 2021 10:14 PM
> *To:* Motion discussion list
> <[email protected]>
> <mailto:[email protected]>
> *Subject:* Re: [Motion-user] Auto Focus
>
> There is already a config called "vid_control_params" that
> controls USB V4L cameras. If your camera supports turing
> autofocus on/off - just use vid_control_params
>
>
> https://motion-project.github.io/motion_config.html#vid_control_params
>
> <https://motion-project.github.io/motion_config.html#vid_control_params>
>
> On Fri, Apr 30, 2021 at 1:14 AM Arrow22
> <[email protected] <mailto:[email protected]>>
> wrote:
>
> Am I allowed to change the source code?
>
> I wanted to add another Flag called Autofocus=true/false
>
> It would ?full screen? the camera that detects motion.
>
> A function that would seem to be a no brainer in any
> surveillance system.
>
> First time dealing with GNU not sure what I can do
>
> Thanks for any information
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
> https://motion-project.github.io/
> <https://motion-project.github.io/>
>
> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
>
>
> _______________________________________________
>
> Motion-user mailing list
>
> [email protected]
> <mailto:[email protected]>
>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
>
> https://motion-project.github.io/
> <https://motion-project.github.io/>
>
>
>
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
>
> _______________________________________________
>
> Motion-user mailing list
>
> [email protected]
> <mailto:[email protected]>
>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
>
> https://motion-project.github.io/ <https://motion-project.github.io/>
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 179, Issue 5
*******************************************