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. Motion hard to setup (Franco Martelli) 2. Re: Motion hard to setup (chuck elliot) ---------------------------------------------------------------------- Message: 1 Date: Mon, 19 Apr 2021 17:55:35 +0200 From: Franco Martelli <martelli...@gmail.com> To: "motion-user@lists.sourceforge.net" <motion-user@lists.sourceforge.net> Subject: [Motion-user] Motion hard to setup Message-ID: <fe33c71c-8995-c3ce-bbf4-8c192eedc...@gmail.com> Content-Type: text/plain; charset=iso-8859-15 Hello everybody I run Motion on Raspberry pi 3B equipped with Debian buster unofficial port, the camera is an old USB Logitech C270 720p, all goes pretty well except I have sometimes false positive movies of almost 1 second length. I don't know what else to do. My motion setting are: ~# grep -v "^#\|^;\|^[[:space:]]*$" /etc/motion/motion.conf daemon off setup_mode off log_file /home/frank/motion/motion.log log_level 5 target_dir /home/frank/motion videodevice /dev/video0 width 640 height 480 framerate 10 text_left CAMERA1 text_right %Y-%m-%d\n%T-%q emulate_motion off threshold 2500 threshold_maximum 160000 noise_tune off noise_level 22 text_changes on text_scale 2 lightswitch_percent 50 lightswitch_frames 160 minimum_motion_frames 5 event_gap 60 pre_capture 1 post_capture 1 on_movie_end /usr/local/bin/rmvbysize.sh %f picture_output off picture_filename %Y%m%d%H%M%S-%q movie_output on movie_max_time 180 movie_quality 60 movie_codec mpeg4 movie_filename %t-%v-%Y%m%d%H%M%S webcontrol_port 8080 webcontrol_localhost off webcontrol_parms 0 stream_port 8081 stream_localhost off I wrote small shell script (rmvbysize.sh) that delete the movies if the size is less than 300K as workaround but I'd like to avoid it and setup Motion to eliminate false positive. Could anybody give me some hints? Thanks in advance, kind regards. -- Franco Martelli ------------------------------ Message: 2 Date: Mon, 19 Apr 2021 18:13:31 +0100 From: chuck elliot <c.ell...@pobox.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion hard to setup Message-ID: <980254d0-f9df-e9be-b8d0-be3a53b84...@pobox.com> Content-Type: text/plain; charset=utf-8; format=flowed Have you tried increasing the threshhold level or using threshold_tune? 1500 pixels only amount to about about 1/200 of your picture. You might also try noise level, noise_tune and despeckle_filter. On 19/04/2021 4:55 pm, Franco Martelli wrote: > Hello everybody > > I run Motion on Raspberry pi 3B equipped with Debian buster unofficial > port, the camera is an old USB Logitech C270 720p, all goes pretty well > except I have sometimes false positive movies of almost 1 second length. > I don't know what else to do. My motion setting are: > > ~# grep -v "^#\|^;\|^[[:space:]]*$" /etc/motion/motion.conf > daemon off > setup_mode off > log_file /home/frank/motion/motion.log > log_level 5 > target_dir /home/frank/motion > videodevice /dev/video0 > width 640 > height 480 > framerate 10 > text_left CAMERA1 > text_right %Y-%m-%d\n%T-%q > emulate_motion off > threshold 2500 > threshold_maximum 160000 > noise_tune off > noise_level 22 > text_changes on > text_scale 2 > lightswitch_percent 50 > lightswitch_frames 160 > minimum_motion_frames 5 > event_gap 60 > pre_capture 1 > post_capture 1 > on_movie_end /usr/local/bin/rmvbysize.sh %f > picture_output off > picture_filename %Y%m%d%H%M%S-%q > movie_output on > movie_max_time 180 > movie_quality 60 > movie_codec mpeg4 > movie_filename %t-%v-%Y%m%d%H%M%S > webcontrol_port 8080 > webcontrol_localhost off > webcontrol_parms 0 > stream_port 8081 > stream_localhost off > > I wrote small shell script (rmvbysize.sh) that delete the movies if the > size is less than 300K as workaround but I'd like to avoid it and setup > Motion to eliminate false positive. > Could anybody give me some hints? > Thanks in advance, kind regards. > ------------------------------ ------------------------------ 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 178, Issue 9 *******************************************