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: Motion blockers (Rainer Dorsch)
   2. Identical cameras (chuck elliot)
   3. Finding out changed pixels (Rainer Dorsch)
   4. Re: Finding out changed pixels (Jack Christensen)


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

Message: 1
Date: Fri, 28 Feb 2020 15:36:38 +0100
From: Rainer Dorsch <m...@bokomoko.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Motion blockers
Message-ID: <1692425.2RfioLVtyh@nanette>
Content-Type: text/plain; charset="us-ascii"

Can anybody tell, if lightswitch_percent refers to the entire image or only to 
the part which is not removed by the masks?

Thanks
Rainer

On Dienstag, 25. Februar 2020 22:45:33 CET Colin Law wrote:
> Also there is the mask file feature that enables you to define down to
> pixel level which areas to watch.
> 
> Colin
> 
> On Tue, 25 Feb 2020 at 18:45, <ptm5...@blackfoot.net> wrote:
> > In the Configuration file (general, or individual camera)
> > lightswitch_percent and lightswitch_frames have worked pretty well for me.
> > 
> > On 2/25/20 10:52 AM, Rainer Dorsch via Motion-user wrote:
> > > Hi,
> > > 
> > > I used zoneminder some time back, but due to the much better and more
> > > reliable packaging for Debian I moved to motion.
> > > 
> > > One nice feature which was very useful for me in zoneminder to reduce
> > > false
> > > motion positives, was to define a zone (mask in motion), which blocked
> > > motion if changes have been visible there.
> > > 
> > > A typical example would be to block motion detection when e.g. sun
> > > illumination changes:
> > > - declare one or multiple zones at e.g. a wall at a height of e.g. 4 m,
> > > where you would never expect motion
> > > - if motion is detected there, then any detection in the areas to
> > > monitor is likely to be a false alarm as well.
> > > 
> > > Are there any recommended options in motion to achieve something
> > > similar?
> > > 
> > > How do you handle changing sun or other illumination in motion?
> > > 
> > > Many thanks
> > > Rainer
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > 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







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

Message: 2
Date: Sat, 29 Feb 2020 10:50:33 +0000
From: chuck elliot <c.ell...@pobox.com>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Identical cameras
Message-ID: <befa026a3cbcac976cf1d82f0344770e669051b9.ca...@pobox.com>
Content-Type: text/plain; charset="UTF-8"

Hi,

I have a problem using 2 identical logitec cameras with motion 3.2
on Centos 6.10.

Bus 001 Device 005: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 006: ID 046d:0825 Logitech, Inc. Webcam C270

I have created 2 thread files with the respective 'videodevice'
parameters but only one camera connects, the other giving a grey
image.

Needless to say, both cameras work fine on their own.

Debug level 9 output doesn't appear to help a lot.

'grateful for any suggestions.

motion's output follows.

[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Processing config file camera1.conf
[0] Processing config file camera2.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3348992 LIBAVFORMAT_BUILD 3343872
[0] Thread 1 is from camera1.conf
[0] Thread 2 is from camera2.conf
[2] Thread 2 started
[2] cap.driver: "uvcvideo"
[2] cap.card: "UVC Camera (046d:0825)"
[2] cap.bus_info: "usb-0000:00:03.3-2"
[2] cap.capabilities=0x04000001
[2] - VIDEO_CAPTURE
[2] - STREAMING
[1] Thread 1 started
[2] Test palette YUYV (1280x960)
[2] Using palette YUYV (1280x960) bytesperlines 2560 sizeimage 2457600
colorspace 00000008
[2] found control 0x00980900, "Brightness", range 0,255 
[2]     "Brightness", default 128, current 128
[2] found control 0x00980901, "Contrast", range 0,255 
[2]     "Contrast", default 32, current 32
[2] found control 0x00980902, "Saturation", range 0,255 
[2]     "Saturation", default 32, current 32
[2] found control 0x00980913, "Gain", range 0,255 
[2]     "Gain", default 64, current 64
[2] mmap information:
[2] frames=4
[2] 0 length=2457600
[2] 1 length=2457600
[2] 2 length=2457600
[2] 3 length=2457600
[2] Using V4L2
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:03.3-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[2] Resizing pre_capture buffer to 1 items
[1] Test palette YUYV (1280x960)
[1] Using palette YUYV (1280x960) bytesperlines 2560 sizeimage 2457600
colorspace 00000008
[1] found control 0x00980900, "Brightness", range 0,255 
[1]     "Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,255 
[1]     "Contrast", default 32, current 32
[1] found control 0x00980902, "Saturation", range 0,255 
[1]     "Saturation", default 32, current 32
[1] found control 0x00980913, "Gain", range 0,255 
[1]     "Gain", default 64, current 64
[1] mmap information:
[1] frames=4
[1] 0 length=2457600
[1] 1 length=2457600
[1] 2 length=2457600
[1] 3 length=2457600
[1] Error starting stream VIDIOC_STREAMON: 
[1] ioctl (VIDIOCGCAP): 
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] Resizing pre_capture buffer to 6 items
[2] Started stream webcam server in port 8082
[2] Resizing pre_capture buffer to 6 items
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:03.3-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: 
[1] ioctl (VIDIOCGCAP): 
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:03.3-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: 
[1] ioctl (VIDIOCGCAP): 
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:03.3-1"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0 VIDIOC_S_INPUT: 
[1] ioctl (VIDIOCGCAP): 





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

Message: 3
Date: Sat, 29 Feb 2020 12:04:02 +0100
From: Rainer Dorsch <m...@bokomoko.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: [Motion-user] Finding out changed pixels
Message-ID: <2921283.imOaxW9GYQ@nanette>
Content-Type: text/plain; charset="us-ascii"

Hi,

is there an easy way to find out the number of changed pixels, which get 
compared against threshold.

I have seen picture_output_motion, but counting the blue pixels in there seems 
to me somewhat unneeded reverse engineering ;-)

Thanks
Rainer





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

Message: 4
Date: Sat, 29 Feb 2020 07:17:47 -0500
From: Jack Christensen <christensen.jac...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Finding out changed pixels
Message-ID: <15a6c950-c239-a30c-83ec-c48cc04cc...@gmail.com>
Content-Type: text/plain; charset="utf-8"

Maybe the text_changes option?

On 2/29/20 6:04 AM, Rainer Dorsch via Motion-user wrote:
> Hi,
>
> is there an easy way to find out the number of changed pixels, which get 
> compared against threshold.
>
> I have seen picture_output_motion, but counting the blue pixels in there 
> seems 
> to me somewhat unneeded reverse engineering ;-)
>
> Thanks
> Rainer
>
>
>
>
> _______________________________________________
> 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 44
********************************************

Reply via email to