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: Finding out changed pixels (Thomas Drebert)
   2. Re: Finding out changed pixels (Rainer Dorsch)
   3. Replay Script for motion videos to optimize parameters
      (Rainer Dorsch)
   4. Re: Identical cameras (tosiara)


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

Message: 1
Date: Sat, 29 Feb 2020 12:18:14 +0100
From: Thomas Drebert <dreb...@web.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Finding out changed pixels
Message-ID:
        <cann+32iycw97w0nvvfqlgvf5fmor18knzz24ck0k_ohvwdt...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hello,

############################################################
# Target Directories and filenames For Images And Films
# For the options snapshot_, picture_, movie_ and timelapse_filename
# you can use conversion specifiers
# %Y = year, %m = month, %d = date,
# %H = hour, %M = minute, %S = second,
# %v = event, %q = frame number, %t = camera id number,
# %D = changed pixels, %N = noise level,
# %i and %J = width and height of motion area,
# %K and %L = X and Y coordinates of motion center
# %C = value defined by text_event
# Quotation marks round string are allowed.
############################################################

%D = changed pixels

regards
ThomasD

Am Sa., 29. Feb. 2020 um 12:07 Uhr schrieb Rainer Dorsch via
Motion-user <motion-user@lists.sourceforge.net>:
>
> 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



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

Message: 2
Date: Sat, 29 Feb 2020 14:06:33 +0100
From: Rainer Dorsch <m...@bokomoko.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Finding out changed pixels
Message-ID: <54607635.1Xsv9Hqs5F@nanette>
Content-Type: text/plain; charset="us-ascii"

Yes, that works well, many thanks.

Rainer

On Samstag, 29. Februar 2020 13:17:47 CET Jack Christensen wrote:
> 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







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

Message: 3
Date: Sat, 29 Feb 2020 14:59:37 +0100
From: Rainer Dorsch <m...@bokomoko.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: [Motion-user] Replay Script for motion videos to optimize
        parameters
Message-ID: <197895160.xgORhsPlvn@nanette>
Content-Type: text/plain; charset="us-ascii"

Hello,

I have written a small script which replays a collection of motion videos and 
with different options settings to optimize parameters (or to check that a new 
parameter setting did not break anything). If somebody finds it useful, feel 
free to use it:

http://bokomoko.de/~rd/replay_motion/

Any feedback is welcome.

Thanks
Rainer





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

Message: 4
Date: Sat, 29 Feb 2020 17:03:39 +0200
From: tosiara <tosi...@gmail.com>
To: c.ell...@pobox.com,  Motion discussion list
        <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Identical cameras
Message-ID:
        <CACHTdwQxjFMiBzfFtfhHm=Sw=yneh4lkgp0mputcvxvrfof...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This is USB bandwidth issue. Check dmesg for related errors
Solution is to use MJPEG or reduce resolution

On Sat, Feb 29, 2020 at 12:51 PM chuck elliot <c.ell...@pobox.com> wrote:

> 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):
>
>
>
>
> _______________________________________________
> 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 45
********************************************

Reply via email to