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)
2. Re: Auto Focus (chuck elliot)
----------------------------------------------------------------------
Message: 1
Date: Sat, 1 May 2021 09:32:20 +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"
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]]
> *Sent:* Friday, April 30, 2021 1:56 PM
> *To:* [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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sat, 1 May 2021 09:37:23 +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"
Well the standard way is to make changes via a browser in
the web interface. I guess you could backward engineer this
dialogue with wireshark or something and mimic it from your
script with cURL or something.
On 01/05/2021 1:49 am, Arrow22 wrote:
>
> I responded to this before but wanted to ask about the webcontrol
>
> Specifically *webcontrol_parms 2*
>
> How can I send messages to any part of Motion with this at 2 and not 0
>
> *From:*chuck elliot [mailto:[email protected]]
> *Sent:* Friday, April 30, 2021 1:56 PM
> *To:* [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>
>
-------------- 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 2
*******************************************