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: Measuring MJPEG Network Stream (Steve Goldsmith) 2. Huge syslog due to motion messages (Mariusz Ciszewski) 3. Re: Huge syslog due to motion messages (Harlan Daneker) 4. Re: motion start / stop / restart command (Mariusz Ciszewski) ---------------------------------------------------------------------- Message: 1 Date: Wed, 30 Dec 2015 10:15:38 -0500 From: Steve Goldsmith <sgj...@gmail.com> Subject: Re: [Motion-user] Measuring MJPEG Network Stream To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAFYqzy=KyTJ1R_UvZKKcbqLv5rQ==re5tgzbhdds_heh8u+...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Take a look at my BYOC project https://github.com/sgjava/byoc. The trick is to use something lower latency like H.264 or only transmit videos of specific events (motion, people detection, etc.). It's always best to use a smart camera if possible and not send every frame over the network. On Wed, Dec 30, 2015 at 5:44 AM, Adam Ali <adamjur...@gmail.com> wrote: > Greetings > > After testing Motion in two different place (my school network and home) > i just realized network traffic have big impact with mjpeg stream quality > > my question is: > > how you measure fps/jitter/latency in mjpeg stream? > > how do you do something like below but with mjpeg/motion as source , > > > > analyzing jitter from RTP source with wireshark > source : https://wiki.wireshark.org/RTP_statistics > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > -- Steven P. Goldsmith -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Fri, 1 Jan 2016 23:28:57 +0100 From: Mariusz Ciszewski <mariusz.ciszew...@gmail.com> Subject: [Motion-user] Huge syslog due to motion messages To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAOpAQyKA24w=dvcke5x5h-pduugls3ehkrcfmtrangpz7eq...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello Is it really necessarry to put into logfile every log about every picture is saved? https://drive.google.com/file/d/0B3n2jx0hGw0LcVZfakZJVHIwUVk/view I mean lines: Jan 1 22:23:06 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-04-01-04.jpg Jan 1 22:23:08 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-05-00-04.jpg Jan 1 22:23:09 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-07-00-04.jpg Jan 1 22:23:11 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-08-00-04.jpg Jan 1 22:23:12 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type 1 saved It makes logfile huge a lot. Please confirm if this is really necessary. Best regards Mariusz -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Fri, 1 Jan 2016 18:56:27 -0500 From: Harlan Daneker <hdane...@gmail.com> Subject: Re: [Motion-user] Huge syslog due to motion messages To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <cac1wkirw9xvkfjnpfrlxzhqxhokcnuwnuvn0yondysq1ljp...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" # Level of log messages [1..9] (EMR, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL). (default: 6 / NTC) log_level 7 The log level can be set in motion.conf On Fri, Jan 1, 2016 at 5:28 PM, Mariusz Ciszewski < mariusz.ciszew...@gmail.com> wrote: > Hello > > Is it really necessarry to put into logfile every log about every picture > is saved? > > https://drive.google.com/file/d/0B3n2jx0hGw0LcVZfakZJVHIwUVk/view > > > I mean lines: > > Jan 1 22:23:06 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type > 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-04-01-04.jpg > Jan 1 22:23:08 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type > 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-05-00-04.jpg > Jan 1 22:23:09 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type > 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-07-00-04.jpg > Jan 1 22:23:11 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type > 1 saved to: /home/motion/tmp-adam/2016-01-01--22-23-08-00-04.jpg > Jan 1 22:23:12 LT310 motion: [5] [NTC] [EVT] event_newfile: File of type > 1 saved > > > It makes logfile huge a lot. > > Please confirm if this is really necessary. > > Best regards > Mariusz > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Sat, 2 Jan 2016 01:19:32 +0100 From: Mariusz Ciszewski <mariusz.ciszew...@gmail.com> Subject: Re: [Motion-user] motion start / stop / restart command To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <caopaqyjqqo2gbk6ffmr-jy6bbusjza6dyc5umdhy0ckta98...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" root@LT310:~# uname -a Linux LT310 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) i686 GNU/Linux root@LT310:~# killall motion root@LT310:~# killall motion root@LT310:~# killall motion motion: no process found root@LT310:~# So how can I killall all motion processes using only one command ? 2015-12-22 13:40 GMT+01:00 Richard Bown <rich...@g8jvm.com>: > On Tue, 22 Dec 2015 14:27:19 +0200 > tosiara <tosi...@gmail.com> wrote: > > > Daemon is not equal to service > > Service is a start and stop script. Those scripts are delivered with the > > package > > I personally use daemon mode and "killall" command > > > > > > Unless he says which OS he is using , this all meaningless, the one that > can be ruled out is > Slackware, because if he was using that, he wouldn't have asked the > question. > > > > On Tue, Dec 22, 2015 at 2:13 PM, Richard Bown <rich...@g8jvm.com> wrote: > > > > > On Tue, 22 Dec 2015 14:05:51 +0200 > > > tosiara <tosi...@gmail.com> wrote: > > > > > > > The service stuff depends on the OS and package version > > > > Which OS and motion package are you using? > > > > There should be a manual somewhere how to create motion service > (can't > > > find > > > > it right now) > > > > > > It should self create if to set daemon =yes in motion.conf > > > right at the top of the file > > > > > > > > > > > > > > > > > > > > On Tue, Dec 22, 2015 at 1:57 PM, Mariusz Ciszewski < > > > > mariusz.ciszew...@gmail.com> wrote: > > > > > > > > > Hmm... > > > > > > > > > > root@LT310:~# killall motion > > > > > motion: no such process > > > > > root@LT310:~# service motion start > > > > > Failed to start motion.service: Unit motion.service failed to > load: No > > > > > such file or directory. > > > > > root@LT310:~# service motion stop > > > > > Failed to stop motion.service: Unit motion.service not loaded. > > > > > root@LT310:~# /usr/local/bin/motion > > > > > [0] [NTC] [ALL] conf_load: Processing thread 0 - config file > > > > > /usr/local/etc/motion/motion.conf > > > > > [0] [NTC] [ALL] config_thread: Processing config file > > > > > /usr/local/etc/motion/wejscie.conf > > > > > [0] [NTC] [ALL] config_thread: Processing config file > > > > > /usr/local/etc/motion/brama.conf > > > > > [0] [NTC] [ALL] config_thread: Processing config file > > > > > /usr/local/etc/motion/garaz.conf > > > > > [0] [NTC] [ALL] config_thread: Processing config file > > > > > /usr/local/etc/motion/pawel.conf > > > > > [0] [NTC] [ALL] config_thread: Processing config file > > > > > /usr/local/etc/motion/adam.conf > > > > > [0] [ALR] [ALL] config_thread: Thread config file > > > > > /usr/local/etc/motion/warsztat.conf not found: No such file or > > > directory > > > > > [0] [NTC] [ALL] motion_startup: Motion Unofficial-Git-2caced3 > Started > > > > > [0] [NTC] [ALL] motion_startup: Logging to syslog > > > > > [0] [NTC] [ALL] motion_startup: Using log type (ALL) log level > (NTC) > > > > > [0] [NTC] [ALL] become_daemon: Motion going to daemon mode > > > > > [0] [NTC] [ALL] become_daemon: Motion going to daemon mode > > > > > root@LT310:~# service motion stop > > > > > Failed to stop motion.service: Unit motion.service not loaded. > > > > > root@LT310:~# > > > > > > > > > > ??? > > > > > > > > > > 2015-12-22 12:07 GMT+01:00 Richard Bown <rich...@g8jvm.com>: > > > > > > > > > >> On Tue, 22 Dec 2015 11:56:19 +0100 > > > > >> Mariusz Ciszewski <mariusz.ciszew...@gmail.com> wrote: > > > > >> > > > > >> > Hello. > > > > >> > > > > > >> > I need to have command to stop and restart motion. > > > > >> > As I know there is no such functionality included into motion by > > > edfault > > > > >> > (?). > > > > >> > > > > > >> > If I know well motion is started in as many instances as many > > > cameras > > > > >> there > > > > >> > are. > > > > >> > > > > > >> > So my idea to stop motion is bash and loop > > > > >> > > > > > >> > Something like this: > > > > >> > > > > > >> > do > > > > >> > killall motion > > > > >> > if pgrep motion is "" then exit > > > > >> > fi > > > > >> > loop > > > > >> > > > > > >> > > > > > >> > Any other ideas? > > > > >> > > > > > >> > > > > > >> > PS - I need this for /etc/monit/monitrc rules (to start / stop > / > > > > >> restart > > > > >> > action) > > > > >> > > > > > >> > Best regards > > > > >> > Mariusz > > > > >> > > > > >> Hiya > > > > >> depending on whether you are running as a daemon and which > flavour of > > > > >> linux you are running > > > > >> > > > > >> try " service motion stop or start or restart" > > > > >> > > > > >> HTH > > > > >> > > > > >> -- > > > > >> -- > > > > >> Best wishes /73 > > > > >> Richard Bown > > > > >> > > > > >> Email : rich...@g8jvm.com > > > > >> HTTP : http://www.g8jvm.com > > > > >> nil carborundum a illegitemis > > > > >> > > > > >> > > > > ################################################################################## > > > > >> Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms > > > 100W & > > > > >> 3cms 5W > > > > >> Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W > > > > >> QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W > > > > >> OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop > > > > >> > > > > >> > > > > ################################################################################## > > > > >> > > > > >> > > > > >> > > > > >> > > > > ------------------------------------------------------------------------------ > > > > >> _______________________________________________ > > > > >> Motion-user mailing list > > > > >> Motion-user@lists.sourceforge.net > > > > >> https://lists.sourceforge.net/lists/listinfo/motion-user > > > > >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > _______________________________________________ > > > > > Motion-user mailing list > > > > > Motion-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/motion-user > > > > > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > > > > > > > > > > > > > > > > > > > > -- > > > -- > > > Best wishes /73 > > > Richard Bown > > > > > > Email : rich...@g8jvm.com > > > HTTP : http://www.g8jvm.com > > > nil carborundum a illegitemis > > > > > > > ################################################################################## > > > Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W > & > > > 3cms 5W > > > Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W > > > QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W > > > OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop > > > > > > > ################################################################################## > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Motion-user mailing list > > > Motion-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/motion-user > > > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > > > > > -- > -- > Best wishes /73 > Richard Bown > > Email : rich...@g8jvm.com > HTTP : http://www.g8jvm.com > nil carborundum a illegitemis > > ################################################################################## > Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W & > 3cms 5W > Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W > QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W > OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop > > ################################################################################## > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ ------------------------------ _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user End of Motion-user Digest, Vol 116, Issue 1 *******************************************