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. Ubiquiti Air Cam (Richard Bown) 2. Re: Ubiquiti Air Cam (Mike Wilson) 3. Re: gcc compiler flag to enable all-cores stream processing? (Tony Ross) 4. Re: gcc compiler flag to enable all-cores stream processing? (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Wed, 30 Oct 2019 20:38:52 +0000 From: Richard Bown <rich...@g8jvm.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] Ubiquiti Air Cam Message-ID: <e8525d52-abdf-2e7d-9235-5ca9b1b75...@g8jvm.com> Content-Type: text/plain; charset=utf-8; format=flowed Hi a long time since I posted on this list, so forgive if its already been asked. I acquired recently an Ubiquiti AirCam IP cam. searching on line , I found a reference to its use on zoneminder, something a bit alien to me, that it uses ffmpeg . Has anyone had any success getting one of these ip-cams working with motion. I have tried all 17 video settings in motion.conf without sucess. TIA -- Best wishes /73 Richard Bown Email : rich...@g8jvm.com HTTP : http://www.g8jvm.com ###################################################################### Ham Call: G8JVM . QRV: 50-432 MHz + Microwave Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W, Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W OS: Linux Mint 19.2 x86_64 Tina, on a Dell Inspiron 3580 laptop ###################################################################### Come back Guy Fawkes, all is forgiven ------------------------------ Message: 2 Date: Wed, 30 Oct 2019 18:38:07 -0400 From: Mike Wilson <knobby2...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Ubiquiti Air Cam Message-ID: <CAAVeUCpn6iBdi1W3e-QdUf3h8MfB6RrR6j7XoF94O2Eny-R=p...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I couldn't get RTSP out of my Ubiquiti G3 pro cam, but I really like it. I'm currently running their video software which allows exporting RTSP and pointing motion at that instead of the camera. Not really efficient, but it works for now. I'm not sure what my plan is for the future as Ubiquiti doesn't have an API for their video software and I'm pretty set on an external web page for viewing events at this point. I was hoping that some of the people who were using tensorflow would respond to some of the other threads so I could get motivated to make a change to something. Mike On Wed, Oct 30, 2019 at 5:05 PM Richard Bown <rich...@g8jvm.com> wrote: > Hi > a long time since I posted on this list, so forgive if its already > been asked. > I acquired recently an Ubiquiti AirCam IP cam. searching on line , I > found a reference to its use on zoneminder, something a bit alien to me, > that it uses ffmpeg . > Has anyone had any success getting one of these ip-cams working with > motion. I have tried all 17 video settings in motion.conf without sucess. > TIA > -- > Best wishes /73 > Richard Bown > > Email : rich...@g8jvm.com > > HTTP : http://www.g8jvm.com > > ###################################################################### > > Ham Call: G8JVM . QRV: 50-432 MHz + Microwave > Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W > QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W, > Microwave 1296MHz 110W, 2320MHz 100W, 5760MHz 10W & 10368MHz 5W > OS: Linux Mint 19.2 x86_64 Tina, on a Dell Inspiron 3580 laptop > ###################################################################### > Come back Guy Fawkes, all is forgiven > > > _______________________________________________ > 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, 30 Oct 2019 18:40:29 -0700 From: Tony Ross <ynots...@yahoo.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] gcc compiler flag to enable all-cores stream processing? Message-ID: <e92d77f9-d3dc-19eb-7d3e-f129f9ece...@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed ... and here again are the results of "top" at the time of system failure while monitoring 2 IP cameras at 15 fps: top - 16:42:16 up 1 day,? 1:01,? 2 users,? load average: 3.18, 3.13, 3.08 Tasks: 128 total,?? 2 running, 126 sleeping,?? 0 stopped,?? 0 zombie %Cpu0? :? 0.0 us,? 0.0 sy,? 0.0 ni,100.0 id,? 0.0 wa,? 0.0 hi, 0.0 si,? 0.0 st %Cpu1? :? 3.0 us,? 0.3 sy,? 0.0 ni, 96.7 id,? 0.0 wa,? 0.0 hi, 0.0 si,? 0.0 st %Cpu2? :? 0.0 us,? 0.3 sy,? 0.0 ni, 99.7 id,? 0.0 wa,? 0.0 hi, 0.0 si,? 0.0 st %Cpu3? :? 0.0 us,? 0.0 sy,? 0.0 ni,100.0 id,? 0.0 wa,? 0.0 hi, 0.0 si,? 0.0 st %Cpu4? : 97.7 us,? 1.3 sy,? 0.0 ni,? 0.3 id,? 0.0 wa,? 0.0 hi, 0.7 si,? 0.0 st %Cpu5? : 96.7 us,? 2.6 sy,? 0.0 ni,? 0.3 id,? 0.0 wa,? 0.0 hi, 0.3 si,? 0.0 st %Cpu6? : 65.9 us,? 0.0 sy,? 0.0 ni, 34.1 id,? 0.0 wa,? 0.0 hi, 0.0 si,? 0.0 st %Cpu7? : 47.2 us,? 0.7 sy,? 0.0 ni, 51.2 id,? 0.0 wa,? 0.0 hi, 1.0 si,? 0.0 st MiB Mem :?? 1996.9 total,??? 968.7 free,??? 349.9 used,??? 678.4 buff/cache MiB Swap:??? 998.4 total,??? 997.4 free,????? 1.0 used.?? 1582.0 avail Mem ? PID USER????? PR? NI??? VIRT??? RES??? SHR S? %CPU? %MEM TIME+ COMMAND ?1552 tross???? 20?? 0? 513032 267356?? 7216 S 315.0? 13.1 3863:40 motion ??? 8 root????? 20?? 0?????? 0????? 0????? 0 I?? 0.3?? 0.0 2:08.46 rcu_preempt ? 268 root????? 20?? 0?? 16064?? 3232?? 2588 S?? 0.3?? 0.2 4:33.17 systemd-udevd ?1559 root????? 20?? 0??? 4660?? 1856?? 1368 R?? 0.3?? 0.1 5:43.55 top ... On 10/28/19 2:07 PM, I wrote: > On 10/27/19 11:19 AM, tosiara wrote: >> Please provide the links to the odroid forum discussion > > I revived an old thread because my search indicated a similar hardware > question: > https://forum.odroid.com/viewtopic.php?f=95&t=34278&p=271214#p27121 > >> You can also try to compile the following test: >> >> https://gist.github.com/tosiara/3c9739744b6dd17d8f1ea3c0d99d8b9d >> gcc threads.c -o threads -lpthread >> >> Run it as: >> >> ./threads 8 >> >> Does it cause shutdown? > > Thank you, no shutdown so far and it's been running longer (almost 2 > days) than when motion was, but I'll leave it running until Wednesday > when a replacement wifi PTZ camera arrives. I did have a commercial > power interruption this morning and the sbc power-cycled, but here's > the status as of then: > > top - 09:38:06 up 1 day, 21:50,? 2 users,? load average: 8.00, 8.00, 8.04 > Tasks: 130 total,?? 1 running, 129 sleeping,?? 0 stopped,?? 0 zombie > %Cpu0? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu1? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu2? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu3? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu4? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu5? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu6? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > %Cpu7? :100.0 us,? 0.0 sy,? 0.0 ni,? 0.0 id,? 0.0 wa,? 0.0 hi, 0.0 > si,? 0.0 st > MiB Mem :?? 1996.9 total,?? 1729.4 free,???? 91.9 used,??? 175.6 > buff/cache > MiB Swap:??? 998.4 total,??? 998.4 free,????? 0.0 used.?? 1837.3 avail > Mem > > ? PID USER????? PR? NI??? VIRT??? RES??? SHR S? %CPU? %MEM TIME+ COMMAND > ?5044 tross???? 20?? 0?? 67116??? 420??? 368 S 799.0?? 0.0 8529:09 > threads > ?5382 tross???? 20?? 0??? 4660?? 2088?? 1732 R?? 0.3?? 0.1 3:13.27 top > ??? 1 root????? 20?? 0?? 31056?? 6736?? 5184 S?? 0.0?? 0.3 0:06.41 > systemd ------------------------------ Message: 4 Date: Thu, 31 Oct 2019 08:11:18 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] gcc compiler flag to enable all-cores stream processing? Message-ID: <cachtdwsczldw-qs5eyjrgyo-o3pkxybazhngq+swggm_duy...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Can you be more specific, what do you call a "failure"? Is there kernel panic? Motion segfault? Any errors in syslog? System hangs or reboots? What OS are you running now? Which ffmpeg version installed? Have you been able to connect serial console? Logs required: motion configure, compile and run On Thu, Oct 31, 2019 at 3:41 AM Tony Ross via Motion-user <motion-user@lists.sourceforge.net> wrote: > > ... and here again are the results of "top" at the time of system > failure while monitoring 2 IP cameras at 15 fps: > > top - 16:42:16 up 1 day, 1:01, 2 users, load average: 3.18, 3.13, 3.08 > Tasks: 128 total, 2 running, 126 sleeping, 0 stopped, 0 zombie > %Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > %Cpu1 : 3.0 us, 0.3 sy, 0.0 ni, 96.7 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > %Cpu2 : 0.0 us, 0.3 sy, 0.0 ni, 99.7 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > %Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > %Cpu4 : 97.7 us, 1.3 sy, 0.0 ni, 0.3 id, 0.0 wa, 0.0 hi, 0.7 si, > 0.0 st > %Cpu5 : 96.7 us, 2.6 sy, 0.0 ni, 0.3 id, 0.0 wa, 0.0 hi, 0.3 si, > 0.0 st > %Cpu6 : 65.9 us, 0.0 sy, 0.0 ni, 34.1 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > %Cpu7 : 47.2 us, 0.7 sy, 0.0 ni, 51.2 id, 0.0 wa, 0.0 hi, 1.0 si, > 0.0 st > MiB Mem : 1996.9 total, 968.7 free, 349.9 used, 678.4 buff/cache > MiB Swap: 998.4 total, 997.4 free, 1.0 used. 1582.0 avail Mem > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 1552 tross 20 0 513032 267356 7216 S 315.0 13.1 3863:40 motion > 8 root 20 0 0 0 0 I 0.3 0.0 2:08.46 > rcu_preempt > 268 root 20 0 16064 3232 2588 S 0.3 0.2 4:33.17 > systemd-udevd > 1559 root 20 0 4660 1856 1368 R 0.3 0.1 5:43.55 top > ... > > On 10/28/19 2:07 PM, I wrote: > > On 10/27/19 11:19 AM, tosiara wrote: > >> Please provide the links to the odroid forum discussion > > > > I revived an old thread because my search indicated a similar hardware > > question: > > https://forum.odroid.com/viewtopic.php?f=95&t=34278&p=271214#p27121 > > > >> You can also try to compile the following test: > >> > >> https://gist.github.com/tosiara/3c9739744b6dd17d8f1ea3c0d99d8b9d > >> gcc threads.c -o threads -lpthread > >> > >> Run it as: > >> > >> ./threads 8 > >> > >> Does it cause shutdown? > > > > Thank you, no shutdown so far and it's been running longer (almost 2 > > days) than when motion was, but I'll leave it running until Wednesday > > when a replacement wifi PTZ camera arrives. I did have a commercial > > power interruption this morning and the sbc power-cycled, but here's > > the status as of then: > > > > top - 09:38:06 up 1 day, 21:50, 2 users, load average: 8.00, 8.00, 8.04 > > Tasks: 130 total, 1 running, 129 sleeping, 0 stopped, 0 zombie > > %Cpu0 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu1 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu2 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu3 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu4 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu5 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu6 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > %Cpu7 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 > > si, 0.0 st > > MiB Mem : 1996.9 total, 1729.4 free, 91.9 used, 175.6 > > buff/cache > > MiB Swap: 998.4 total, 998.4 free, 0.0 used. 1837.3 avail > > Mem > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 5044 tross 20 0 67116 420 368 S 799.0 0.0 8529:09 > > threads > > 5382 tross 20 0 4660 2088 1732 R 0.3 0.1 3:13.27 top > > 1 root 20 0 31056 6736 5184 S 0.0 0.3 0:06.41 > > systemd > > > > _______________________________________________ > 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 160, Issue 24 ********************************************