User Guide
Table Of Contents
- Cover
- Quick Installation Procedure
- Notices
- Table of Contents
- Product Overview
- Physical Description
- Installation
- Configuring the Video Server
- Using the Video Server
- Accessing your Surveillance Images
- Positional Control of the Video Sources
- The Log File
- PINGing Your IP Address
- Symptoms, Possible Causes and Remedial Actions
- Obtaining Updated Software
- Upgrading the Software
- The Physical Connector
- Camera Positioning
- CGI Parameters for Image Requests
- CGI Parameters for Pan Tilt and Zoom Control
- CGI Parameters for Preset Positions
- CGI Parameters for Serial Port Control
- Controlling and Monitoring
- Wizard Preconfigurations
- Client Applications
- Starting and Enabling the Editor
- Programming Script Format
- Commands
- Index

AXIS 2400/2401
User’s Manual Appendix E -
CGI Parameters
51
Appendix E - CGI Parameters
The Common Gateway Interface (CGI) is a standard for interfacing external applications with
information servers, such as a Web server. A CGI program within the AXIS 2400/2401 allows you
to define special video image features within an embedded URL request and generate simple
HTTP input/output operations for controlling the Pan/Tilt port.
CGI parameter requests are generated in the form of query strings appended to the URL of the
AXIS 2400/2401.
CGI Parameters for Image Requests
For snapshot requests, use this syntax:
This table lists the CGI parameters for snapshot requests:
Example 1
Request a fullsize JPEG snapshot from the default camera connected to the AXIS 2400/2401
videoserv
that contains a clock reference:
Example 2
Request a highly compressed hugesize JPEG snapshot from the camera connected to VIDEO 2
on an AXIS 2400 with the DNS name
videoserv
:
http://<servername>/cgi-bin/<imagefile>?<parameter>=<value>[&<parameter>=<value>...]
Parameter/Syntax Description Values
camera=<n>
(applicable for AXIS
2400 only)
Selects the source for
generating snapshots. If
omitted, the default camera is
used.
1,2,3 or 4
compression=
<value>
Adjusts the image quality and
file size.
1-5, where:
1= minimum, 2=low,
3=medium, 4=high,
5=very high
color=<value> Selects color or grayscale.
1 or 2; where:
1=grayscale, 2=color
clock=<value> Shows/hides the time stamp. on, off
motion=<n>
Shows motion JPEG image
stream
0
http://videoserv/cgi-bin/fullsize.jpg?clock=on
http://videoserv/cgi-bin/hugesize.jpg?camera=1&compression=5