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: Blurred and Low framerate (Andrew Brooks) 2. Re: Blurred and Low framerate (m...@1337mail.net) 3. Re: Blurred and Low framerate (Andrew Brooks) ---------------------------------------------------------------------- Message: 1 Date: Wed, 14 Jun 2017 21:57:11 +0100 From: Andrew Brooks <a...@sat.dundee.ac.uk> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Blurred and Low framerate Message-ID: <CAHOfOo1g+=vaszhwgvnmgxy54bju8vkmrzjaod7gzuvxjy-...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" On 14 June 2017 at 17:37, Steve Goldsmith <sgj...@gmail.com> wrote: > Haha, yea I should have mentioned MJPEG mode. YUYV is mostly worthless for > videos since it takes so much CPU power to process the frames and the > amount of data required to go over the USB bus. I cover that in one of my > projects https://github.com/sgjava/opencv-chip#mjpg-streamer-performance. > I'm actually able to do computer vision algorithms on a single core $9 SBC > including encoding video and part of that is using an MJPEG USB camera. > Thanks for the info - very interesting! -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Thu, 15 Jun 2017 02:57:38 -0500 From: m...@1337mail.net To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Blurred and Low framerate Message-ID: <678deaef-0cce-790e-4550-d47b5f2a7...@1337mail.net> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hmmm, I went from 17 to 8 and the frame rate went down AND I started getting "Video device is unavailable". It seems like 2 (V4L2_PIX_FMT_SBGGR8 : 2 'BA81') is giving me the best performance (on a Raspberry Pi3 with a USB cam).... What's the least CPU intensive setting? > Hi > Thanks for replying. > It's the latest code from git, and takes 2% CPU (on a 24-core Xeon) so I > don't think it's the CPU ;-) > > I tried the brightness control in the conf file without success. > But thanks to your help I changed exposure_auto with v4l2-ctl and it > really helped! > (focus_auto was suggested but it doesn't have that option) > > I then discovered that the camera has both MJPEG and YUYV (4:2:2) and the > latter is limited to 5 fps > so I changed the v4l2_palette config from 17 to 8 and now I get 30 fps > (there's a lot of chroma noise now but at least it works) > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Thu, 15 Jun 2017 09:40:31 +0100 From: Andrew Brooks <a...@sat.dundee.ac.uk> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Blurred and Low framerate Message-ID: <cahofoo0muvrqwo1qsmyswbxt5bjggbbeu96fp1evs-tlpp-...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" On 15 June 2017 at 08:57, <m...@1337mail.net> wrote: > Hmmm, I went from 17 to 8 and the frame rate went down AND I started > getting "Video device is unavailable". It seems like 2 > (V4L2_PIX_FMT_SBGGR8 : 2 'BA81') is giving me the best performance (on a > Raspberry Pi3 with a USB cam).... > What's the least CPU intensive setting? > I can't answer your question directly but if you run v4l2-ctl --list-formats-ext you might see a selection of "Pixel Format:" lines which correspond with the v4l2_palette option in the config file. I'm guessing if you pick a v4l2_palette option that corresponds with a Pixel Format then CPU usage goes down? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ 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 132, Issue 9 *******************************************