List of Supported Axis Commands

The following URLs are supported for display in the browser:

URL

Description

http://host

Start page in web interface mode.

http://host:port/image.html

Simple HTML side with picture playback.

http://host:port/jpg/image.jpg

Individual image.

http://host:port/mjpg/video.mjpg

An M-JPEG video stream.

The following URLs from the "VAPIX® HTTP API" specification are supported:

The specified paragraph numbers refer to version 3 of the "VAPIX® HTTP API" specification.

URL

Description

http://host:port/axis-cgi/param.cgi

§ 5.1.1 Add, update, remove and list parameters and their values.

Query the G-Core streamer parameters. Only "action=list" and "group" parameters are supported.

http://host:port/axis-cgi/param.cgi

§ 5.1.9 System date and time

Query of the system time. Only "action=get" parameter is supported.

http://host:port/axis-cgi/imagesize.cgi

§ 5.2.1 Image size

Query of the picture resolution.

http://host:port/jpg/image.jpg

http://host:port/axis-cgi/jpg/image.cgi

§ 5.2.4 JPEG/MJPG (part 1 JPEG)

Transmission of the individual picture.

http://host:port/mjpg/video.mjpg

http://host:port/axis-cgi/mjpg/video.cgi

§ 5.2.4 JPEG/MJPG (part 2 MJPG)

Transmission of the M-JPEG video streams.

http://host:port/axis-cgi/com/ptz.cgi

§ 5.3.3 PTZ control

See Valid parameters for http://host:port/axis-cgi/com/ptz.cgi:

http://host:port/axis-cgi/com/ptzconfig.cgi

§ 5.3.4 PTZ configuration

See Valid parameters for http://host:port/axis-cgi/com/ptzconfig.cgi:

http://host:port/axis-cgi/videocontrol.cgi

§ 5.9 AXIS 292 Network Video Decoder in version 2 of the specification.

This realizes switching of the camera on the channel. The following parameters are expected: "action=goto" and "SourceName=<no>" with camera number.

Valid parameters for http://host:port/axis-cgi/com/ptz.cgi:

Parameter

Description

auxiliary=<string>

Any G-Core actions. Observe the URL coding.

0 can be used as placeholders for the current camera and viewer numbers.

Example http://localhost:13015/axis-cgi/com/ptz.cgi?auxiliary=ViewerSetPlayMode(0,3,0)

whoami

Query of the G-Core streamer version.

pan=<float>&tilt<float>

Move to an absolute position.

rpan=<float>&rtilt<float>

Move to a relative position.

riris=<int>

Open the aperture (parameter > 0) close (parameter < 0) or stop (parameter = 0).

autofocus=<string>

Switch auto focus on and off.

autoiris=<string>

Switch auto iris on and off.

continuouspantiltmove=<int>,<int>

Pan/tilt movement.

continuouszoommove=<int>

Zoom movement.

continuousfocusmove=<int>

Focus movement.

move=home

Move to default position.

gotoserverpresetno=<int>

Move to preset position.

home=yes

Save the default position.

setserverpresetno=<int>

Save a preset position, 0 – default position.

removeserverpresetno=<int>

Delete a preset position, 0 – default position.

Valid parameters for http://host:port/axis-cgi/com/ptzconfig.cgi:

Parameter

Description

home=yes

Save the default position.

setserverpresetno=<no>

Save a preset position, 0 – default position.

removeserverpresetno=<no>

Delete a preset position, 0 – default position.