Difference between revisions of "Motion"

From LinuxMCE
Jump to: navigation, search
Line 4: Line 4:
 
==Motion in LinuxMCE==
 
==Motion in LinuxMCE==
 
LinuxMCE has a wrapper that connects to Motion.  You add this wrapper as an "Interface" on the Interface page.  It is called, "Motion Wrapper".  You must have this interface prior to setting up your cameras.
 
LinuxMCE has a wrapper that connects to Motion.  You add this wrapper as an "Interface" on the Interface page.  It is called, "Motion Wrapper".  You must have this interface prior to setting up your cameras.
 +
 +
==Adding IP cameras to motion==
 +
Axis camera is auto detected and device is generated, but not under Motion as parent. If you run IP Camera under moton you get all features motion has (motion detection,recording,etc...). Quick and not so clean workaround for adding IP camera device under Motion:
 +
 +
1. Add Generic Analog Camera #66 Device<br>
 +
2. Change Configuraton field to add data for IP camera<br>
 +
Example for Axis camera :
 +
 +
netcam_url  http://192.168.0.90/axis-cgi/jpg/image.cgi?resolution=640x480
 +
netcam_userpass username:password   
 +
 +
Omit last one if you don't have any access password specified.
  
  
 
==Compiling (contributing) to Motion Wrapper in LinuxMCE==
 
==Compiling (contributing) to Motion Wrapper in LinuxMCE==
 
On 0.41 version of LinuxMCE I wanted to incorporate few changes into Motion wrapper. I decided to compile it and described procedure [[How_to_compile_Motion_Wrapper|here]].
 
On 0.41 version of LinuxMCE I wanted to incorporate few changes into Motion wrapper. I decided to compile it and described procedure [[How_to_compile_Motion_Wrapper|here]].

Revision as of 01:49, 20 September 2007

Introduction

Motion is an open source surveillance camera recording software. Its homepage is found at [here] and is very well written and documented. Its main feature is that it detects motion (hence the name!) and can start recording based on motion criteria.

Motion in LinuxMCE

LinuxMCE has a wrapper that connects to Motion. You add this wrapper as an "Interface" on the Interface page. It is called, "Motion Wrapper". You must have this interface prior to setting up your cameras.

Adding IP cameras to motion

Axis camera is auto detected and device is generated, but not under Motion as parent. If you run IP Camera under moton you get all features motion has (motion detection,recording,etc...). Quick and not so clean workaround for adding IP camera device under Motion:

1. Add Generic Analog Camera #66 Device
2. Change Configuraton field to add data for IP camera
Example for Axis camera :

netcam_url  http://192.168.0.90/axis-cgi/jpg/image.cgi?resolution=640x480
netcam_userpass username:password    

Omit last one if you don't have any access password specified.


Compiling (contributing) to Motion Wrapper in LinuxMCE

On 0.41 version of LinuxMCE I wanted to incorporate few changes into Motion wrapper. I decided to compile it and described procedure here.