AXIS 2400/2401 User's Manual
CGI Parameters for Pan Tilt and Zoom Control
Use the following syntax for creating CGI parameters to control Pan Tilt devices:
http://<servername>/cgi-bin/control?camera=<n>&<parameter>=<value>[&<parameter>=<value>...]
Example
Move the camera connected to VIDEO 1 on
http://videoserv/cgi-bin/control?camera=1&pan=45
This table lists the CGI parameters for Pan Tilt requests:
Parameter/Syntax
camera=<n>
move=<x>
*pan=<n>
*tilt=<n>
*rpan=<n>
*rtilt=<n>
*zoom=<n>
zoomrel=<x>
*focus=<x>
*focusrel
presetposno
presetposname=<name>
*speed=<n>
whoami
Notes:
•Parameters and values identified with an asterisk "*" are not available to all supported pan tilt
devices. For the latest driver-specific information, check out the Axis Camera Developer's Web
at http://cctv.axis.com/
•The CGI parameters that adjust the camera position are only applicable when using one of the
suppor ted Pan/Tilt devices.
Description
Selects the source for pan tilt requests. This is
mandatory and must be submitted (for the AXIS
2401this is always set to 1).
Moves the Pan/Tilt device 5 degrees in the
specified direction.
Pans the Pan/Tilt device <n> degrees relative to
the home position.
Tilts the Pan/Tilt device <n> degrees relative to
the home position.
Pans the Pan/Tilt device <n> degrees relative to
the current position.
Tilts the Pan/Tilt device <n> degrees relative to
the current position.
Adjusts the camera zoom to the specified angle.
Adjusts zoom to specified values.
Adjusts zoom within the specified scale.
Adjusts zoom to upper and lower extremes.
Assumes the camera position defined by the
preset position number.
Assumes the camera position defined by the
preset position name.
Sets the head speed of the pan tilt device
connected to the selected camera/port.
identifies the type of pan tilt driver connected to
the selected camera/port.
Appendix E - CGI Parameters
45 degrees to the right:
videoserv
Values
1,2,3 or 4
up/down/left/right/upleft/upright/
downleft/downright/*home/
-180 ... 180
-180 ... 180
-180 ... 180
-180 ... 180
1 ... 999
where 1is full zoom out
wide/tel/*widemax/*telemax/
1 ... 999
far or near
1 ... 20
<name>
1 ... 999
check
53