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. Question about auto-brightness (Lee Revell)
   2. Re: Question about auto-brightness (Mike Vergara)
   3. Re: Question about auto-brightness (Kinney Baughman)


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

Message: 1
Date: Mon, 9 Nov 2020 13:15:43 -0500
From: Lee Revell <rlrev...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Question about auto-brightness
Message-ID:
        <CACg0Z2X6wPSYXAGWEch=mxsaa1k2u+bcwogonm4dxtgjfrj...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I'm trying to make my outdoor camera produce usable images at night and
during the day. It's a Logitech USB device
(/dev/v4l/by-id/usb-046d_HD_Webcam_C525_16843220-video-index0 is what I use
for video_device).

I discovered it can "see" perfectly well at night (in color even) if I set
exposure to manual, turn the exposure all the way up, crank up the
brightness and contrast, and turn up the hue a little. The frame rate drops
from 10FPS to 5 using the camera's native palette, YUYV (15). (The only
other palette setting it accepts is MJPEG which results in unacceptably
high CPU usage).

Is there a way to get it to automatically apply the "night" or "day"
settings depending on how bright it is outside? auto_brightness set to 2
makes the camera see well enough at night, but then it doesn't
automatically adjust back when it gets light again, so I just get a whited
out image.

Thanks,

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

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

Message: 2
Date: Mon, 9 Nov 2020 10:25:04 -0800
From: Mike Vergara <mpv1...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Question about auto-brightness
Message-ID:
        <cafo3px4+gfeaphxkt-tdnphgsxtj00zpj9k0avkp81m+qwr...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I did some scribbling in Python and crontab, and now I restart Motion at
sunrise and sunset with day-centric and night-centric settings.

Just my 2?.

Regards,
Mike


On Mon, Nov 9, 2020 at 10:18 AM Lee Revell <rlrev...@gmail.com> wrote:

> I'm trying to make my outdoor camera produce usable images at night and
> during the day. It's a Logitech USB device
> (/dev/v4l/by-id/usb-046d_HD_Webcam_C525_16843220-video-index0 is what I use
> for video_device).
>
> I discovered it can "see" perfectly well at night (in color even) if I set
> exposure to manual, turn the exposure all the way up, crank up the
> brightness and contrast, and turn up the hue a little. The frame rate drops
> from 10FPS to 5 using the camera's native palette, YUYV (15). (The only
> other palette setting it accepts is MJPEG which results in unacceptably
> high CPU usage).
>
> Is there a way to get it to automatically apply the "night" or "day"
> settings depending on how bright it is outside? auto_brightness set to 2
> makes the camera see well enough at night, but then it doesn't
> automatically adjust back when it gets light again, so I just get a whited
> out image.
>
> Thanks,
>
> Lee
> _______________________________________________
> 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: Mon, 9 Nov 2020 16:22:46 -0500
From: Kinney Baughman <baughma...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Question about auto-brightness
Message-ID:
        <CAKpJUz7GE=m43urb1foke2+2kxt0ydpobdvv9cqcwwrb+zp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

There's a script that does these sunrise/sunset calculations for you:

https://snapcraft.io/sunwait

There's one for Windows, too.

https://sourceforge.net/projects/sunwait4windows/

On Mon, Nov 9, 2020 at 1:26 PM Mike Vergara <mpv1...@gmail.com> wrote:

> I did some scribbling in Python and crontab, and now I restart Motion at
> sunrise and sunset with day-centric and night-centric settings.
>
> Just my 2?.
>
> Regards,
> Mike
>
>
> On Mon, Nov 9, 2020 at 10:18 AM Lee Revell <rlrev...@gmail.com> wrote:
>
>> I'm trying to make my outdoor camera produce usable images at night and
>> during the day. It's a Logitech USB device
>> (/dev/v4l/by-id/usb-046d_HD_Webcam_C525_16843220-video-index0 is what I use
>> for video_device).
>>
>> I discovered it can "see" perfectly well at night (in color even) if I
>> set exposure to manual, turn the exposure all the way up, crank up the
>> brightness and contrast, and turn up the hue a little. The frame rate drops
>> from 10FPS to 5 using the camera's native palette, YUYV (15). (The only
>> other palette setting it accepts is MJPEG which results in unacceptably
>> high CPU usage).
>>
>> Is there a way to get it to automatically apply the "night" or "day"
>> settings depending on how bright it is outside? auto_brightness set to 2
>> makes the camera see well enough at night, but then it doesn't
>> automatically adjust back when it gets light again, so I just get a whited
>> out image.
>>
>> Thanks,
>>
>> Lee
>> _______________________________________________
>> 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...

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



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

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 173, Issue 7
*******************************************

Reply via email to