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't pause motion detection at startup (Henry B. Tindall Jr.) ---------------------------------------------------------------------- Message: 1 Date: Tue, 6 Dec 2022 10:13:34 -0600 From: "Henry B. Tindall Jr." <he...@linux-meister.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Can't pause motion detection at startup Message-ID: <a34b30aa-a29d-45ab-8cc1-4dbc956c8...@linux-meister.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Perhaps we're overlooking the Elephant in the room... Maybe we should be addressing the "when I startup motion there's always an immediate event detected" issue, which would preclude the work-around of starting mosion paused... ;) On 12/6/22 09:10, motion-user-requ...@lists.sourceforge.net wrote: > 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't pause motion detection at startup (MrDave) > 2. Re: Can't pause motion detection at startup (Postgarage Graz IT) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 6 Dec 2022 07:11:47 -0700 > From: MrDave<motionmrd...@gmail.com> > To:motion-user@lists.sourceforge.net > Subject: Re: [Motion-user] Can't pause motion detection at startup > Message-ID:<34bc1f68-9bcc-f827-e258-58013ec64...@gmail.com> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Thanks for reporting.? The temporary workaround that should work is to > specify it in the configuration file.? (When it was added as a new > parameter it ignored the command line option.) > > As a side note.....the log also indicates? "Unable to start MHD".? You > may need a reboot to fix that...or you may be running multiple instances > of Motion....If Motion continues with the message that it is unable to > start MHD, there will not be a method to "un-pause" after it starts.? > (MHD is the web interface.) > > > On 12/6/2022 4:46 AM, tosiara wrote: >> Hi, I also reproduced this. Created an issue: >> >> https://github.com/Motion-Project/motion/issues/1600 >> >> On Tue, Dec 6, 2022 at 1:26 PM Postgarage Graz IT via Motion-user >> <motion-user@lists.sourceforge.net> wrote: >> >> Hello! >> >> I'm having the problem, that when I startup motion there's always an >> immediate event detected. >> So I want to start motion with the "-m" parameter but it's either >> ignored or I completely missunderstand its usage. >> >> I installed motion by using the >> pi_bullseye_motion_4.5.0-1_armhf.deb packages from the release >> page and >> I'm running it on Raspbian 11.5. >> >> Thanks in advance >> >> >> pi@minerva:~$ motion -n -m >> [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file >> /etc/motion/motion.conf >> [0:motion] [NTC] [ALL] motion_startup: Logging to syslog >> [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on >> port 8081 >> [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on >> port 8080 >> [0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD >> [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version >> 58.91.100 libavformat version 58.45.100 >> [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log >> level (NTC) >> [0:motion] [NTC] [STR] webu_start_strm: Starting all camera >> streams on >> port 8081 >> [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on >> port 8081 >> [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on >> port 8080 >> [0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD >> [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version >> 58.91.100 libavformat version 58.45.100 >> [0:motion] [NTC] [ALL] translate_init: Language: English >> [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from >> /etc/motion/motion.conf >> [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: >> (null) Service: rtsp: >> [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 6332 >> [1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion >> detection Enabled >> [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP >> [1:ml1] [NTC] [NET] motion_init: Substream not available. Image sizes >> not modulo 16. >> [1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer >> to 1 >> items >> [2:nc2] [NTC] [NET] netcam_rtsp_handler: norm: Camera handler >> thread [2] >> started >> [2:nc2] [NTC] [NET] netcam_rtsp_connect: norm: Camera ((null)) >> connected >> [1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer >> to 4 >> items >> [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting >> event 1. >> [1:ml1] [NTC] [EVT] event_newfile: Writing movie to file: >> /home/pi/motion-images/0-01-2022-12-06-11-37-09.mkv >> [1:ml1] [NTC] [EVT] event_newfile: Writing image to file: >> /home/pi/motion-images/2022-12-06-11-37-11-00.jpg >> [1:ml1] [NTC] [ALL] mlp_actions: End of event 1 >> ^C[1:ml1] [NTC] [ALL] motion_loop: Thread exiting >> [1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down >> complete. >> [0:motion] [NTC] [ALL] main: Threads finished >> [0:motion] [NTC] [ALL] main: Motion terminating >> >> >> _______________________________________________ >> 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Tue, 6 Dec 2022 16:10:06 +0100 > From: Postgarage Graz IT<i...@postgarage.at> > To:motion-user@lists.sourceforge.net > Subject: Re: [Motion-user] Can't pause motion detection at startup > Message-ID:<9542e4c0-6744-9da2-fd2e-074c46432...@postgarage.at> > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > On 12/6/22 15:11, MrDave wrote: >> Thanks for reporting.? The temporary workaround that should work is to >> specify it in the configuration file.? (When it was added as a new >> parameter it ignored the command line option.) > Ahh, thanks! That works and solves my problem - it's even better, > otherwise I would have had to modify how systemd starts the daemon. I > wasn't aware that I can set it in the config file too. > > >> As a side note.....the log also indicates? "Unable to start MHD".? You >> may need a reboot to fix that...or you may be running multiple instances >> of Motion....If Motion continues with the message that it is unable to >> start MHD, there will not be a method to "un-pause" after it starts. >> (MHD is the web interface.) > Didn't notice that yet, but it was just an already used port. > > >> >> On 12/6/2022 4:46 AM, tosiara wrote: >>> Hi, I also reproduced this. Created an issue: >>> >>> https://github.com/Motion-Project/motion/issues/1600 >>> >>> On Tue, Dec 6, 2022 at 1:26 PM Postgarage Graz IT via Motion-user >>> <motion-user@lists.sourceforge.net> wrote: >>> >>> ??? Hello! >>> >>> ??? I'm having the problem, that when I startup motion there's always an >>> ??? immediate event detected. >>> ??? So I want to start motion with the "-m" parameter but it's either >>> ??? ignored or I completely missunderstand its usage. >>> >>> ??? I installed motion by using the >>> ??? pi_bullseye_motion_4.5.0-1_armhf.deb packages from the release >>> ??? page and >>> ??? I'm running it on Raspbian 11.5. >>> >>> ??? Thanks in advance >>> >>> >>> ??? pi@minerva:~$ motion -n -m >>> ??? [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file >>> ??? /etc/motion/motion.conf >>> ??? [0:motion] [NTC] [ALL] motion_startup: Logging to syslog >>> ??? [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on >>> ??? port 8081 >>> ??? [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on >>> ??? port 8080 >>> ??? [0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD >>> ??? [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version >>> ??? 58.91.100 libavformat version 58.45.100 >>> ??? [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log >>> ??? level (NTC) >>> ??? [0:motion] [NTC] [STR] webu_start_strm: Starting all camera >>> ??? streams on >>> ??? port 8081 >>> ??? [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on >>> ??? port 8081 >>> ??? [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on >>> ??? port 8080 >>> ??? [0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD >>> ??? [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version >>> ??? 58.91.100 libavformat version 58.45.100 >>> ??? [0:motion] [NTC] [ALL] translate_init: Language: English >>> ??? [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from >>> ??? /etc/motion/motion.conf >>> ??? [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: >>> ??? (null) Service: rtsp: >>> ??? [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 6332 >>> ??? [1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion >>> ??? detection Enabled >>> ??? [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP >>> ??? [1:ml1] [NTC] [NET] motion_init: Substream not available. Image sizes >>> ??? not modulo 16. >>> ??? [1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer >>> ??? to 1 >>> ??? items >>> ??? [2:nc2] [NTC] [NET] netcam_rtsp_handler: norm: Camera handler >>> ??? thread [2] >>> ??? started >>> ??? [2:nc2] [NTC] [NET] netcam_rtsp_connect: norm: Camera ((null)) >>> ??? connected >>> ??? [1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer >>> ??? to 4 >>> ??? items >>> ??? [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting >>> ??? event 1. >>> ??? [1:ml1] [NTC] [EVT] event_newfile: Writing movie to file: >>> ??? /home/pi/motion-images/0-01-2022-12-06-11-37-09.mkv >>> ??? [1:ml1] [NTC] [EVT] event_newfile: Writing image to file: >>> ??? /home/pi/motion-images/2022-12-06-11-37-11-00.jpg >>> ??? [1:ml1] [NTC] [ALL] mlp_actions: End of event 1 >>> ??? ^C[1:ml1] [NTC] [ALL] motion_loop: Thread exiting >>> ??? [1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down >>> ??? complete. >>> ??? [0:motion] [NTC] [ALL] main: Threads finished >>> ??? [0:motion] [NTC] [ALL] main: Motion terminating >>> >>> >>> ??? _______________________________________________ >>> ??? 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 >> >> _______________________________________________ >> 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 196, Issue 5 > ******************************************* -- *Henry B. Tindall, Jr., SSCP, CISSP, RHCSA * -------------- 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 196, Issue 6 *******************************************