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. HTTP Pan/Tilt/Zoom (Jake Stride) 2. Re: Motion tuning guide? Missing some large objects but triggering when nothing is there... (MrDave) 3. Youtube Live Streaming (Saito.k) 4. Youtube Live Streaming (Saito.k) ---------------------------------------------------------------------- Message: 1 Date: Mon, 02 Apr 2018 22:15:06 +0000 From: Jake Stride <j...@stride.me.uk> To: motion-user@lists.sourceforge.net Subject: [Motion-user] HTTP Pan/Tilt/Zoom Message-ID: <CAOO87zNri40ewe3uA8j+Z8CkEd8A3upYcRFVQkWB_k87=rv...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I'm struggling to find much on the web and was after pointers to anybody that may have got a PTZ camera to do motion tracking to centre the motion area using HTTP PTZ commands. I'm specifically thinking about the Xiaomi DaFang Hack and if motion could be used to replicate auto tracking of objects. Thanks Jake -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 2 Apr 2018 18:04:30 -0600 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion tuning guide? Missing some large objects but triggering when nothing is there... Message-ID: <f6271c72-8b2a-24f6-a5b6-f36fcd4f9...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" You can use the pre_capture/post_capture to get the surrounding images / frames around the event and also use the conversion specifiers along with the locate_motion to see where it is changing and by how much. There is a guide but no cliff notes.? May want to check out the setup mode or debug(aka motion) images.? The guide for 4.1.1 is at https://motion-project.github.io/motion_config.html Not sure about the truck.? Sort of depends on whether it was going fast, frame rate specified, going slow and blocked most of image and you had lightswitch to something low like 10 etc. On 3/31/2018 11:50 AM, Jim Ls wrote: > Have set up motion on a Pi 2 with a logitech web cam.? It works well > except it generates a lot of false triggers and misses a few large > objects.? Set it to show change number on frame captured and adjusted > threshold.? I set the motion frames to 3 to try to reduce the false > triggers and also use a mask to eliminate areas outside the area of > interest.? Still have issues.? Is there a way to see several frames > around the event and the amount of motion it measures?? It would be > very helpful if there was a guide or cliff notes to tuning - some way > to get a view of what was actually happening rather than just guessing > and trying adjustment of various settings.? Maybe there is such a > guide and I missed it.? I think some of the false detection is wind or > light changes but it missed a FedEx van recently.? I checked the > loading on the processor and it seems reasonable. Pops up to about 20% > for a few samples when motion is detected but I was just using 'top' > and there may be a better way. > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > 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: Tue, 3 Apr 2018 18:52:31 +0900 From: "Saito.k" <sait...@ibara.ne.jp> To: motion <motion-user@lists.sourceforge.net> Subject: [Motion-user] Youtube Live Streaming Message-ID: <832edc4d-d301-3c7e-6cda-5efa6973f...@ibara.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Hi, Everyone I use the Logitech C920R to distribute live to Youtube. The commands are as follows. #! / bin / sh YOUTUBE_URL = "rtmp: //a.rtmp.youtube.com/live2" KEY = "xxxx-yyyy-zzzz" v4l2 - ctl --device = / dev / video0 - set - fmt - video = width = 1280, height = 720 ffmpeg - ar 44100 - ac 2 - f alsa - i hw: 1,0 - f v 4 l 2 - codec: v h 264 - framerate 30 - video-- size 1280 x 720 --itsoffset 0.5 \ -i / dev / video0 - copyyinkf - codec: v copy - codec: a aac - ab 128 k - g 10 - strict experimental \ -f flv $ YOUTUBE_URL / $ KEY 1> / dev / null 2> / dev / null & When I run this command, I get the following message. [alsa @ 0xbbe770] ALSA buffer xrun. [video4linux2,v4l2 @ 0xbc92d0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [alsa @ 0xbbe770] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [flv @ 0xc3d940] Non-monotonous DTS in output stream 0:0; previous: 500, current: 329; changing to 500. This may result in incorrect timestamps in the output file. [flv @ 0xc3d940] Non-monotonous DTS in output stream 0:0; previous: 500, current: 361; changing to 500. This may result in incorrect timestamps in the output file. [flv @ 0xc3d940] Non-monotonous DTS in output stream 0:0; previous: 500, current: 393; changing to 500. This may result in incorrect timestamps in the output file. [flv @ 0xc3d940] Non-monotonous DTS in output stream 0:0; previous: 500, current: 429; changing to 500. This may result in incorrect timestamps in the output file. [flv @ 0xc3d940] Non-monotonous DTS in output stream 0:0; previous: 500, current: 461; changing to 500. This may result in incorrect timestamps in the output file. [flv @ 0xc3d940] Non-monotonous DTS in output stream 0:0; previous: 500, current: 497; changing to 500. This may result in incorrect timestamps in the output file. frame= 1112 fps= 31 q=-1.0 size=?? 14271kB time=00:00:42.16 bitrate=2772.7kbits/s speed=1.18x What is this message telling me? Is there anything to improve? -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/ Kazz Saito ------------------------------ Message: 4 Date: Tue, 3 Apr 2018 19:31:45 +0900 From: "Saito.k" <sait...@ibara.ne.jp> To: motion <motion-user@lists.sourceforge.net> Subject: [Motion-user] Youtube Live Streaming Message-ID: <3aae64ad-685b-56df-837e-57525a9af...@ibara.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed I'm sorry I sent an email by mistake.. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/ Kazz Site ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------------------------------ 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 142, Issue 2 *******************************************