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: Possible bug in 4.4 (Steve) 2. Re: Possible bug in 4.4 (Steve) ---------------------------------------------------------------------- Message: 1 Date: Sat, 13 Nov 2021 17:33:04 -0700 From: Steve <sch...@msn.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Possible bug in 4.4 Message-ID: <ph0pr08mb7132c4409161573bd674367ac5...@ph0pr08mb7132.namprd08.prod.outlook.com> Content-Type: text/plain; charset=UTF-8; format=flowed Motion is crashing more frequently now so I've stopped it. I sure hope this gets fixed soon. On 11/8/21 14:19, Steve wrote: > Here's the log from when Motion crashed a few hours ago: > > Nov 08 10:46:41 server-v motion[450]: [4:ml4:Cam-Gar] [WRN] [NET] > netcam_init_jpeg: no new pic, no signal rcvd > Nov 08 10:46:41 server-v motion[450]: [1:ml1:Cam-Dek] [WRN] [NET] > netcam_init_jpeg: no new pic, no signal rcvd > Nov 08 10:46:42 server-v motion[450]: [4:ml4:Cam-Gar] [WRN] [NET] > netcam_init_jpeg: no new pic, no signal rcvd > Nov 08 10:46:42 server-v motion[450]: [1023B blob data] > Nov 08 10:47:06 server-v systemd[1]: motion.service: Main process > exited, code=killed, status=6/ABRT > Nov 08 10:47:06 server-v systemd[1]: motion.service: Failed with > result 'signal'. > Nov 08 10:47:06 server-v systemd[1]: motion.service: Consumed 18h > 47min 17.860s CPU time. > > On 11/3/21 08:49, Steve wrote: >> I apologize for not checking my post more carefully. The omitted line >> at the top of the .conf is: >> >> # The full URL of the network camera stream. >> netcam_url mjpeg://cam-gar.localdomain:8080/?action=stream >> >> I'm running mjpg_streamer on the Pi-cams. It's from: >> >> https://github.com/jacksonliam/mjpg-streamer >> >> And the command on the cam that uses it is: >> >> /usr/bin/mjpg_streamer -o "output_http.so -w ./www" -i >> "input_raspicam.so -x 800 -y 608 -fps 6" >> >> >> >> On 11/3/21 01:52, tosiara wrote: >>> Is your pi cam an http or a mmal? I don't see any source in your >>> provided config >>> >>> If that is http, try to change the url to be mjpg://xxxxx and see if >>> that makes any difference? >>> >>> I suspect this: https://github.com/Motion-Project/motion/issues/1424 >>> >>> On Mon, Nov 1, 2021 at 4:08 AM Steve <sch...@msn.com> wrote: >>>> >>>> Since upgrading to v4.4 yesterday I'm seeing the following on each >>>> of 2 >>>> cameras every second: >>>> >>>> [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd >>>> >>>> Video is still being recorded as with v4.3.x and this only happens >>>> on my >>>> 2 Pi-cams which are set to 800x608 size. My Reolink cams are at >>>> 1920x1072. >>>> >>>> Might I have missed changing an option name? Here is the .conf on a >>>> Pi-cam: >>>> >>>> # ID used to identify this camera from external curl commands. >>>> camera_id 3 >>>> >>>> # Text to be overlayed in the lower left corner of images >>>> text_left Cam-Gar >>>> >>>> # Text to be overlayed in the lower right corner of images. >>>> text_right %Y_%m_%d\n%T_%q >>>> >>>> # X times larger than normal (1-10) >>>> text_scale 2 >>>> >>>> # Container/Codec to used for the movie. See motion_guide.html >>>> movie_codec hevc >>>> >>>> # Target directory for pictures, snapshots and movies >>>> target_dir /Videos/motion-images/Cam-Gar >>>> >>>> ############################################################ >>>> # Motion detection configuration parameters >>>> ############################################################ >>>> >>>> # Image width in pixels. >>>> width 800 >>>> >>>> # Image height in pixels. >>>> height 608 >>>> >>>> # Maximum number of frames to be captured per second. >>>> framerate 6 >>>> #framerate 4 >>>> >>>> # Ignore sudden massive light intensity changes. >>>> lightswitch_percent 30 >>>> >>>> # Number of images that must contain motion to trigger an event. >>>> minimum_motion_frames 3 >>>> >>>> # Gap in seconds of no motion detected that triggers the end of an >>>> event. >>>> event_gap 10 >>>> >>>> # The number of pre-captured (buffered) pictures from before motion. >>>> pre_capture 30 >>>> >>>> # Number of frames to capture after motion is no longer detected. >>>> post_capture 30 >>>> >>>> # Number of frames to ignore when lightswitch has been triggered. >>>> lightswitch_frames 12 >>>> >>>> # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel. >>>> despeckle_filter EedDl >>>> >>>> # Activates the automatic tuning of noise level. >>>> noise_tune on >>>> >>>> # A dynamic, self-learing mask. >>>> #smart_mask_speed 5 >>>> >>>> # Threshold for number of changed pixels that triggers motion. >>>> threshold 3500 >>>> >>>> # Activate the automatic tuning of threshold level. >>>> threshold_tune on >>>> >>>> ############################################################ >>>> # Script execution configuration parameters >>>> ############################################################ >>>> >>>> # Command to be executed when an event starts. >>>> ; on_event_start value >>>> >>>> # Command to be executed when an event ends. >>>> ; on_event_end value >>>> >>>> # Command to be executed when a movie file is closed. >>>> ; on_movie_end value >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >> -- -------------------------------------------------------------------- Steve Schaeffer When all is said and done... sch...@msn.com there will have been a lot more said than done. -------------------------------------------------------------------- ------------------------------ Message: 2 Date: Sat, 13 Nov 2021 21:26:12 -0700 From: Steve <sch...@msn.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Possible bug in 4.4 Message-ID: <by3pr08mb712336406fa365d45d222066c5...@by3pr08mb7123.namprd08.prod.outlook.com> Content-Type: text/plain; charset=UTF-8; format=flowed It sounds a lot like this from 5 years ago: https://sourceforge.net/p/motion/mailman/message/34890916/ On 11/13/21 17:33, Steve wrote: > Motion is crashing more frequently now so I've stopped it. I sure hope > this gets fixed soon. > > On 11/8/21 14:19, Steve wrote: >> Here's the log from when Motion crashed a few hours ago: >> >> Nov 08 10:46:41 server-v motion[450]: [4:ml4:Cam-Gar] [WRN] [NET] >> netcam_init_jpeg: no new pic, no signal rcvd >> Nov 08 10:46:41 server-v motion[450]: [1:ml1:Cam-Dek] [WRN] [NET] >> netcam_init_jpeg: no new pic, no signal rcvd >> Nov 08 10:46:42 server-v motion[450]: [4:ml4:Cam-Gar] [WRN] [NET] >> netcam_init_jpeg: no new pic, no signal rcvd >> Nov 08 10:46:42 server-v motion[450]: [1023B blob data] >> Nov 08 10:47:06 server-v systemd[1]: motion.service: Main process >> exited, code=killed, status=6/ABRT >> Nov 08 10:47:06 server-v systemd[1]: motion.service: Failed with >> result 'signal'. >> Nov 08 10:47:06 server-v systemd[1]: motion.service: Consumed 18h >> 47min 17.860s CPU time. >> >> On 11/3/21 08:49, Steve wrote: >>> I apologize for not checking my post more carefully. The omitted >>> line at the top of the .conf is: >>> >>> # The full URL of the network camera stream. >>> netcam_url mjpeg://cam-gar.localdomain:8080/?action=stream >>> >>> I'm running mjpg_streamer on the Pi-cams. It's from: >>> >>> https://github.com/jacksonliam/mjpg-streamer >>> >>> And the command on the cam that uses it is: >>> >>> /usr/bin/mjpg_streamer -o "output_http.so -w ./www" -i >>> "input_raspicam.so -x 800 -y 608 -fps 6" >>> >>> >>> >>> On 11/3/21 01:52, tosiara wrote: >>>> Is your pi cam an http or a mmal? I don't see any source in your >>>> provided config >>>> >>>> If that is http, try to change the url to be mjpg://xxxxx and see if >>>> that makes any difference? >>>> >>>> I suspect this: https://github.com/Motion-Project/motion/issues/1424 >>>> >>>> On Mon, Nov 1, 2021 at 4:08 AM Steve <sch...@msn.com> wrote: >>>>> >>>>> Since upgrading to v4.4 yesterday I'm seeing the following on each >>>>> of 2 >>>>> cameras every second: >>>>> >>>>> [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd >>>>> >>>>> Video is still being recorded as with v4.3.x and this only happens >>>>> on my >>>>> 2 Pi-cams which are set to 800x608 size. My Reolink cams are at >>>>> 1920x1072. >>>>> >>>>> Might I have missed changing an option name? Here is the .conf on >>>>> a Pi-cam: >>>>> >>>>> # ID used to identify this camera from external curl commands. >>>>> camera_id 3 >>>>> >>>>> # Text to be overlayed in the lower left corner of images >>>>> text_left Cam-Gar >>>>> >>>>> # Text to be overlayed in the lower right corner of images. >>>>> text_right %Y_%m_%d\n%T_%q >>>>> >>>>> # X times larger than normal (1-10) >>>>> text_scale 2 >>>>> >>>>> # Container/Codec to used for the movie. See motion_guide.html >>>>> movie_codec hevc >>>>> >>>>> # Target directory for pictures, snapshots and movies >>>>> target_dir /Videos/motion-images/Cam-Gar >>>>> >>>>> ############################################################ >>>>> # Motion detection configuration parameters >>>>> ############################################################ >>>>> >>>>> # Image width in pixels. >>>>> width 800 >>>>> >>>>> # Image height in pixels. >>>>> height 608 >>>>> >>>>> # Maximum number of frames to be captured per second. >>>>> framerate 6 >>>>> #framerate 4 >>>>> >>>>> # Ignore sudden massive light intensity changes. >>>>> lightswitch_percent 30 >>>>> >>>>> # Number of images that must contain motion to trigger an event. >>>>> minimum_motion_frames 3 >>>>> >>>>> # Gap in seconds of no motion detected that triggers the end of an >>>>> event. >>>>> event_gap 10 >>>>> >>>>> # The number of pre-captured (buffered) pictures from before motion. >>>>> pre_capture 30 >>>>> >>>>> # Number of frames to capture after motion is no longer detected. >>>>> post_capture 30 >>>>> >>>>> # Number of frames to ignore when lightswitch has been triggered. >>>>> lightswitch_frames 12 >>>>> >>>>> # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel. >>>>> despeckle_filter EedDl >>>>> >>>>> # Activates the automatic tuning of noise level. >>>>> noise_tune on >>>>> >>>>> # A dynamic, self-learing mask. >>>>> #smart_mask_speed 5 >>>>> >>>>> # Threshold for number of changed pixels that triggers motion. >>>>> threshold 3500 >>>>> >>>>> # Activate the automatic tuning of threshold level. >>>>> threshold_tune on >>>>> >>>>> ############################################################ >>>>> # Script execution configuration parameters >>>>> ############################################################ >>>>> >>>>> # Command to be executed when an event starts. >>>>> ; on_event_start value >>>>> >>>>> # Command to be executed when an event ends. >>>>> ; on_event_end value >>>>> >>>>> # Command to be executed when a movie file is closed. >>>>> ; on_movie_end value >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> -- -------------------------------------------------------------------- Steve Schaeffer When all is said and done... sch...@msn.com there will have been a lot more said than done. -------------------------------------------------------------------- ------------------------------ ------------------------------ 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 185, Issue 5 *******************************************