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: Missing frames in movies (Jack Christensen) 2. Re: Missing frames in movies (manu.kemppai...@yahoo.com) ---------------------------------------------------------------------- Message: 1 Date: Tue, 11 Feb 2020 20:17:19 -0500 From: Jack Christensen <christensen.jac...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Missing frames in movies Message-ID: <340444d3-54d2-8f11-0601-c7e06d092...@gmail.com> Content-Type: text/plain; charset=utf-8 Out of 651 events on three machines, a few report something other than Source FPS 4: [1:ml1:CAM1] [INF] [EVT] [Feb 11 07:31:31] event_new_video: Source FPS 2 [1:ml1:CAM1] [INF] [EVT] [Feb 11 15:55:59] event_new_video: Source FPS 3 [1:ml1:CAM1] [INF] [EVT] [Feb 11 17:59:27] event_new_video: Source FPS 1 [1:ml1:CAM1] [INF] [EVT] [Feb 11 18:01:55] event_new_video: Source FPS 5 [1:ml1:CAM2] [INF] [EVT] [Feb 11 17:32:16] event_new_video: Source FPS 3 [1:ml1:CAM3] [INF] [EVT] [Feb 11 07:30:28] event_new_video: Source FPS 3 [1:ml1:CAM3] [INF] [EVT] [Feb 11 10:15:50] event_new_video: Source FPS 3 [1:ml1:CAM3] [INF] [EVT] [Feb 11 10:16:52] event_new_video: Source FPS 5 [1:ml1:CAM3] [INF] [EVT] [Feb 11 16:03:33] event_new_video: Source FPS 3 I also added %fps to the movie_filename. Interestingly, in one case, the Source FPS message does not match the fps in the file name. The message with FPS 1 above corresponds to 1-20200211-175926-092-2.mkv (2 fps). 1-20200211-073130-029-2.mkv 1-20200211-155559-046-3.mkv 1-20200211-175926-092-2.mkv 1-20200211-180154-094-5.mkv 2-20200211-173216-084-3.mkv 3-20200211-073027-034-3.mkv 3-20200211-101550-070-3.mkv 3-20200211-101652-071-5.mkv 3-20200211-160333-041-3.mkv On 2/10/20 10:26 AM, tosiara wrote: > I do not recall exactly, maybe > For sure you can modify your file name format and add "%fps" - then > you will see actual framerate in the file name with your current log level > > On Mon, Feb 10, 2020 at 5:13 PM Jack Christensen > <christensen.jac...@gmail.com <mailto:christensen.jac...@gmail.com>> > wrote: > > Would I need a log_level greater than 6 for that? > > With log_level 6, I just see framerate in one message at startup, > e.g.: > > mmalcam_start: MMAL Camera thread starting... for camera > (vc.ril.camera) of 896 x 504 at 4 fps > > For each event, I only see three lines, e.g.: > > event_newfile: File of type 8 saved to: > /home/jack/motion-output/2-20200209-023725-001.mkv > motion_detected: Motion detected - starting event 1 > mlp_actions: End of event 1 > event_newfile: File of type 8 saved to: > /home/jack/motion-output/2-20200209-023940-002.mkv > motion_detected: Motion detected - starting event 2 > mlp_actions: End of event 2 > event_newfile: File of type 8 saved to: > /home/jack/motion-output/2-20200209-024138-003.mkv > motion_detected: Motion detected - starting event 3 > mlp_actions: End of event 3 > > On 2/10/20 9:50 AM, tosiara wrote: >> Check for FPS in your log when motion records a movie - it will >> reflect the real frame rate that motion is processing >> >> On Mon, Feb 10, 2020 at 4:45 PM Jack Christensen >> <christensen.jac...@gmail.com >> <mailto:christensen.jac...@gmail.com>> wrote: >> >> I also wondered about resource issues on such modest >> machines. Watching >> the CPU utilization and load averages, I didn't think I saw >> too much >> cause for concern. The 15-minute load average runs about 0.33 >> and top >> shows about 250MB available memory. >> >> I wonder if Motion gives any indication of resource issues. I >> did try >> increasing the log_level setting but did not see anything in >> the logs. >> >> I collected 24-hour load stats from my camera machines. All >> are Pi Zero >> Ws with the V2 Pi camera. Attached is a chart of the data for >> cam2, >> which had the largest spike. There were several longer than >> usual movies >> at about that time, so that may account for the spike. >> >> They do get busy at times for relatively short intervals, but the >> missing frames are consistent, I'm pretty sure they're in >> every movie. >> >> hostname? avg15? avg05? avg01? max15? max05? max01 >> cam1????? 0.35?? 0.36?? 0.36?? 0.55?? 0.66?? 1.03 >> cam2????? 0.32?? 0.33?? 0.33?? 0.59?? 1.00?? 1.54 >> cam3????? 0.31?? 0.32?? 0.33?? 0.56?? 0.77?? 1.31 >> >> >> On 2/8/20 5:55 PM, Dave Howorth wrote: >> > On Sat, 8 Feb 2020 15:57:55 -0500 >> > Jack Christensen <christensen.jac...@gmail.com >> <mailto:christensen.jac...@gmail.com>> wrote: >> > >> >> Once Motion starts recording a movie, should it >> continually capture >> >> frames at the configured rate until the end of the event? >> I am using a >> >> framerate of 4, but missing frames are common, and only >> seeing one >> >> frame per second in the recorded movie is not unusual. If >> this is >> >> expected behavior, what causes it? >> > Dunno, but I see similar things on my system and I put it >> down to >> > limited processor power. My system is an older pi and my >> camera is >> > USB-connected, which I believe make my problems worse so >> I've never got >> > around to investigating further. I see a frame rate of 1 or >> 2 frames a >> > second, very rarely a third. >> > >> >> I am using Raspberry Pi Zero Ws with V2 Pi cameras. I have >> observed >> >> this with Motion 4.2.2 both on Raspbian Lite Stretch and >> Raspbian Lite >> >> Buster, but it seems more pronounced with Buster. >> >> >> >> Config file attached. >> > >> > _______________________________________________ >> > Motion-user mailing list >> > Motion-user@lists.sourceforge.net >> <mailto: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 >> <mailto: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 >> <mailto: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 > <mailto: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 ------------------------------ Message: 2 Date: Wed, 12 Feb 2020 12:19:28 +0200 From: manu.kemppai...@yahoo.com To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Missing frames in movies Message-ID: <8d4864bd-7799-4320-8b82-69c9ebe83...@email.android.com> Content-Type: text/plain; charset="us-ascii" 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 164, Issue 25 ********************************************