Difference between revisions of "Axis"
(33 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Image:Axis cameras.jpg]] | [[Image:Axis cameras.jpg]] | ||
ZoneMinder will work well with | ZoneMinder will work well with almost any [http://www.axis.com 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. For cameras that don't work see [[Axis#Issues]]. | ||
How to Offload the Motion to cameras [[AxisMotionDetection]] | How to Offload the Motion to cameras [[AxisMotionDetection]] | ||
Line 256: | Line 253: | ||
'''CODE''' | '''CODE''' | ||
my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."$cmd".$self->{Monitor}->{ControlDevice} ); | my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."$cmd".$self->{Monitor}->{ControlDevice} ); | ||
=== AXIS M3044-V === | |||
* General | |||
** Source type: Remote | |||
** Function: Modect | |||
** Maximum FPS: 40 (camera set to 30) | |||
* Source | |||
** Remote Protocol: RTSP | |||
** Remote Method: RTP/RTSP | |||
** Remote Host Name: <user>:<pass>@<hostname/ip>/axis-media/media.amp | |||
** Remote Host Port: 554 | |||
** Capture Width: 1280 (same as camera) | |||
** Capture Height: 720 | |||
=== AXIS Companion Bullet LE === | |||
* General | |||
** Source type: ffmpeg | |||
* Source | |||
** Remote Method: TCP | |||
** Source Path: rtsp://<user>:<pass>@<hostname/ip>/axis-media/media.amp/?overview=0&Axis-Orig-Sw=true | |||
** Capture Width: 1920 | |||
** Capture Height: 1080 | |||
Axis companion cameras require Windows to setup. see [[Axis#Issues]]. The password will be the one you configured for the site via axis companion software. | |||
=== AXIS M3113-R === | |||
Resolution is low (max 800x600) however, these cameras are outdoor rated, and latency is very low. No delay in video stream to ZM. The outdoor enclosure is not ideal, as the cable runs out the back, so they are best suited for somewhere there is existing water egress protection, or where you can drill behind where they will be mounted. 7/10 for outdoor protection, 6/10 for resolution, 10/10 for latency. Good picture. I saw network performance suffer after installing this camera, but upgrading from 10/100 to gigabit seemed to fix most problems. | |||
* General | |||
** Source type: ffmpeg | |||
* Source | |||
** Source Path: rtsp://<user>:<pass>@<hostname/ip>:<port>/axis-media/media.amp?videocodec=h264 | |||
** Capture Width: 800 | |||
** Capture Height: 600 | |||
== Other Hardware == | == Other Hardware == | ||
Line 277: | Line 310: | ||
rtsp://<ip>/axis-media/media.amp?camera=X but I didn't try it. | 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. | This is a really nice device for ZoneMinder - lets you use legacy cams easily. Highly recommended. | ||
=== AXIS M7016 === | |||
16 Channel Encoder. | |||
Same as above, but there is also an option to use 'quad' for the cameras, instead of a number, and this quad option will give you a composite stream of all 4 cameras. | |||
https://forums.zoneminder.com/viewtopic.php?p=132442#p132442 | |||
=== AXIS 240Q === | === AXIS 240Q === | ||
Works with these settings: | |||
4 Channel video encoder. Works well. Somewhat awkward to place on a shelf as ethernet is on one side and coaxial is on opposite side. Requires a funny coaxial plug size (as all axis equipment seems to). Might want to buy a set of adaptors such as these: to use with your normal 5.5 2.1mm barrel plug. Search multi type 23 or 28 dc power adapter. Or use POE if possible. | |||
[[File:Universal-28pcs-5-5x2-1mm-Multi-type-Male-Jack-for-DC-Plugs-for-AC-Power-Adapter.jpg 640x640.jpg|200px|Coaxial barrel plug adaptors||Universal 28pcx Multi type Male Jack for DC Plugs]] | |||
Works with these settings (taken from the user manual for this device which explicitly details paths): | |||
<pre> | |||
Protocol: HTTP | |||
Method: Simple | |||
Hostname: user:pass@<ipaddress> | |||
Port: 80 | |||
Path: /mjpg/1/video.mjpg?user=<user>&pwd=<pass> | |||
Width: 704 | |||
Height: 480 | |||
</pre> | |||
==Issues== | |||
Early 207's have hardware issues, see [http://www.zoneminder.com/forums/viewtopic.php?t=5022 this thread] in the forum for details. | |||
The [http://www.axis.com/techsup/cam_servers/cam_2100/index.htm 2100 has been discontinued by Axis] and no longer supported, possibly due to hardware problems. It's noted in the [http://www.zoneminder.com/forums/viewtopic.php?t=10079 forums that the camera sends the pictures it captures somewhat diced up.] | |||
There were murmurs about Companion cameras not being compatible, (see also axis forums), but these may be supported, albeit with a nonstandard path. [http://forums.zoneminder.com/viewtopic.php?f=10&t=26868]. Requires Windows to setup camera username/password. The Ios and Android app do not allow configuration. And you must make an axis account. |
Latest revision as of 12:27, 17 November 2023
ZoneMinder will work well with almost 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. For cameras that don't work see Axis#Issues.
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.
Cameras
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 / P1344
<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
- Options
- Images
- OPT_FFMPEG: checked
- PATH_FFMPEG: /usr/bin/avconv
- Images
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.
- Motion Detection
- 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
- Trigger
- Recipients
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
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
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).
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 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} );
AXIS M3044-V
- General
- Source type: Remote
- Function: Modect
- Maximum FPS: 40 (camera set to 30)
- Source
- Remote Protocol: RTSP
- Remote Method: RTP/RTSP
- Remote Host Name: <user>:<pass>@<hostname/ip>/axis-media/media.amp
- Remote Host Port: 554
- Capture Width: 1280 (same as camera)
- Capture Height: 720
AXIS Companion Bullet LE
- General
- Source type: ffmpeg
- Source
- Remote Method: TCP
- Source Path: rtsp://<user>:<pass>@<hostname/ip>/axis-media/media.amp/?overview=0&Axis-Orig-Sw=true
- Capture Width: 1920
- Capture Height: 1080
Axis companion cameras require Windows to setup. see Axis#Issues. The password will be the one you configured for the site via axis companion software.
AXIS M3113-R
Resolution is low (max 800x600) however, these cameras are outdoor rated, and latency is very low. No delay in video stream to ZM. The outdoor enclosure is not ideal, as the cable runs out the back, so they are best suited for somewhere there is existing water egress protection, or where you can drill behind where they will be mounted. 7/10 for outdoor protection, 6/10 for resolution, 10/10 for latency. Good picture. I saw network performance suffer after installing this camera, but upgrading from 10/100 to gigabit seemed to fix most problems.
- General
- Source type: ffmpeg
- Source
- Source Path: rtsp://<user>:<pass>@<hostname/ip>:<port>/axis-media/media.amp?videocodec=h264
- Capture Width: 800
- Capture Height: 600
Other Hardware
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 M7016
16 Channel Encoder.
Same as above, but there is also an option to use 'quad' for the cameras, instead of a number, and this quad option will give you a composite stream of all 4 cameras. https://forums.zoneminder.com/viewtopic.php?p=132442#p132442
AXIS 240Q
4 Channel video encoder. Works well. Somewhat awkward to place on a shelf as ethernet is on one side and coaxial is on opposite side. Requires a funny coaxial plug size (as all axis equipment seems to). Might want to buy a set of adaptors such as these: to use with your normal 5.5 2.1mm barrel plug. Search multi type 23 or 28 dc power adapter. Or use POE if possible.
Works with these settings (taken from the user manual for this device which explicitly details paths):
Protocol: HTTP Method: Simple Hostname: user:pass@<ipaddress> Port: 80 Path: /mjpg/1/video.mjpg?user=<user>&pwd=<pass> Width: 704 Height: 480
Issues
Early 207's have hardware issues, see this thread in the forum for details.
The 2100 has been discontinued by Axis and no longer supported, possibly due to hardware problems. It's noted in the forums that the camera sends the pictures it captures somewhat diced up.
There were murmurs about Companion cameras not being compatible, (see also axis forums), but these may be supported, albeit with a nonstandard path. [1]. Requires Windows to setup camera username/password. The Ios and Android app do not allow configuration. And you must make an axis account.