Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
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 motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Motion video clips AND snapshots concurrently? (Rainer) 2. Re: Motion video clips AND snapshots concurrently? (Dave Howorth) 3. Snapshot vs picture (Rainer) 4. Re: Snapshot vs picture (Adam Goryachev) 5. Re: Set motion to only take one or two HQ photos (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Mon, 1 Mar 2021 11:17:04 -0500 From: Rainer <feyerpictu...@gmail.com> To: Adam Goryachev via Motion-user <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Motion video clips AND snapshots concurrently? Message-ID: <956c34ad-36c4-f883-dbbe-846353332...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Yup, you are correct, that is something I should have tried first!! TY! Rainer On 3/1/21 10:10 AM, Adam Goryachev via Motion-user wrote: > > On 2/3/21 01:52, Rainer wrote: >> Hi all, >> This is actually a 2 part question: >> 1- Can motion be set up to produce video clips on motion detection >> AND snapshots concurrently? >> 2- If #1 is yes, can there be a separate directory path for each? >> the manual states: >> """ >> snapshot_filename >> >> ? * Type: String >> ? * Range / Valid values: Max 4095 characters >> ? * Default: %v-%Y%m%d%H%M%S-snapshot >> >> This option indicates the file name and optionally the path for the >> snapshots relative to target_dir. >> """ >> but there is no explanation of how to specify the file path. >> The .conf file specifies the ability to enter a file path for >> pics/video etc, all the same path. > > Yes, it is probably considered so simple that no example was provided... > > snapshot_filename=/var/spool/motion/snapshot/%Y/%m/%d-%H%M%S-snapshot > > or > > snapshot_filename=snapshot/%Y%m/%s-%H%M%S-snapshot > > Or whatever variations you want. Let me know what you have tried, what > the outcome was, and what you want it to do, if you are still having > trouble with it. > > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 1 Mar 2021 17:32:55 +0000 From: Dave Howorth <d...@howorth.org.uk> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion video clips AND snapshots concurrently? Message-ID: <20210301173255.56412...@acer-suse.lan> Content-Type: text/plain; charset=US-ASCII On Tue, 2 Mar 2021 02:10:11 +1100 Adam Goryachev via Motion-user <motion-user@lists.sourceforge.net> wrote: > On 2/3/21 01:52, Rainer wrote: > > Hi all, > > This is actually a 2 part question: > > 1- Can motion be set up to produce video clips on motion detection > > AND snapshots concurrently? > > 2- If #1 is yes, can there be a separate directory path for each? > > the manual states: > > """ > > snapshot_filename > > > > * Type: String > > * Range / Valid values: Max 4095 characters > > * Default: %v-%Y%m%d%H%M%S-snapshot > > > > This option indicates the file name and optionally the path for the > > snapshots relative to target_dir. > > """ > > but there is no explanation of how to specify the file path. > > The .conf file specifies the ability to enter a file path for > > pics/video etc, all the same path. > > Yes, it is probably considered so simple that no example was > provided... > > snapshot_filename=/var/spool/motion/snapshot/%Y/%m/%d-%H%M%S-snapshot Ah! It wasn't obvious to me either. I've been looking to do this for ages. An example would definitely be worthwhile. > or > > snapshot_filename=snapshot/%Y%m/%s-%H%M%S-snapshot > > Or whatever variations you want. Let me know what you have tried, > what the outcome was, and what you want it to do, if you are still > having trouble with it. ------------------------------ Message: 3 Date: Mon, 1 Mar 2021 19:44:28 -0500 From: Rainer <feyerpictu...@gmail.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] Snapshot vs picture Message-ID: <b71e9469-5c55-f906-765d-c28f9410d...@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed I am probably missing something simple again, however, I am missing it: Continuing to work on my meager Motion GUI to view/copy/move/delete clips recorded by motion, I now am working on adding a listbox for snapshots/ pictures for a faster search through captured motion. In order to do so, I need motion to save a picture (jpg) when motion is triggered, and then subsequently at intervals while there is still motion. All I have found is that snapshots have an interval property ( range in seconds ) and pictures have an option to record when motion starts, but I can't find a way to complete it. So, - Snapshot intervals would be great if recording starts when motion is detected, stop interval recording when motion is done. - Pictures start correctly with motion, but should continue at intervals until motion is done. What am I missing? ------------------------------ Message: 4 Date: Tue, 2 Mar 2021 12:36:26 +1100 From: Adam Goryachev <mailingli...@websitemanagers.com.au> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Snapshot vs picture Message-ID: <86490282-e760-e404-9cdd-83d6da50c...@websitemanagers.com.au> Content-Type: text/plain; charset=utf-8; format=flowed On 2/3/21 11:44, Rainer wrote: > I am probably missing something simple again, however, I am missing it: > > Continuing to work on my meager Motion GUI to view/copy/move/delete > clips recorded by motion, I now am working on adding a listbox for > snapshots/ pictures for a faster search through captured motion. > > In order to do so, I need motion to save a picture (jpg) when motion > is triggered, and then subsequently at intervals while there is still > motion. > > All I have found is that snapshots have an interval property ( range > in seconds ) and pictures have an option to record when motion starts, > but I can't find a way to complete it. > So, > > - Snapshot intervals would be great if recording starts when motion is > detected, stop interval recording when motion is done. > > - Pictures start correctly with motion, but should continue at > intervals until motion is done. > > > What am I missing? I don't think that is supported "out of the box"... I think your best option would be to trigger a script on motion end, the script would extract the desired number of frames from the motion video and save as a snapshot, or whatever is desired. Hope that might help, I've not done it, but it sounds like a great idea, so would love to see how you do it. Regards, Adam ------------------------------ Message: 5 Date: Tue, 2 Mar 2021 12:33:42 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Set motion to only take one or two HQ photos Message-ID: <cachtdwrpthfxjc+l_cfwzeh_8pkfjpyfn8k_ska2a_1jws2...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" The script is very simple: curl -s "http://localhost:8081/1/current" > snapshot1.jpg sleep 1 curl -s "http://localhost:8081/1/current" > snapshot2.jpg sleep 2 curl -s "http://localhost:8081/1/current" > snapshot3.jpg On Sun, Feb 28, 2021 at 3:38 AM <mittscotch...@gmail.com> wrote: > > Hi there, thank you for the advice. Would you mind sharing the script so I > might be able to make a similar one? > > > > -Mitchell > > > > From: tosiara <tosi...@gmail.com> > Sent: Saturday, February 27, 2021 3:12 PM > To: Motion discussion list <motion-user@lists.sourceforge.net> > Subject: Re: [Motion-user] Set motion to only take one or two HQ photos > > > > You can configure to take one photo by specifying "best" or "first". If you > need two, you could use a script to dump an image from mition's stream. I do > that to take 3 images with 1 second delay each > > > > On Sat, Feb 27, 2021, 18:51 Mitchell Scott <mittscotch...@gmail.com> wrote: > > Hello everyone, I have been studying the documentation and am unable to > find an appropriate set of settings where the camera only takes one or > two shots when motion is detected. As of right now it fires off 10+ > pictures every time motion is detected and I would really like to > decrease that amount. > > I am thinking one way to do this is to simply have two cameras, one > webcam for watching and then an R-Pi HQ camera, and have the webcam > trigger an event to take a picture with the R-Pi, that way I get only > one or two HQ photos instead of a bunch. I'm assuming this will also > decrease the motion blur because the lens is not open for too long? I am > totally new to photography so I'm groping int he dark here. > > Anyways, if a scenario like this can be achieved with just one camera > please let me know the best way to go about doing it! For context, the > camera will be used to take pictures of people as they ride across a zip > line. > > Thank you for your time, > > -Mitchell > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 177, Issue 2 *******************************************