IP Cameras

From LinuxMCE
Revision as of 00:18, 22 May 2008 by Perspectoff (Talk | contribs) (For the motion detection and alerting)

Jump to: navigation, search

Introduction

IP cameras, a.k.a. "network cameras", are digital cameras that have a built-in web server. This allows the camera to be accessed by any computer on the same network using a web browser. Video is streamed to the web browser from the camera without additional equipment. In a LinuxMCE system, IP cameras are easy to setup, but require some extra manipulation to get them to record.

IP Cameras and Motion Wrapper

IP cameras can be used under the Motion Wrapper to enable it to detect motion and alert based on that function.

To add Motion Wrapper and IP Cameras.

  • Open your webadmin control panel and on the left pane at the bottom click on "Show Device Tree".
  • In the left pane Click on "core/hybrid".
  • On the right pane near the top, click on "Create Child Device", then leave everything blank and click "Pick Device Template" button.
  • Click the pull down box under "Device Template" and find the template labeled "Motion Wrapper", select this item and click "Pick Device Template"
  • Now on the right pane, click "Create Child Device" again. Enter your IP Cameras IP address and MAC address here, then click "Pick Device Template"
  • Click the pull down box under "Device Template" and use "Generic Analog Camera", then click "Pick Device Template"
  • Now on the right window pane, scroll down to the bottom and find the field named "Configuration". This is where you put your cameras URL normally used by your web browser, to view your cameras video feed. My examples are based on Axis based IP Cameras.
netcam_url http://<you.cameras.ip.addreess>/mjpg/video.mjpg
netcam_userpass username:password
  • Now click save at the bottom, reload your router, now on your mce interface go to "Security" -> "Generic Analog Camera" and see if it's working.

Some tips on finding your cameras proper url.

  • Try to use ftp to connect to your camera. The username and pass is usually whatever you set up on the web interface of the camera. Traverse the folders to find your html documents folder. Typically, your looking for a .jpg or .mjpg file to point the Motion Wrapper to. For example, these are the possible links on an Axis 2100 IP Camera.
/jpg/image.jpg (Works fine using the wrapper)
/mjpg/video.mjpg (Works fine using the wrapper)
/cgi-bin/jpg/image.cgi (I could not get this one working under the wrapper)
/cgi-bin/mjpg/video.cgi (Again, could not get it to work)


Available IP Cameras

IP security cameras that have been tested with LinuxMCE: