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: Can I stop detection for a certain time again (Miguel ?ngel) 2. Re: Can I stop detection for a certain time again (Saito.k) 3. Re: Using ffmpeg via extpipe (S?bastien Delafond) 4. Re: Can I stop detection for a certain time again (Miguel ?ngel) 5. Re: Can I stop detection for a certain time again (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Tue, 23 Jan 2018 15:39:48 +0100 From: Miguel ?ngel <ssl...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Can I stop detection for a certain time again Message-ID: <cahbhhehauxmim3fxtuno4vbkomahkjau6sz_46zalmh5cez...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" ?Hi, Kazz, again :) Do you understand what event_gap and max_movie_time are for? You can't set them to any value to see if you're lucky. The event_gap is the number of seconds that motion waits WITH NO MORE MOTION DETECTION to end an motion capture event. Example: 1. You set event_gap to 60 2. motion starts to capture a motion event at 10:00:00 hours 3. At 10:01:00 there is no motion detected. 4. At 10:02:00 (60 seconds later) with no MORE motion detected, event_gap fires and the capture motion event ends, the video is saved an emailed to you. The max_movie_time is the max length of a capture motion event movie to be saved on disk. If you set it to 300 you're saying to motion that you want a max 5 minutes video length. The event that is fired when a movie is saved can be used to email it as well. Maybe you need to explain your scene with more detail. -- *Miguel ?ngel* -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Wed, 24 Jan 2018 07:41:17 +0900 From: "Saito.k" <sait...@ibara.ne.jp> To: motion <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Can I stop detection for a certain time again Message-ID: <866823a4-8c97-9f36-ca10-61de19490...@ibara.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Hi Miguel Yes, I seem to have lacked the explanation My first settings of motion.conf ------ threshold 3000 minimum_motion_frames 5 event_gap 60 max_movie_time 0 output_pictures on? <- ffmpeg_output_movies off snapshot_interval 0 stream_port 0 on_picture_save /home/user11/bin/motion-attach-mail.sh %f motion-attach-mail.sh ------- #! /bin/sh mutt -s "Attech Pictuer" us...@gmail.com -a $1 < /dev/null rm $1 By above setting, I received several emails per second. And tens of emails arrived at once. I want Motion to pause for about 5 minutes when Motion send an e-mail. Hi Joel I will learn masterevent Thank you Sorry kindergarden english -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/ Kazz Saito ------------------------------ Message: 3 Date: Wed, 24 Jan 2018 06:50:32 +0000 (UTC) From: S?bastien Delafond <s...@debian.org> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Using ffmpeg via extpipe Message-ID: <20180124075203....@usenet.piggo.com> Content-Type: text/plain; charset=utf-8 On 2018-01-22, S?bastien Delafond <s...@debian.org> wrote: > motion 4.0, reporting "ffmpeg libavcodec version 57.48.101 libavformat > version 57.41.100". > >> What is the type of camera? Multiple cameras? Are they disconnecting >> during the extpipe process? > > A single Pi NoIR v2, not disconnecting during extpipe. > >> Does the live stream show ok or show corrupt images? > > The live stream works like a charm. At this point, are there any suggestions on what I should try ? Cheers, --Seb ------------------------------ Message: 4 Date: Wed, 24 Jan 2018 09:21:00 +0100 From: Miguel ?ngel <ssl...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Can I stop detection for a certain time again Message-ID: <CAHbhhEGDWQtYro=jdp87jezegqppcsbhfbqc64bwpy0orrq...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" ?Kazz, you're ?taken pictures. So, when motion is detected, a lot of pictures are saved and you send one by one by email. This is bad. It's better that you turn output_pictures off and ffmpeg_output_movies on. This way, with on_movie_end event, you can send the movie by email. If you don't want movies, you can try to set output_pictures to "best" and motion will send you only the best picture of an event. Check the snapshot_interval too, to take less pictures. Read the documentation carefully at https://motion-project.github.io/motion_config.html -- *Miguel ?ngel* www.injiniero.es -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Wed, 24 Jan 2018 10:43:18 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Can I stop detection for a certain time again Message-ID: <cachtdwtd_pb_yhw4jmt3gpzau8hvwyt-z5vdgpqw9qwo+93...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" So your initial problem was that you receive too many images? "output_pictures on" will save every frame with changed pixels, no matter what is your event_gap If you don't want your script to send a lot of pictures you can either send a single one using "output_pictures best", or use your own custom script to control motion detection and pause it for whatever period you want: curl http://localhost:8080/0/detection/pause curl http://localhost:8080/0/detection/start On Wed, Jan 24, 2018 at 12:41 AM, Saito.k <sait...@ibara.ne.jp> wrote: > Hi Miguel > > Yes, I seem to have lacked the explanation > > My first settings of motion.conf ------ > threshold 3000 > minimum_motion_frames 5 > event_gap 60 > max_movie_time 0 > > output_pictures on <- > > ffmpeg_output_movies off > > snapshot_interval 0 > > stream_port 0 > > on_picture_save /home/user11/bin/motion-attach-mail.sh %f > > > motion-attach-mail.sh ------- > #! /bin/sh > mutt -s "Attech Pictuer" us...@gmail.com -a $1 < /dev/null > rm $1 > > By above setting, I received several emails per second. > And tens of emails arrived at once. > I want Motion to pause for about 5 minutes when Motion send an e-mail. > > Hi Joel > > I will learn masterevent > > Thank you > Sorry kindergarden english > > > -- > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ > Kazz Saito > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > 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 ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------------------------------ 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 139, Issue 6 *******************************************