Difference between revisions of "IP Cameras"

From LinuxMCE
Jump to: navigation, search
(Some tips on finding your cameras proper url.)
Line 1: Line 1:
[[Category: Hardware| ]]
+
[[Category: Hardware]]
 
[[Category: Cameras]]
 
[[Category: Cameras]]
 +
[[Category: Security]]
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]
  

Revision as of 16:49, 21 May 2008


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)

For the motion detection and alerting

  • I only briefly looked at this capability before writing this article. Feel free to add on to it, or i'll come back and post my findings after inkering with it.


Available IP Cameras

Include here a list of IP security cameras that have been tested with LinuxMCE.

IP Security Cameras
Axis Network Cameras
D-Link Network Cameras