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: RTSP extreme lag / delay (Mike Wilson) 2. Re: RTSP extreme lag / delay (Kevin Elliott) 3. Re: RTSP extreme lag / delay (Tom Kennelly) ---------------------------------------------------------------------- Message: 1 Date: Wed, 6 Feb 2019 19:57:20 +0100 From: Mike Wilson <knobby2...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] RTSP extreme lag / delay Message-ID: <CAAVeUCrxb4e7DCC3PibY-6i=1Rth9XxXtdD4=wbdnbd8sdg...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I would check the resolution and make sure it matches the resolution of your camera in RTSP. Motion will resize to match your resolution and that can take a good deal of CPU. I would also just look at the hardware running motion. RTSP is more taxing than mjpg and it could just be unable to keep up. What is your load average when doing RTSP decoding? On Wed, Feb 6, 2019 at 9:50 AM tosiara <tosi...@gmail.com> wrote: > Does it mean that when you start motion you don't get anything in live > stream for that minute? > > On Tue, Feb 5, 2019 at 11:30 PM Kevin Elliott <kaelli...@gmail.com> wrote: > > > > Hi Motion Users, > > > > I have just upgraded from an old motion 3.x version to 4.2.2. > > I am finding very high lag on the RTSP of my camera, a Foscam C1, of the > magnitude of > 1 minute, and gradually getting worse. > > Whereas before with motion 3.x there was no such noticeable lag. > > Also, to test, using VNC to connect to the same RTSP URL works fine > also, no lag. > > > > Is this a known problem? Are there buffering settings in RTSP that I > should change? > > > > I have reverted settings to use HTTP JPG and the lag has gone, but > thought I should report the issue with RTSP. > > > > Thank you > > > > _______________________________________________ > > 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... ------------------------------ Message: 2 Date: Wed, 6 Feb 2019 22:50:09 +0000 From: Kevin Elliott <kaelli...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] RTSP extreme lag / delay Message-ID: <cah3inzynu1jq6xqdqmhdekttyvgipig28bqnwau6qldf+pp...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Thank you for your replies. @tosiara, after restarting motion the lag is about 10 seconds but gradually grows over time. Right now, as observed on the motion webpage streaming feed, the video is ~3 minutes behind. Events are recorded OK, and captures what happens at the right time OK, but I see in the motion.log the event triggered a minute or so behind wall clock. If I connect to the Foscam camera directly in a browser and view the feed in their app it is keeping up OK. If I use VNC and connect to the RTSP feed it is also keeping up OK. Motion 4 is also monitoring 2 other cameras (ucam247), they also use RTSP and at higher resolutions, and they are keeping up within about 10 seconds OK. So appears to be Foscam C1 and motion 4. I believe this was not a problem with Motion 3.x, which I was using previously fine. I shall try reverting to motion 3 to confirm. On Wed, 6 Feb 2019 at 18:58, Mike Wilson <knobby2...@gmail.com> wrote: > I would check the resolution and make sure it matches the resolution of > your camera in RTSP. Motion will resize to match your resolution and that > can take a good deal of CPU. I would also just look at the hardware running > motion. RTSP is more taxing than mjpg and it could just be unable to keep > up. What is your load average when doing RTSP decoding? > On Wed, Feb 6, 2019 at 9:50 AM tosiara <tosi...@gmail.com> wrote: > >> Does it mean that when you start motion you don't get anything in live >> stream for that minute? >> >> On Tue, Feb 5, 2019 at 11:30 PM Kevin Elliott <kaelli...@gmail.com> >> wrote: >> > >> > Hi Motion Users, >> > >> > I have just upgraded from an old motion 3.x version to 4.2.2. >> > I am finding very high lag on the RTSP of my camera, a Foscam C1, of >> the magnitude of > 1 minute, and gradually getting worse. >> > Whereas before with motion 3.x there was no such noticeable lag. >> > Also, to test, using VNC to connect to the same RTSP URL works fine >> also, no lag. >> > >> > Is this a known problem? Are there buffering settings in RTSP that I >> should change? >> > >> > I have reverted settings to use HTTP JPG and the lag has gone, but >> thought I should report the issue with RTSP. >> > >> > Thank you >> > >> > _______________________________________________ >> > 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 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Wed, 6 Feb 2019 19:47:09 -0500 From: Tom Kennelly <t...@tekennelly.gotdns.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] RTSP extreme lag / delay Message-ID: <bb6572af-df32-4f65-a420-7fee7345b...@tekennelly.gotdns.com> Content-Type: text/plain; charset="us-ascii" Off the wall question but are you watching the camera using Chromium on the Raspberry Pi? I was using Chromium to view motion (4.2.2 ) cameras and Chromium was consuming considerable CPU. My workaround was to view the motion web interface using Firefox on Windows. Note that I need to valid this high CPU usage by Chromium so at this point I am just asking the question. Sent from my iPhone > On Feb 6, 2019, at 5:50 PM, Kevin Elliott <kaelli...@gmail.com> wrote: > > > Thank you for your replies. > @tosiara, after restarting motion the lag is about 10 seconds but gradually > grows over time. Right now, as observed on the motion webpage streaming feed, > the video is ~3 minutes behind. > Events are recorded OK, and captures what happens at the right time OK, but I > see in the motion.log the event triggered a minute or so behind wall clock. > If I connect to the Foscam camera directly in a browser and view the feed in > their app it is keeping up OK. > If I use VNC and connect to the RTSP feed it is also keeping up OK. > Motion 4 is also monitoring 2 other cameras (ucam247), they also use RTSP and > at higher resolutions, and they are keeping up within about 10 seconds OK. > > So appears to be Foscam C1 and motion 4. I believe this was not a problem > with Motion 3.x, which I was using previously fine. > > I shall try reverting to motion 3 to confirm. > > >> On Wed, 6 Feb 2019 at 18:58, Mike Wilson <knobby2...@gmail.com> wrote: >> I would check the resolution and make sure it matches the resolution of your >> camera in RTSP. Motion will resize to match your resolution and that can >> take a good deal of CPU. I would also just look at the hardware running >> motion. RTSP is more taxing than mjpg and it could just be unable to keep >> up. What is your load average when doing RTSP decoding? >>> On Wed, Feb 6, 2019 at 9:50 AM tosiara <tosi...@gmail.com> wrote: >>> Does it mean that when you start motion you don't get anything in live >>> stream for that minute? >>> >>> On Tue, Feb 5, 2019 at 11:30 PM Kevin Elliott <kaelli...@gmail.com> wrote: >>> > >>> > Hi Motion Users, >>> > >>> > I have just upgraded from an old motion 3.x version to 4.2.2. >>> > I am finding very high lag on the RTSP of my camera, a Foscam C1, of the >>> > magnitude of > 1 minute, and gradually getting worse. >>> > Whereas before with motion 3.x there was no such noticeable lag. >>> > Also, to test, using VNC to connect to the same RTSP URL works fine also, >>> > no lag. >>> > >>> > Is this a known problem? Are there buffering settings in RTSP that I >>> > should change? >>> > >>> > I have reverted settings to use HTTP JPG and the lag has gone, but >>> > thought I should report the issue with RTSP. >>> > >>> > Thank you >>> > >>> > _______________________________________________ >>> > 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 -------------- 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 152, Issue 3 *******************************************