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. Multiple instances of motion (Harlan Daneker) 2. Re: Multiple instances of motion (tosiara) 3. Re: Multiple instances of motion (Harlan Daneker) 4. Re: Multiple instances of motion (John Baker) 5. Re: Multiple instances of motion (Harlan Daneker) ---------------------------------------------------------------------- Message: 1 Date: Thu, 7 Apr 2016 12:43:03 -0400 From: Harlan Daneker <hdane...@gmail.com> Subject: [Motion-user] Multiple instances of motion To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAC1WkiQe0_oPBObGU3mwuw8wG_abfVF5rU88A=9kwvfrcs_...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" To try and decrease the horizontal lines around areas of motion detection I want to run multiple instances of motion. I was informed that this interference was from other cameras. Running multiple instances of motion is not a problem, but how do I do this and have each one use a different motion.conf file? Thanks, Harlan -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Thu, 7 Apr 2016 19:59:50 +0300 From: tosiara <tosi...@gmail.com> Subject: Re: [Motion-user] Multiple instances of motion To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CACHTdwRJXMeRi=o3snbixm0kb+wdhkl+pu3rwian9siyr9p...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Use -c param on command line, like ./motion -c conf1.conf On Apr 7, 2016 7:44 PM, "Harlan Daneker" <hdane...@gmail.com> wrote: > To try and decrease the horizontal lines around areas of motion detection > I want to run multiple instances of motion. I was informed that this > interference was from other cameras. > > Running multiple instances of motion is not a problem, but how do I do > this and have each one use a different motion.conf file? > > Thanks, > > Harlan > > > ------------------------------------------------------------------------------ > > _______________________________________________ > 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: 3 Date: Fri, 8 Apr 2016 11:33:18 -0400 From: Harlan Daneker <hdane...@gmail.com> Subject: Re: [Motion-user] Multiple instances of motion To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAC1WkiRK=FAOwQFKqr4v0=vz-3p-qi7yxp1x3z5n-9awlq9...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" This may help somebody else, this is what I did. Fedora 23 In /usr/lib/systemd/system/ I made 4 files, one for each camera. I'm not sure if they have to be executable, but they are. motion1.service motion2.service motion3.service motion4.service *[Unit]Description=motion detection systemDocumentation=man:motion(1) http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome <http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome>[Service]User=motionGroup=video# There's no way to do it automatically, sadly# if you have problems with your camera, uncomment one of those# for PPC64 and X86_64:#Environment=LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so# for 32bit archs:#Environment=LD_PRELOAD=/usr/lib/libv4l/v4l2convert.soExecStart=/usr/bin/motion -nc /etc/motion/motion1.confExecReload=/bin/kill -HUP $MAINPIDPrivateTmp=yes[Install]WantedBy=multi-user.target* I had 4 threads so I made 4 motion.con files, each one starting only 1 thread. motion1.conf motion2.conf motion3.conf motion4.conf systemctl enable motion1.service systemctl start motion1.service (starts the first thread only, Camera1) On Thu, Apr 7, 2016 at 12:59 PM, tosiara <tosi...@gmail.com> wrote: > Use -c param on command line, like ./motion -c conf1.conf > On Apr 7, 2016 7:44 PM, "Harlan Daneker" <hdane...@gmail.com> wrote: > >> To try and decrease the horizontal lines around areas of motion detection >> I want to run multiple instances of motion. I was informed that this >> interference was from other cameras. >> >> Running multiple instances of motion is not a problem, but how do I do >> this and have each one use a different motion.conf file? >> >> Thanks, >> >> Harlan >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Fri, 08 Apr 2016 18:23:13 +0100 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] Multiple instances of motion To: motion-user@lists.sourceforge.net Message-ID: <1460136193.1493236.573103673.63f32...@webmail.messagingengine.com> Content-Type: text/plain Why not run one motion process starting four threads as per the example included with the product? On Fri, Apr 8, 2016, at 04:33 PM, Harlan Daneker wrote: > This may help somebody else, this is what I did. Fedora 23 > > > In /usr/lib/systemd/system/ I made 4 files, one for each camera. I'm not > sure if they have to be executable, but they are. > motion1.service > motion2.service > motion3.service > motion4.service > > > > > > > > > > > > > > > > > > > > *[Unit]Description=motion detection systemDocumentation=man:motion(1) > http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome > <http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome>[Service]User=motionGroup=video# > There's no way to do it automatically, sadly# if you have problems with > your camera, uncomment one of those# for PPC64 and > X86_64:#Environment=LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so# for > 32bit > archs:#Environment=LD_PRELOAD=/usr/lib/libv4l/v4l2convert.soExecStart=/usr/bin/motion > -nc /etc/motion/motion1.confExecReload=/bin/kill -HUP > $MAINPIDPrivateTmp=yes[Install]WantedBy=multi-user.target* > > > > I had 4 threads so I made 4 motion.con files, each one starting only 1 > thread. > motion1.conf > motion2.conf > motion3.conf > motion4.conf > > systemctl enable motion1.service > systemctl start motion1.service (starts the first thread only, Camera1) > > On Thu, Apr 7, 2016 at 12:59 PM, tosiara <tosi...@gmail.com> wrote: > > > Use -c param on command line, like ./motion -c conf1.conf > > On Apr 7, 2016 7:44 PM, "Harlan Daneker" <hdane...@gmail.com> wrote: > > > >> To try and decrease the horizontal lines around areas of motion detection > >> I want to run multiple instances of motion. I was informed that this > >> interference was from other cameras. > >> > >> Running multiple instances of motion is not a problem, but how do I do > >> this and have each one use a different motion.conf file? > >> > >> Thanks, > >> > >> Harlan > >> > >> > >> ------------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> 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 > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 ------------------------------ Message: 5 Date: Fri, 8 Apr 2016 13:54:02 -0400 From: Harlan Daneker <hdane...@gmail.com> Subject: Re: [Motion-user] Multiple instances of motion To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAC1WkiQOX-M354sbOZdUkNb-+K=ujkgcmmhkc_b-u8_jlaj...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I was having problems with the cameras interfering with each other, this solves the problem. On Fri, Apr 8, 2016 at 1:23 PM, John Baker <jba...@dryfish.org.uk> wrote: > Why not run one motion process starting four threads as per the example > included with the product? > > > On Fri, Apr 8, 2016, at 04:33 PM, Harlan Daneker wrote: > > This may help somebody else, this is what I did. Fedora 23 > > > > > > In /usr/lib/systemd/system/ I made 4 files, one for each camera. I'm not > > sure if they have to be executable, but they are. > > motion1.service > > motion2.service > > motion3.service > > motion4.service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *[Unit]Description=motion detection systemDocumentation=man:motion(1) > > http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome > > <http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome > >[Service]User=motionGroup=video# > > There's no way to do it automatically, sadly# if you have problems with > > your camera, uncomment one of those# for PPC64 and > > X86_64:#Environment=LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so# for > > 32bit > > > archs:#Environment=LD_PRELOAD=/usr/lib/libv4l/v4l2convert.soExecStart=/usr/bin/motion > > -nc /etc/motion/motion1.confExecReload=/bin/kill -HUP > > $MAINPIDPrivateTmp=yes[Install]WantedBy=multi-user.target* > > > > > > > > I had 4 threads so I made 4 motion.con files, each one starting only 1 > > thread. > > motion1.conf > > motion2.conf > > motion3.conf > > motion4.conf > > > > systemctl enable motion1.service > > systemctl start motion1.service (starts the first thread only, Camera1) > > > > On Thu, Apr 7, 2016 at 12:59 PM, tosiara <tosi...@gmail.com> wrote: > > > > > Use -c param on command line, like ./motion -c conf1.conf > > > On Apr 7, 2016 7:44 PM, "Harlan Daneker" <hdane...@gmail.com> wrote: > > > > > >> To try and decrease the horizontal lines around areas of motion > detection > > >> I want to run multiple instances of motion. I was informed that this > > >> interference was from other cameras. > > >> > > >> Running multiple instances of motion is not a problem, but how do I do > > >> this and have each one use a different motion.conf file? > > >> > > >> Thanks, > > >> > > >> Harlan > > >> > > >> > > >> > ------------------------------------------------------------------------------ > > >> > > >> _______________________________________________ > > >> 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 > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > 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 > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ > gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532 > _______________________________________________ > 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... ------------------------------ ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532 ------------------------------ _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user End of Motion-user Digest, Vol 119, Issue 1 *******************************************