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 (tosiara)
   2. Re: Missing frames in movies (Jack Christensen)


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

Message: 1
Date: Mon, 10 Feb 2020 16:50:32 +0200
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Missing frames in movies
Message-ID:
        <CACHTdwTbf77=afzcocxz061gb64moj9dje0i0hd4dozux8a...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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> 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> 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
> _______________________________________________
> 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: Mon, 10 Feb 2020 10:13:00 -0500
From: Jack Christensen <christensen.jac...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Missing frames in movies
Message-ID: <f5502d0b-f260-7a82-1703-b1c471899...@gmail.com>
Content-Type: text/plain; charset="utf-8"

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
> 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...

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



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

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

Reply via email to