Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: motion start / stop / restart command (tosiara)
2. Re: motion start / stop / restart command (Richard Bown)
3. Measuring MJPEG Network Stream (Adam Ali)
----------------------------------------------------------------------
Message: 1
Date: Tue, 22 Dec 2015 14:27:19 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] motion start / stop / restart command
To: Motion discussion list <[email protected]>
Message-ID:
<cachtdwtr6xzvydp3x2snqomcwtjm1c450+na5c39z+htrnv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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
On Tue, Dec 22, 2015 at 2:13 PM, Richard Bown <[email protected]> wrote:
> On Tue, 22 Dec 2015 14:05:51 +0200
> tosiara <[email protected]> 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 <
> > [email protected]> 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 <[email protected]>:
> > >
> > >> On Tue, 22 Dec 2015 11:56:19 +0100
> > >> Mariusz Ciszewski <[email protected]> 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 : [email protected]
> > >> 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
> > >> [email protected]
> > >> https://lists.sourceforge.net/lists/listinfo/motion-user
> > >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> > >>
> > >
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Motion-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/motion-user
> > > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> > >
> > >
>
>
>
> --
> --
> Best wishes /73
> Richard Bown
>
> Email : [email protected]
> 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
> [email protected]
> 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: 2
Date: Tue, 22 Dec 2015 12:40:20 +0000
From: Richard Bown <[email protected]>
Subject: Re: [Motion-user] motion start / stop / restart command
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII
On Tue, 22 Dec 2015 14:27:19 +0200
tosiara <[email protected]> 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 <[email protected]> wrote:
>
> > On Tue, 22 Dec 2015 14:05:51 +0200
> > tosiara <[email protected]> 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 <
> > > [email protected]> 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 <[email protected]>:
> > > >
> > > >> On Tue, 22 Dec 2015 11:56:19 +0100
> > > >> Mariusz Ciszewski <[email protected]> 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 : [email protected]
> > > >> 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
> > > >> [email protected]
> > > >> https://lists.sourceforge.net/lists/listinfo/motion-user
> > > >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> > > >>
> > > >
> > > >
> > > >
> > > >
> > ------------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Motion-user mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/motion-user
> > > > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> > > >
> > > >
> >
> >
> >
> > --
> > --
> > Best wishes /73
> > Richard Bown
> >
> > Email : [email protected]
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >
--
--
Best wishes /73
Richard Bown
Email : [email protected]
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
##################################################################################
------------------------------
Message: 3
Date: Wed, 30 Dec 2015 17:44:01 +0700
From: Adam Ali <[email protected]>
Subject: [Motion-user] Measuring MJPEG Network Stream
To: Motion discussion list <[email protected]>
Message-ID:
<cam5sjau6w89mks7q3rxsfnva0rl0cfj0ysc4i7_bqs0ucdi...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 115, Issue 11
********************************************