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: camera restart (csspcmotion)
   2. Re: firefox does not load >6 "img src' from motion default
      page (mar...@savcom.co.uk)


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

Message: 1
Date: Mon, 15 Jun 2020 13:26:00 -0400
From: csspcmotion <mot...@curtissystemssoftware.com>
To: Tim Skopnik <tim.skop...@aptico.de>, Motion discussion list
        <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] camera restart
Message-ID:
        <99b7101b-c2a0-6fcf-63fb-a6f51ccd9...@curtissystemssoftware.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

I put some debug in I see ring_out and ring_in changing on stream that 
is broken after doing a restart,

looking at the code some more it appears web stuff is only restarted 
when all cameras are restarted.

Also see the text overlay pass is happening and snapshots are still 
working for the individual restarted camera

but the web stream for that individual even after page refresh is static 
with an occasional update on a refresh

On 6/8/20 12:29 PM, Tim Skopnik wrote:
> As i remember i always had to restart a camera thread twice to get a 
> new live stream - but not quite sure if i still have the issue with 
> the current version...
>
> Am 08.06.2020 um 17:15 schrieb csspcmotion:
>>
>> I have been making some mods to motion code ... and I think there 
>> could be an initialization issue that
>> is being push around with my additions which might be breaking 
>> restart ....
>> too early to tell ... in my last attempt with doing an individual 
>> camera restart I could not
>> get the stream in browser to resume ... had a black and then a still 
>> jpg ... I refreshed the browser
>> multiple times and at best could see occasionally a new static jpg. I 
>> further tried it with the other 5
>> streams with same result ... ... I then restart from "all cameras" 
>> web page and they all restarted.
>> also with my mods I had put debug that sees that motion loop on the 
>> restarted camera is iterating.
>> I have been using movie_passthrough on for all 6 cameras in this 
>> setup ...
>> Is there a call I can add to resync stream ... maybe the ring buffer 
>> is hosed ???
>>
>>
>> On 6/8/20 7:25 AM, tosiara wrote:
>>> I tried to restart a camera through the web ui and all works as 
>>> expected. Yes, you need to refresh the page after restart, because 
>>> the web browser does not do that automatically. But after a single 
>>> refresh all works fine, I can see the stream again
>>>
>>> If you can reproduce the issue would be great to see the motion.log 
>>> and/or the screen recording
>>>
>>> On Sun, Jun 7, 2020 at 10:00 AM Bau Dev <baudev.cont...@gmail.com 
>>> <mailto:baudev.cont...@gmail.com>> wrote:
>>>
>>>     I thought I was the only one having this problem...
>>>     It's really weird because the image is stuck but the number of
>>>     FPS is still 5 (I set FPS to 5).
>>>     Also I'm not always able to reproduce this bug. Sometimes
>>>     restarting the camera works well.
>>>
>>>     Le dim. 7 juin 2020 ? 02:52, csspcmotion
>>>     <mot...@curtissystemssoftware.com
>>>     <mailto:mot...@curtissystemssoftware.com>> a ?crit?:
>>>
>>>         is it possible to restart an individual camera ... I thought I
>>>
>>>         had this working ...but when I use web browser and select a
>>>
>>>         given camera then follow by selecting under action restart,
>>>
>>>         the browser image first goes black then after a couple of
>>>
>>>         manual refreshes it is a static picture never getting update
>>>
>>>
>>>
>>>         _______________________________________________
>>>         Motion-user mailing list
>>>         Motion-user@lists.sourceforge.net
>>>         <mailto: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
>>>     <mailto: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
>>
>>
>> _______________________________________________
>> 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
>
>
> -- 
> tim.skop...@aptico.de,http://www.aptico.de/
> aptico GmbH, Alter Hellweg 60, D-44379 Dortmund
> fon: +49 231 185 85-20, fax: +49 231 185 85-25
> Amtsgericht Dortmund: HRB 15084, Gesch?ftsf?hrer:
> Dipl. Ing. Hartmut M?ller, Rudolf Slabe (MA),
> Tim Skopnik
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Mon, 15 Jun 2020 19:24:45 +0100
From: <mar...@savcom.co.uk>
To: "'Motion discussion list'" <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] firefox does not load >6 "img src' from
        motion default page
Message-ID: <000001d64342$3eeb2a30$bcc17e90$@savcom.co.uk>
Content-Type: text/plain;       charset="utf-8"

If I do a netstat for the summary page <server_ip>:8180 when it's displayed on 
Firefox I get the following:

 TCP    <client_ip>:59434   <server_ip>:8182     ESTABLISHED
 TCP    <client_ip>:59435   <server_ip>:8187     ESTABLISHED
 TCP    <client_ip>:59436   <server_ip>:8181     ESTABLISHED
 TCP    <client_ip>:59437   <server_ip>:8183     ESTABLISHED
 TCP    <client_ip>:59438   <server_ip>:8184     ESTABLISHED
 TCP    <client_ip>:59439   <server_ip>:8185     ESTABLISHED
 TCP    <client_ip>:59440   <server_ip>:8186     ESTABLISHED
 TCP    <client_ip>:59441   <server_ip>:8188     ESTABLISHED
 TCP    <client_ip>:59442   <server_ip>:8189     ESTABLISHED



-----Original Message-----
From: rmbusy <rmbusy+mot...@gmail.com> 
Sent: 15 June 2020 18:06
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] firefox does not load >6 "img src' from motion 
default page

I haven't tried opening more than 6 cameras in individual streams, which sounds 
like you're doing, then displaying all of them on a single page. I've found the 
system resources on the motion capture machine pegs at max when I have more 
than a few streams open, so I just use the summary page, then open individual 
streams from there if there's something interesting to look at. Usually I use 
that page just to make sure all the cameras are still up (I need to reset 
something almost every other day).

PerhapsMotion 4.2 and lateradopted the model you have in 4.0, and that's why I 
can't see more than 6 cameras on that page.  I thought I read somewhere in the 
release notes they changed the web server source to something different in 4.2, 
and figured that's what broke it.


-
Rob.


On 6/15/20 9:30 AM, mar...@savcom.co.uk wrote:
> I wasn't aware of this issue (mind you: I am only running motion 4.0 - 
> and all nine of my cameras display correctly on <ipaddr>:8180 using 
> Firefox
> 77.0.1)
>
> At the moment I use a simple web page that runs on my server to 
> display all my cameras on a summary page that is currently showing the 
> nine camera feeds simultaneously.  The page is built up of a sequence of CSS 
> 'flex-containers'
> each containing the following structure:
>
> <div class="gallery">
>       <div class="desc">Camera Three - Alleyway</div>
>       <a href="Camera3.html"><img src="http://<ipaddr>:8183/" 
> alt="Camera Three"></a> </div>
>
> The link to Camera3.html allows you to click on the image of a 
> camera's output and be taken direct to that camera feed.  HTML for 
> this page is just a top-and-tail of this:
>
> <div class="selected">
>      <div class="desc">Camera Three - Alleyway</div>
>      <a href="index.html"><img src="http://<ipaddr>:8183" alt="Camera 
> Three"></a> </div>
>
> The structure is therefore very similar to that of the consolidated / 
> summary page referred to below (http://<IP>:8180).  Am I likely to run 
> into this issue if I upgrade to 4.2 if it's claimed this is a Browser 
> limitation?
>
> Martin
>
>
> -----Original Message-----
> From: rmbusy <rmbusy+mot...@gmail.com>
> Sent: 15 June 2020 17:02
> To: motion-user@lists.sourceforge.net
> Subject: Re: [Motion-user] firefox does not load >6 "img src' from 
> motion default page
>
> The issue is not with the individual streams, it's with the 
> consolidated / summary page that shows all cameras as pseudo thumbnails 
> (http://<IP>:8180).
>
>
> --
> Rob.
>
>
>
> On 6/15/20 1:45 AM, tosiara wrote:
>> Motion has no limitation, it is that your browser prevents making 
>> more than 6 simultaneous connections to the same server If you run 
>> all motion streams on different ports - it will only count as 1 
>> connection per server and port. If all your streams reside on the 
>> same port, like motion:8081/1/stream and motion:8081/2/stream - the 
>> browser will start count them
>>
>> On Mon, Jun 15, 2020 at 10:17 AM rmbusy <rmbusy+mot...@gmail.com> wrote:
>>> That is really not an acceptable solution.  Not everyone uses a 
>>> browser that can be modified in that way.  I use several different 
>>> browsers, on multiple different devices, and not all have the option 
>>> to make changes like adjusting the max persistent connections.
>>>
>>> I've ended up regressing to version 4.1.1 to get around the issue, 
>>> and now I'm looking into Zoneminder (it seems to use more CPU, and 
>>> I'm pushing the limits of the current machine now with Motion).
>>>
>>> Is there some reason this limitation was added starting with Motion 4.2?
>>>
>>>
>>> --
>>> Rob.
>>>
>>>
>>>
>>> On 6/14/20 11:07 AM, tosiara wrote:
>>>> Adjust your Firefox setting in about:config
>>>>
>>>> network.http.max-persistent-connections-per-server
>>>>
>>>> On Sun, Jun 14, 2020 at 8:10 PM csspcmotion 
>>>> <mot...@curtissystemssoftware.com> wrote:
>>>>> i adding a few more cameras ... now firefox (ver 77.0) when 
>>>>> browsing default
>>>>>
>>>>> page at localhost:/8080  does not load more than 6 camera streams
>>>>>
>>>>> in motion ... what adjustments can be made to overcome this issue
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>> _______________________________________________
>>> 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
>
>
> _______________________________________________
> 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



_______________________________________________
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




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



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

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 168, Issue 42
********************************************

Reply via email to