Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Corrupted Images (Ken Cox)
2. Re: Corrupted Images (tosiara)
3. Re: Compile Time Option (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Tue, 17 Mar 2020 15:56:38 -0600
From: Ken Cox <[email protected]>
To: [email protected]
Subject: [Motion-user] Corrupted Images
Message-ID:
<cap4ecbmkguveyw1emuw4eyyfye+x4audev92pyupyzuspsb...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all,
I'm experiencing frequent image corruption. When it happens, it looks like
it's blending 2 images with the changed pixels some weird ghostly looking
mixture of the two images. Often I can tell there is an outline of a person
there, but the details are a corrupted mess. I can provide an example if it
helps. I did find in the configuration help page that without
netcam_use_tcp set to on "rtsp/rtmp images are frequently corrupted and
result in many false positive values and images that appear to be smeared."
Mine was already set to on, so I tried off on a whim. It did not solve this
issue, but did indeed add some additional smearing regions in many images
that seem to be unrelated to the motion.
Has anyone else seen this issue? Any ideas whats wrong or how to fix it?
Thanks,
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Wed, 18 Mar 2020 09:32:51 +0200
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Corrupted Images
Message-ID:
<CACHTdwTDn7y9TW7S2aU5Oc=akkbqomsmug-bbusgqfuwopc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Yes, please provide an example of an image
And also would be nice to see your full config and full log
It could be also an insufficient resource for decoding
If this is really a network issue, you could try to change camera settings,
like CBR over VBR or reduce I-framw interval
On Tue, Mar 17, 2020 at 11:57 PM Ken Cox <[email protected]> wrote:
> Hi all,
>
> I'm experiencing frequent image corruption. When it happens, it looks like
> it's blending 2 images with the changed pixels some weird ghostly looking
> mixture of the two images. Often I can tell there is an outline of a person
> there, but the details are a corrupted mess. I can provide an example if it
> helps. I did find in the configuration help page that without
> netcam_use_tcp set to on "rtsp/rtmp images are frequently corrupted and
> result in many false positive values and images that appear to be smeared."
> Mine was already set to on, so I tried off on a whim. It did not solve this
> issue, but did indeed add some additional smearing regions in many images
> that seem to be unrelated to the motion.
>
> Has anyone else seen this issue? Any ideas whats wrong or how to fix it?
>
> Thanks,
> Ken
> _______________________________________________
> Motion-user mailing list
> [email protected]
> 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: Wed, 18 Mar 2020 09:47:22 +0200
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Compile Time Option
Message-ID:
<cachtdwr3farvl4z1jwfzaisas3mwjqctq6siowf8kex9wnb...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Created an enhancement: https://github.com/Motion-Project/motion/issues/1130
On Tue, Mar 17, 2020 at 12:47 AM Mike Wilson <[email protected]> wrote:
> 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 <[email protected]> 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 <
>> [email protected]> 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
>>> [email protected]
>>> 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
>> [email protected]
>> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 165, Issue 15
********************************************