Difference between revisions of "Axis"

From ZoneMinder Wiki
Jump to navigationJump to search
(Add AXIS P1357-E, first attempt)
Line 29: Line 29:


<User>:<Password>@<IP Address>/mjpg/video.mjpg
<User>:<Password>@<IP Address>/mjpg/video.mjpg
== AXIS P1357-E ==
This is set up to have the camera send an event to zoneminder.
* General
** Source type: Ffmpeg
** Function: Nodect
** Maximum FPS: <blank>
* Source
** rtsp://<CAM IP/HOSTNAME>/axis-media/media.amp?videocodec=h264&resolution=2592x1944&streamprofile=Quality&tcp&compression=0
** Capture Width: 2592
** Capture Height: 1944
modify /etc/init.d/zoneminder:
add to start section:
* /usr/bin/zmtrigger.pl&
to stop section:
* pkill zmtrigger.pl
For the camera:
* Detectors
** Motion Detection<br />Add a window for detection. Adjust Object Size, History, Sensitivity. Check Activity to determine whether the settings are correct.
* Events
** Recipients<br />Add a recipient. Choose Name, Type is TCP. Address is zoneminder name or IP address.
** Action Rules<br />Enable rule.
*** Trigger
**** Detectors
**** Motion Detection
**** Name of detector set above
**** Motion: Yes
**** Schedule: Always
*** Actions:
**** Type: Send Notification
**** Recipient: Name as set above
**** Message: 1|on+5|5|cause|text|showtext
**** Check box for send notifications continuously
**** Send notification every 1 second


== AXIS 213PTZ ==
== AXIS 213PTZ ==

Revision as of 04:09, 19 December 2013

Axis cameras.jpg

ZoneMinder will work well with just about any Axis camera, including the 205, 206, 207, 209, 210, 211 and M10 ranges. It will also work with the 213 and 2130 cameras and support their PTZ functions through the web interface.

Please note that early 207's has some hardware issues. See this thread in the forum for details. Also note that the 2100 has been discontinued by Axis and no longer supported, possibly due to hardware related problems. It's noted in the forums that the camera sends the pictures it captures somewhat diced up.

How to Offload the Motion to cameras AxisMotionDetection

Axis publishes their full, open API named VAPIX; documentation may be found at Axis Developer Pages. Note in particular the HTTP API which defines the remote host path arguments which may be used by Zoneminder.

AXIS 2110

/axis-cgi/mjpg/video.cgi?camera=&resolution=320×240


AXIS 207W

<User>:<Password>@<IP Address>/axis-cgi/mjpg/video.cgi?camera=&resolution=320×240


AXIS P33XX-V/VE

<User>:<Password>@<IP Address>/axis-cgi/mjpg/video.cgi?camera=&resolution=320×240 or <User>:<Password>@<IP Address>/mjpg/video.mjpg

AXIS P1311

<User>:<Password>@<IP Address>/mjpg/video.mjpg

AXIS P1357-E

This is set up to have the camera send an event to zoneminder.

  • General
    • Source type: Ffmpeg
    • Function: Nodect
    • Maximum FPS: <blank>
  • Source
    • rtsp://<CAM IP/HOSTNAME>/axis-media/media.amp?videocodec=h264&resolution=2592x1944&streamprofile=Quality&tcp&compression=0
    • Capture Width: 2592
    • Capture Height: 1944

modify /etc/init.d/zoneminder: add to start section:

  • /usr/bin/zmtrigger.pl&

to stop section:

  • pkill zmtrigger.pl

For the camera:

  • Detectors
    • Motion Detection
      Add a window for detection. Adjust Object Size, History, Sensitivity. Check Activity to determine whether the settings are correct.
  • Events
    • Recipients
      Add a recipient. Choose Name, Type is TCP. Address is zoneminder name or IP address.
    • Action Rules
      Enable rule.
      • Trigger
        • Detectors
        • Motion Detection
        • Name of detector set above
        • Motion: Yes
        • Schedule: Always
      • Actions:
        • Type: Send Notification
        • Recipient: Name as set above
        • Message: 1|on+5|5|cause|text|showtext
        • Check box for send notifications continuously
        • Send notification every 1 second

AXIS 213PTZ

The axis 213PTZ works perfectly. Use the folowing settings:

SOURCE
Remote Protocol: RTSP
Remote Method: RTP/RTSP
Remote Host Name: <USER>:<PASS>@<CAM IP/HOSTNAME>
Remote Host Port: 554
Remote Host Path: /mpeg4/media.amp
CONTROL
Controllable: Yes
Control Type: Axis API v2
Control Address: <USER>:<PASS>@<CAM IP/HOSTNAME>

The resolution must match the one especified in the camera settings. Resolutions up to CIF will work without any problems but 2CIF and 4CIF will need the shared memory tweak (lean more at the FAQ)

The AxisMotionDetection trick works quite well with this camera.

The Max FPS option of zoneminder introduces very big latency, so I use the option of the camera for limiting the FPS.

This was tested with zoneminder 1.24.2 running on Gentoo stable

AXIS M1011-W

M1011-W

I get a lower load by using the MJPEG stream compared to the JPEG still images. Mathieumd 15:52, 17 May 2012 (BST)

General

Tab/Label MJPEG Stream JPEG Stills
General
Source Type Remote
Maximum FPS 5
Alarm Maximum FPS 15
Source
Remote Protocol HTTP
Remote Method Simple
Remote Host Name [<USER>:<PASS>@]<CAM IP/HOSTNAME>
Remote Host Port <CAM PORT> (usually 80 or 443)
Remote Host Path /axis-cgi/mjpg/video.cgi?resolution=640x480&fps=15 /axis-cgi/jpg/image.cgi?resolution=640x480
Capture Width (pixels) 640
Capture Height (pixels) 480

AXIS M1031-W

M1031-W

SOURCE
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: <CAM IP/HOSTNAME>
Remote Host Port: <CAM PORT>
Remote Host Path: /axis-cgi/mjpg/video.cgi?resolution=640x480

OR for mpeg-4

SOURCE
Remote Protocol: RTSP
Remote Method: RTP/RTSP/HTTP
Remote Host Name: <USER>:<PASS>@<CAM IP/HOSTNAME>
Remote Host Port: <CAM PORT>
Remote Host Path: /mpeg4/media.amp

AXIS M1054

Working just fine with my zoneminder setup under Ubuntu 10.04 and 11.04, using MJPEG setup.

My camera setup:

  • Source type: remote
  • Function: modect
  • maximum fps 8.00
  • alarm fps 30.00
  • remote protocol: http
  • remote method: simple
  • remote host name: the DNS name of the camera (or IP adress I suppose)
  • remote host port: 80
  • remote host path: /axis-cgi/mjpg/video.cgi
  • capture width: 1280
  • capture height: 800

I just captured some thiefs with this setup, police caught them and used the pictures as proof. High quality pictures for that price of a camera and very reliable (running 1/2 year now without a single crash or disfunction).[1]

AXIS M1114

works with following entrys

  • Source type: remote
  • Function: [what_you_want]
  • maximum fps 0 # don't put any value here
  • alarm fps 0 # don't put any value here
  • remote protocol: http
  • remote method: simple
  • remote host name: user:password@IP-Address or user:password@DNS_Name
  • remote host port: 80
  • remote host path: /mjpg/video.mjpg?resolution=480x360
  • capture width: 480 #depends on your "remote host path" setting, must to be the same!
  • capture height: 360 #depends on your "remote host path" setting, must to be the same!

Using remote host path and arguments from the Axis VAPIX HTTP API. Includes limiting the frame rate (fps=x)

  • Remote Protocol: HTTP
  • Remote Method: Simple
  • Remote Host Name: <user>:<password>@<hostname or IP>
  • Remote Host Port: 80
  • Remote Host Path: /axis-cgi/mjpg/video.cgi?fps=15&resolution=1024x640
  • Remote Image Colours: 24 bit color
  • Capture Width (pixels): 1024
  • Capture Height (pixels): 640

AXIS Q6032-E

  • Remote Protocol: HTTP
  • Remote Method: Simple
  • Remote Host Name: <user>:<password>@<hostname or IP>
  • Remote Host Port: 80
  • Remote Host Path: /mjpg/video.mjpg
  • Remote Image Colours: <24 bit color|32 bit color>
  • Capture Width (pixels): 704
  • Capture Height (pixels): 480


AXIS M7014

-4 channel video encoder with receives signal from a Closed-Circuit-style camera via a BNC connector for each channel.

Works very well with zoneminder using the following settings:

  • Remote Protocol: HTTP
  • Remote Method: Simple
  • Remote Host Name: <user>:<password>@<hostname or IP>
  • Remote Host Port: 80
  • Remote Host Path: /axis-cgi/jpg/image.cgi?camera=X where X is 1,2,3 or 4 - for each channel
  • Remote Image Colours: <24 bit color|32 bit color>
  • Capture Width (pixels): 704
  • Capture Height (pixels): 480

Note: An axis tech suggested using: rtsp://<ip>/axis-media/media.amp?camera=X but I didn't try it. This is a really nice device for ZoneMinder - lets you use legacy cams easily. Highly recommended.

AXIS M3007

M3007

  • Remote Protocol: HTTP
  • Remote Method: Simple
  • Remote Host Name: <user>:<password>@<hostname or IP>
  • Remote Host Port: 80
  • Remote Host Path:
   Overview - /mjpg/video.mjpg or /mjpg/1/video.mjpg
   Panorama - /mjpg/video.mjpg?camera=2 or /mjpg/2/video.mjpg
   Double Panorama - /mjpg/video.mjpg?camera=3 or /mjpg/3/video.mjpg
   Quad - /mjpg/video.mjpg?camera=4 or /mjpg/4/video.mjpg
   Feed 1 - /mjpg/video.mjpg?camera=5 or /mjpg/5/video.mjpg
   Feed 2 - /mjpg/video.mjpg?camera=6 or /mjpg/6/video.mjpg
   Feed 3 - /mjpg/video.mjpg?camera=7 or /mjpg/7/video.mjpg
   Feed 4 - /mjpg/video.mjpg?camera=8 or /mjpg/8/video.mjpg

To make the PTZ work on feeds 1-4

  • Control Type: Axis API V2
  • Control Device: &camera=5 (6,7 or 8 depending on Feed 1,2,3 or 4)
  • Control Address: user:pass@ipaddress:80
  • Edit AxisV2.pm and change the following in the sendCmd subroutine. Rebooting seems to be the only way to make ZM reload the modified module.
CODE
my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."$cmd" );

to this

CODE
my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."$cmd".$self->{Monitor}->{ControlDevice} );