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: <SOLVED> Motion keeps returning to 15 fps (John B)
   2. Re: Compile Time Option (Mike Wilson)


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

Message: 1
Date: Mon, 16 Mar 2020 13:39:38 -0500
From: John B <yona...@riseup.net>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] <SOLVED> Motion keeps returning to 15 fps
Message-ID: <20200316133938.2971e19e@ACAB.TOSIAR>
Content-Type: text/plain; charset=US-ASCII

On Mon, 16 Mar 2020 11:09:15 +0200
tosiara <tosi...@gmail.com> wrote:

> Reasons why motion provides 15fps instead of configured 30fps:
> 1. camera does not support 30fps for given resolution or pixel format
> 2. low light conditions under which the exposure does not allow running at
> high fps
> 3. low cpu resource
> 
> Start from checking your motion.log which exact frame format and fps is
> being set and update to the latest version if possible
> 

  Okay, got it figured out after seeing something and then catching something
  while watching another video...

  It *is* something that happens apparently when it's dark outside. I guess this
  camera or something in the Motion app lowers it when it gets dark and a lot
  less light, especially these past few nights with heavy clouds and rain during
  the evenings.

  I was watching a video and it happened to be the next in line about a half
  hour after another before it was still 'dark' outside, but this one there was
  finally some light and voila...30 fps.

  Thanks for the assistance, tosiara. It got me looking closer at the videos and
  catching the not-actually a 'problem', heh.

        JB



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

Message: 2
Date: Mon, 16 Mar 2020 18:46:42 -0400
From: Mike Wilson <knobby2...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Compile Time Option
Message-ID:
        <caaveucqnvq-xo07s9dpnoa7gpkeaimeqpuqv94hrv1yswaf...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

It's a hard-coded 4 which is "regular". It would be nice to have that as a
config option.

On Mon, Mar 16, 2020 at 5:43 AM tosiara <tosi...@gmail.com> wrote:

> Hey, could you please explain a bit more what do you mean by "compile time
> option"?
>
> On Sun, Mar 15, 2020 at 1:27 PM Rainer Dorsch via Motion-user <
> motion-user@lists.sourceforge.net> wrote:
>
>> Hi,
>>
>> I am wondering, why alg_noise_tune has a compile time option (last line):
>>
>> void alg_noise_tune(struct context *cnt, unsigned char *new)
>> {
>>     struct images *imgs = &cnt->imgs;
>>     int i;
>>     unsigned char *ref = imgs->ref;
>>     int diff, sum = 0, count = 0;
>>     unsigned char *mask = imgs->mask;
>>     unsigned char *smartmask = imgs->smartmask_final;
>>
>>     i = imgs->motionsize;
>>
>>     for (; i > 0; i--) {
>>         diff = ABS(*ref - *new);
>>
>>         if (mask)
>>             diff = ((diff * *mask++) / 255);
>>
>>         if (*smartmask) {
>>             sum += diff + 1;
>>             count++;
>>         }
>>
>>         ref++;
>>         new++;
>>         smartmask++;
>>     }
>>
>>     if (count > 3)  /* Avoid divide by zero. */
>>         sum /= count / 3;
>>
>>     /* 5: safe, 4: regular, 3: more sensitive */
>>     cnt->noise = 4 + (cnt->noise + sum) / 2;
>> }
>>
>> Doesn't make it sense to have that in motion.conf or camera.conf?
>>
>> 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
-------------- 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 165, Issue 14
********************************************

Reply via email to