Cgi/Generic Driver Commands - Sony SNT-V304 User Manual

Video network station
Hide thumbs Also See for SNT-V304:
Table of Contents

Advertisement

Available languages

Available languages

CGI/Generic Driver Commands

CGI/Generic Driver Commands
The following CGI parameter descriptions are
intended to help administrators create applications, and
are available only in English. Refer to "Settings" (page
11) for usual setting methods.
x CGI Parameter
This part describes the CGI support in the video
network station.
z Image Requests
Request a JPEG image (snapshot) with specified
properties.
Method: GET
Syntax: request for JPEG image with specified
properties
Note: image.jpg should be replaced "fullsize.jpg" or
"hugesize.jpg"
http://< servername >/cgi-bin/
< image.jpg >[?< parameter >=< value >[&< parameter >
=< value >...]]
with the following parameters and values
<parameter>=<value>
Values
camera=<int>
1 .. 4
compression=<int>
0 - 100
colorlevel=<int>
0 - 100
clock=<int>
0, 1
date=<int>
0, 1
motion=<int>
0 - 65400
Example: a Fullsize image from camera 1 with
compression of 25
http://myserver/cgi-bin/
fullsize.jpg?camera=1&compression=25
48
Description
Selects the source camera.
Adjusts the compression level of
the image. Higher value
corresponds to higher compression,
i.e. lower quality and smaller image
size.
Sets level of color or grayscale.
0 = grayscale, 100 = full color.
Shows/hides the time stamp.
0 = hide, 1 = show
Shows/hides the date.
0 = hide, 1 = show
Number of streaming images.
0 means forever
z Pan Tilt and Zoom Control and Preset Position
To control the Pan, Tilt, and Zoom behavior of a Sony
camera, the following PTZ control URL is used.
Method: GET/POST
Syntax: control PTZ behavior
http://< servername >/cgi-bin/
control?< parameter >=< value >[&< parameter >=
< value >... ]
with the following meanings
<parameter>=<value>
Values
port=<int>
1, 2
camera=<int>
1 .. 4
hsrcamera=<int>
1..16
whoami=<string>
<any
value>
move=<string>
home
up,
down,
left,
right,
upleft,
upright,
downleft,
downright
pan=<float>
-180.0 - 180.0
tilt=<float>
-180.0 - 180.0
zoom=<int>
1 - 999
rpan=<float>
-360.0 - 360.0
rtilt=<float>
-360.0 - 360.0
rzoom=<float>
-999 - 999
rfocus=<float>
-999 - 999
Description
The COM port is selected with this
parameter. If omitted, the camera
parameters is used.
Selects the source camera. If
omitted, the default camera is used.
Selects the HSR camera if HSR is
used.
Returns the name of the configured
driver.
Moves the device to the home
position for Visca.
Moves the device to preset position
home1, home2, home3 or home4 for
Kalatel.
Moves the device approx. 5 degrees
in the specified direction for Visca.
Moves the device in the specified
direction for Kalatel.
Pans the device relative to the
centre position.
Not used for Kalatel.
Tilts the device relative to the
centre position.
Not used for Kalatel.
Zooms the device n steps relative to
the wide position.
Not used for Kalatel.
Pans the device relative to the
current position.
Tilts the device relative to the
current position.
Moves zoom. Positive values
means zoom in and negative values
means zoom out. Only used for
Kalatel.
Moves focus. Positive values means
focus near and negative values
means focus far. Only used for
Kalatel.

Advertisement

Table of Contents
loading

Table of Contents