Motion detector for Slacko 5.7 (Precise too)

Antivirus, forensics, intrusion detection, cryptography, etc.
Post Reply
Message
Author
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

Motion detector for Slacko 5.7 (Precise too)

#1 Post by watchdog »

For explanations read:

http://www.murga-linux.com/puppy/viewtopic.php?t=83569

In slacko 5.6 use this motion compiled from git:

https://docs.google.com/file/d/0B9iMb4U ... sp=sharing

If you need libv4l or v4lutils use that in this post:

http://www.murga-linux.com/puppy/viewtopic.php?t=88124

In slacko 5.7 use:

https://copy.com/KZUXfC3ywAWr
Last edited by watchdog on Sun 04 May 2014, 12:33, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

I installed it in Precise (5.7.1 I think). I couldn't find it in the Menu, but when I entered "motion" in a console I got this error message:

Code: Select all

motion: error while loading shared libraries: libavformat.so.55: cannot open shared object file: No such file or directory.
Any idea where I can find the missing library?

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#3 Post by watchdog »

In precise you don't need this package: search "motion" in PPM and you'll be able to install motion from ubuntu's repositories. It's a litlle different but it works and opens recordings in browser. My package works in slacko 5.6 NON-PAE (perhaps, I think, in PAE version, too) . In slacko 5.6 I did not find "motion" in repositories. Motion for slacko 5.5 previously posted needed to be updated for changed basic libraries in slacko 5.6 (libavformat.so's version...). I did not add a desktop file because it usually is a "hidden" package of your system which you run in console.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

Thanks! :)

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#5 Post by Ted Dog »

Kinda the same deal, this is used for mouse control by following the direction of the captured movement, search for mousecam for puppylinux spins that have this. its cool your can track motion and the direction its going.

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#6 Post by watchdog »

Newly compiled for slacko 5.7:

https://copy.com/KZUXfC3ywAWr

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#7 Post by watchdog »

You can remotely and privately watch your motion's recording by a browser. Create an account to copy:

https://www.copy.com/home/

Download copyagent from:

https://www.copy.com/install

Click on the tgz compressed file and choose to open with xarchive. Extract all where you want. Surf to /path-to/copy/x86 and click CopyAgent. Follow the procedure. It installs /root/Copy dir to syncronize to your account. You can choose not to syncronize what you already have in your account if you already have it. Create a relative link in /root/Copy dir to /usr/local/apache2. Now launch motion in console. If you login to your copy account by the browser of another device you'll remotely see the recording.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#8 Post by greengeek »

Wow - well done watchdog. This is awesome. Testing on Slacko 5.6 works great.
I haven't done the "copy" thing with remote copying yet, but just the first testing of the image saving into /root. Works well - found my webcam with no difficulty. What method do use to record to a different directory?

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#9 Post by watchdog »

greengeek wrote:What method do use to record to a different directory?
Open by geany /usr/local/etc/motion.conf and change the following line:

Code: Select all

target_dir /usr/local/apache2/htdocs/cam1

Post Reply