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: Separate Noise Level for Night Time (Thomas Drebert)
   2. Re: Separate Noise Level for Night Time (Rainer Dorsch)
   3. Small mask area and lightswitch (Arvid Ihnen)


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

Message: 1
Date: Mon, 30 Dec 2019 18:03:33 +0100
From: Thomas Drebert <dreb...@web.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Separate Noise Level for Night Time
Message-ID:
        <cann+32i1obszaokvuuj-lwpjwy3-ga+b_dfntcjc8aew_oz...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hello,

I don't know whether it works with your camera, I use a Raspi Cam in Night mode.
At night the shutter can take up to a second so that the max Framerate
can be 1 fps.
To change only one parameter one of the others should answer, they
have probably already done that.
I have 2 config files, with separate fps, mask noise, threshold and so on.
For a test, switching it depends on which user motion starts.
If a standard user does, you can use crontab.
Use crontab -e and put this at  the end:
0 6 * * * killall motion
1 6 * * * motion -c /your_path//motion1.conf >/dev/null 2>&1
0 18 * * * killall motion
1 18 * * * motion -c /your_path//motion2.conf >/dev/null 2>&1

For sudo use first "sudo su"
and then use crontab -e.

regards
ThomasD

Am Mo., 30. Dez. 2019 um 10:57 Uhr schrieb Rainer Dorsch via
Motion-user <motion-user@lists.sourceforge.net>:
>
> Hi Thomas,
>
> I like the idea to switch the frame rate, I will check tonight, if it reduces
> the noise for my camera and if yes, if it still can detect something.
>
> Do you have a way to switch the frame rate from the command line (i.e. w/o a
> browser)?
>
> Thanks
> Rainer
>
> Am Mittwoch, 25. Dezember 2019, 19:57:04 CET schrieb Thomas Drebert:
> > Hello,
> >
> > I have a similar idea, which includes yours.
> > My Idea was a Day - Nighttime calculator, that switch between two config
> > files. I tried once calculating Daytime on a other PC and send the result
> > via MQTT to the Motion PC, here I switch the config with a batch file. For
> > the Night I need 1 FPS for the Shutter, for the Daytime I can use 10 FPS
> > and more.
> >
> > regards
> > ThomasD
> >
> > Am Mi., 25. Dez. 2019 um 09:27 Uhr schrieb Rainer Dorsch via
> >
> > Motion-user <motion-user@lists.sourceforge.net>:
> > > Hi,
> > >
> > > I use automatic tuning of the noise level
> > >
> > > # Activates the automatic tuning of noise level
> > > noise_tune on
> > >
> > > which works well for my Hikvision DS-2CD2042WD-I during daytime, but poor
> > > during night time. Can I increase the noise level on noise_tune on or set
> > > a
> > > second manual level for night time?
> > >
> > > During night time the camera image becomes black and white, but I think I
> > > would also be feasible to detect the change by other means (e.g. sun
> > > raise/sun set times).
> > >
> > > Thanks
> > > Rainer
> > >
> > > --
> > > Rainer Dorsch
> > > http://bokomoko.de/
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > 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
>
>
> --
> Rainer Dorsch
> http://bokomoko.de/
>
>
>
>
> _______________________________________________
> 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: Mon, 30 Dec 2019 23:38:48 +0100
From: Rainer Dorsch <m...@bokomoko.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Separate Noise Level for Night Time
Message-ID: <2070006.9AE9eOzXlt@h370>
Content-Type: text/plain; charset="us-ascii"

Hi Thomas,

thanks for your quick reply. I can indeed configure the exposure time. 
Resulting in a much better image during night time (certainly persons are 
still not sharp as during daytime).  If there is a way to automate the 
javascript process in a script, that would probably solve much of the problem.

Thanks
Rainer


Am Montag, 30. Dezember 2019, 18:03:33 CET schrieb Thomas Drebert:
> Hello,
> 
> I don't know whether it works with your camera, I use a Raspi Cam in Night
> mode. At night the shutter can take up to a second so that the max
> Framerate can be 1 fps.
> To change only one parameter one of the others should answer, they
> have probably already done that.
> I have 2 config files, with separate fps, mask noise, threshold and so on.
> For a test, switching it depends on which user motion starts.
> If a standard user does, you can use crontab.
> Use crontab -e and put this at  the end:
> 0 6 * * * killall motion
> 1 6 * * * motion -c /your_path//motion1.conf >/dev/null 2>&1
> 0 18 * * * killall motion
> 1 18 * * * motion -c /your_path//motion2.conf >/dev/null 2>&1
> 
> For sudo use first "sudo su"
> and then use crontab -e.
> 
> regards
> ThomasD
> 
> Am Mo., 30. Dez. 2019 um 10:57 Uhr schrieb Rainer Dorsch via
> 
> Motion-user <motion-user@lists.sourceforge.net>:
> > Hi Thomas,
> > 
> > I like the idea to switch the frame rate, I will check tonight, if it
> > reduces the noise for my camera and if yes, if it still can detect
> > something.
> > 
> > Do you have a way to switch the frame rate from the command line (i.e. w/o
> > a browser)?
> > 
> > Thanks
> > Rainer
> > 
> > Am Mittwoch, 25. Dezember 2019, 19:57:04 CET schrieb Thomas Drebert:
> > > Hello,
> > > 
> > > I have a similar idea, which includes yours.
> > > My Idea was a Day - Nighttime calculator, that switch between two config
> > > files. I tried once calculating Daytime on a other PC and send the
> > > result
> > > via MQTT to the Motion PC, here I switch the config with a batch file.
> > > For
> > > the Night I need 1 FPS for the Shutter, for the Daytime I can use 10 FPS
> > > and more.
> > > 
> > > regards
> > > ThomasD
> > > 
> > > Am Mi., 25. Dez. 2019 um 09:27 Uhr schrieb Rainer Dorsch via
> > > 
> > > Motion-user <motion-user@lists.sourceforge.net>:
> > > > Hi,
> > > > 
> > > > I use automatic tuning of the noise level
> > > > 
> > > > # Activates the automatic tuning of noise level
> > > > noise_tune on
> > > > 
> > > > which works well for my Hikvision DS-2CD2042WD-I during daytime, but
> > > > poor
> > > > during night time. Can I increase the noise level on noise_tune on or
> > > > set
> > > > a
> > > > second manual level for night time?
> > > > 
> > > > During night time the camera image becomes black and white, but I
> > > > think I
> > > > would also be feasible to detect the change by other means (e.g. sun
> > > > raise/sun set times).
> > > > 
> > > > Thanks
> > > > Rainer
> > > > 
> > > > --
> > > > Rainer Dorsch
> > > > http://bokomoko.de/
> > > > 
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > 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
> > 
> > --
> > Rainer Dorsch
> > http://bokomoko.de/
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 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


-- 
Rainer Dorsch
http://bokomoko.de/





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

Message: 3
Date: Tue, 31 Dec 2019 00:51:26 +0100
From: Arvid Ihnen <arvid.ih...@arcor.de>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Small mask area and lightswitch
Message-ID: <0b784dd1-8593-49a6-b9ef-3d33b81e4...@arcor.de>
Content-Type: text/plain;       charset=us-ascii

Hi,
   I am using an old low res (640x480) camera with a narrow angle lens for a 
while now. Because of the bad picture quality I want to change it to a newer 
camera with a higher solution.
The new camera has a wide angle lens. So I have a mask file which covers about 
2% of the whole image of the camera. I like to use the lightswitch feature of 
motion, which works fine with the old camera.
Unfortunately it does not work well with the new setup. I assume, there are two 
reasons for this. The main reason seems to be, that for detecting lightswitch, 
the diffs of the masked image is compared with the total image size instead of 
the number of pixels of the mask.
In addition lightswitch_percent is compared with "> 1" (motion.c line 2244) 
which does not allow to set it to 1.  Are these bugs or is it intended?

Best Regards
    Arvid




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



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

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 162, Issue 22
********************************************

Reply via email to