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: 30 seconds missing in video (Ronnie McMaster) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Feb 2022 20:05:10 -0700 From: Ronnie McMaster <ronnie.mcmas...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] 30 seconds missing in video Message-ID: <caa8w+k5vx9uzyh0yyzacz_xzfcj_thl3njoepxbr1ektfur...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" If you want the full recording of that 60 seconds, then set post_capture to 1200 which is derived from multiplying the amount of seconds by the number of your frame rate, ie 60x20 On Mon, Feb 28, 2022 at 8:00 PM Ronnie McMaster <ronnie.mcmas...@gmail.com> wrote: > Event gap is why you ended up with two motion triggers combined into one > video. Though it is 60 seconds, your post_capture capture is 60 frames or 3 > seconds. > > Thanks, > Ronnie > > > On Mon, Feb 28, 2022 at 7:28 PM Mathias Koerber <math...@koerber.org> > wrote: > >> I have motion set up with the motion.conf below, and I find that >> occasionally there are some seconds missing in a video, >> which seems to happen when there is no action >> (eg, one person exits the frame, there is a pause >> of 30 seconds and then another person apprears in the same place) >> >> With the settings below I would have expected the movie to continue >> until it saw a 60 second (event_gap) with no motion (ie less than 1500 >> pixels changing) >> >> I also get videos that are short (15 seconds or so at times) >> >> What am I doing wrong? >> >> daemon off >> setup_mode off >> log_file /var/log/motion/motion.log >> log_level 6 >> target_dir /var/lib/motion >> videodevice /dev/video0 >> width 800 >> height 600 >> framerate 20 >> text_left Door >> text_right %t-%3v-%{fps}-%D\n%Y-%m-%d\n%T-%q >> emulate_motion off >> threshold 1500 >> despeckle_filter EedDl >> minimum_motion_frames 5 >> event_gap 60 >> pre_capture 2 >> post_capture 60 >> picture_output best >> picture_filename albums/%Y-%m-%d/thumbs/%C >> movie_output on >> movie_max_time 900 >> movie_quality 60 >> movie_codec mp4 >> movie_filename albums/%Y-%m-%d/%C >> webcontrol_port 8080 >> webcontrol_localhost off >> webcontrol_parms 0 >> stream_port 8081 >> stream_maxrate 1 >> stream_grey on >> stream_quality 45 >> stream_preview_method 1 >> stream_localhost off >> rotate 90 >> text_scale 3 >> text_changes on >> auto_brightness 2 >> locate_motion_style box >> locate_motion_mode preview >> lightswitch_percent 80 >> text_event %Y%m%d-%H:%M:%S-%t-%3v-%q >> >> >> _______________________________________________ >> 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... ------------------------------ ------------------------------ 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 189, Issue 2 *******************************************