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)


----------------------------------------------------------------------

Message: 1
Date: Mon, 10 Feb 2020 09:45:06 -0500
From: Jack Christensen <christensen.jac...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Missing frames in movies
Message-ID: <f78d7ff8-af93-8425-c10a-c529113ab...@gmail.com>
Content-Type: text/plain; charset="utf-8"

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> 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
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chart.png
Type: image/png
Size: 48383 bytes
Desc: not available

------------------------------



------------------------------

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 20
********************************************

Reply via email to