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. Mask for alg_diff_standard in alg.c (Kian Johnston)
   2. Re: Mask for alg_diff_standard in alg.c (Mike Wilson)
   3. question on mask_file + netcam_url, netcam_highres and
      movie_passthrough (Allan Peda)
   4. Re: question on mask_file + netcam_url, netcam_highres and
      movie_passthrough (tosiara)


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

Message: 1
Date: Thu, 2 May 2019 16:11:49 +0000
From: Kian Johnston <kianjohnsto...@outlook.com>
To: "motion-user@lists.sourceforge.net"
        <motion-user@lists.sourceforge.net>
Subject: [Motion-user] Mask for alg_diff_standard in alg.c
Message-ID:
        
<db7pr10mb2057f0f5deeac83c1b3852d3d6...@db7pr10mb2057.eurprd10.prod.outlook.com>
        
Content-Type: text/plain; charset="us-ascii"



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
I have a basic understanding of how it detects motion but I still have 
difficulty understanding how the mask works. If anyone knows how it works, it 
would be greatly appreciated if it could be explained. In alg_diff_standard it 
is used extensively and assistance is needed to understand it.
Thanks

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Thu, 2 May 2019 13:17:46 -0400
From: Mike Wilson <knobby2...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Mask for alg_diff_standard in alg.c
Message-ID:
        <caaveucqarlna_i9sji+fdmxneb+2d4fqd8dnwxsbgemr03n...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Basically, anything that isn't desired has a mask value of 0, so when we
multiply the value of the current pixel by 0 the result is 0 difference. I
would suggest reading the non-mmx version first as it is easier to wrap
your head around.

if (mask)
curdiff = ((int)(curdiff * *mask++) / 255);

On Thu, May 2, 2019 at 12:12 PM Kian Johnston <kianjohnsto...@outlook.com>
wrote:

>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
> I have a basic understanding of how it detects motion but I still have
> difficulty understanding how the mask works. If anyone knows how it works,
> it would be greatly appreciated if it could be explained. In
> alg_diff_standard it is used extensively and assistance is needed to
> understand it.
>
> Thanks
>
>
> _______________________________________________
> 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: 3
Date: Thu, 2 May 2019 15:15:33 -0400
From: Allan Peda <bizco...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] question on mask_file + netcam_url,
        netcam_highres and movie_passthrough
Message-ID:
        <CAEPoj6yhLbkon0W=AL=kx4uv0z4zkx3h-xshnrlg4jn8diy...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Reading through the documentation, it seems (but I do not see it explicitly
stated) that if movie_passthrough is set to "on" and the configuration
includes both netcam_url as well as netcam_highres rtsp streams that the
mask file should match the height to width proportions and resolution of an
image exported from the lower resolution netcam_url feed yes?

I am using a 4 GB, quad core fanless PC that is using 300% CPU, or about
75% usage per core, with two IP cameras.  Since I hope to attach 6 cameras
I am trying to minimize processing load.  My guess is that I should use the
secondary VGA or CIF stream for detection while passing through the native
5 MP H.265+ stream to the capture files.
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 4
Date: Fri, 3 May 2019 10:17:29 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] question on mask_file + netcam_url,
        netcam_highres and movie_passthrough
Message-ID:
        <CACHTdwSED1e2sx9_HzZCtRZV6aLKXOZXe58jqkj=unpg1jr...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Yes, to minimize CPU usage with H264 RTSP cameras, you need to enable
passthrough/highres and specify secondary VGA stream. Also, if
possible, configure frame rate at the camera side so it matches
motion's config

On Thu, May 2, 2019 at 10:16 PM Allan Peda <bizco...@gmail.com> wrote:
>
> Reading through the documentation, it seems (but I do not see it explicitly 
> stated) that if movie_passthrough is set to "on" and the configuration 
> includes both netcam_url as well as netcam_highres rtsp streams that the mask 
> file should match the height to width proportions and resolution of an image 
> exported from the lower resolution netcam_url feed yes?
>
> I am using a 4 GB, quad core fanless PC that is using 300% CPU, or about 75% 
> usage per core, with two IP cameras.  Since I hope to attach 6 cameras I am 
> trying to minimize processing load.  My guess is that I should use the 
> secondary VGA or CIF stream for detection while passing through the native 5 
> MP H.265+ stream to the capture files.
>
> _______________________________________________
> 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 155, Issue 1
*******************************************

Reply via email to