• PTZF is an abbreviation for Pan/Tilt/Zoom/Focus. “Pan” is the horizontal movement of the
• Many PTZ cameras and Rapid-dome cameras are equipped with “Position Preset
Pan/Tilt/Zoom/Focus
camera angle, “Tilt” is the vertical. “Zoom” is the adjusting of the focal length of the lens
for a close-up look or for wide-angle viewing. Please note that the Solid PTZ function is not
touched upon in this document.
*a
”,
*b
“Guard Tour
- Position Preset: By setting several Pan/Tilt/Zoom preset positions, users are able to see/
capture an area quickly and accurately only by selecting the required preset position.
- Guard Tour: This function is used to set the combination of PTZ preset positions, the
moving speed of each PTZ and the duration at each preset position.
- Auto Flip: This function is used to flip the video view vertically. Good for demonstration
of the PTZ camera on the table.
”, “Area Zoom”, “Auto Flip” and “Superimpose” functions.
- Superimpose: The text data is displayed, such as the name of the viewing area and the
day/date of the video.
• Pan, tilt and zoom can be operated by joystick, which is common in the CCTV industry, and
also can be operated by using a mouse such as our characteristic area zoom function, or
using arrow keys on the viewer.
PTZ Camera
JoystickGUI
*a) For details on how to set up, refer to “Preset/Tour Function Application Guide”.
*b) Guard Tour is called “Preset Tour” in Sony Technical Documents. For details on how to set
up, refer to “Preset/Tour Function Application Guide”.
June, 2013 / V3.1Sony Network Camera
3
Application Guide
Benefits
2.
• Covers a large area: Compare to fixed cameras, PTZ cameras provide wider area coverage
• Guard Tour: Provides a series of video images for each location with zoom capability in the
• Tracks moving objects: The PTZ camera allows an operator to follow a moving object, such
Pan/Tilt/Zoom/Focus
as the PTZ can move. This means usage of a PTZ camera will help to minimize the total
number of cameras required, thus reducing total cost of coverage per area.
one window.
as people or cars, by PTZ control. Also, the operator can zoom in and capture details of the
targeted object, such as the face or the license plate.
[Guard Tour]
preset 1preset 2preset 3
[Tracking]
Note
3.
3.1. User’s Access Rights
To use this function, set your authentication level to “administrator” unless otherwise noted.
3.2. Protocols Supported By Sony Video Network Station
SNT-EX101/EX101E/EX104/EX154
The SNT-EX101/EX101E/EX104/EX154 supports the following protocols for control analog
cameras (As of Version 1.2):
– Pelco-D/AD/Pelco-P/Bosch/Vicon/Panasonic/GE/VISCA/Pelco Coaxitron
June, 2013 / V3.1Sony Network Camera
4
Application Guide
CGI command/Syntax
4.
4.1. Pan/Tilt/Zoom/Focus Move Command
4.1.1. Direct Move
4.1.1.1 Pan/Tilt
Note:
Full and Pan/Tilt users, as well as administrators, can use this command.
Pan/Tilt/Zoom/Focus
ZP550
PTZ
CGIParameterValueDescription
ZR550
left, right, up, down, up-left,
up-right, down-left, or
down-right
ptzf.cgiMove
1 to 24
(low <-> high)
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Move=
EX101
Note:
Full and Pan/Tilt users, as well as administrators, can use this command.
CGIParameterValueDescription
ptzf.cgiMove
EX104EX101E
EX154
left, right, up, down, up-left,
up-right, down-left,
or down-right
1 to 100
(low <-> high)
value,value
Sets the direction in which the camera
moves.
Sets the speed at which the camera
moves, in the range of 1 to 24 .
Note:
"0" can also be set. If set, the speed is
automatically adjusted according to the
zoom ratio.
Sets the direction in which the camera
moves.
Sets the speed at which the camera
moves, in the range of 1 to 100.
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Move=
value,value
June, 2013 / V3.1Sony Network Camera
5
Application Guide
4.1.1.2 Zoom
Pan/Tilt/Zoom/Focus
PTZ
ZP550
ZR550
EX101
EX104EX101E
EX154
CGIParameterValueDescription
tele or wide
Sets the camera zoom to tele or wide.
ptzf.cgiMove
1 to 8 (low <-> high)
Sets the zoom speed in the range of 1 to 8.
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Move=
value,value
4.1.1.3 Focus
ZP550
PTZ
CGIParameterValueDescription
ptzf.cgiMove
ZR550
near, far, or
onepushhaf
1 to 8
Sets the camera focus to near, far or onepushhaf.
Note that "onepushhaf" is enabled only when the
"Focus mode" parameter is set to "manual" using
"camera.cgi".
(* Note that this value will be disabled even if set
to 1 to 8.)
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Move=
EX101
EX104EX101E
EX154
value,value
CGIParameterValueDescription
near, or far
ptzf.cgiMove
1 to 8
Sets the camera focus to near or far.
(* Note that this value will be disabled even if set
to 1 to 8.)
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Move=
value,value
4.1.1.4 Stop
ZP550
ZR550
PTZ
EX101
CGIParameterValueDescription
stop
ptzf.cgiMove
pantilt (or motor), zoom, or focus
EX104EX101E
EX154
Specifi es the mode to be stopped.
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Move=stop,
6
value
June, 2013 / V3.1Sony Network Camera
Application Guide
4.1.2. Area Zoom
Note:
• Full and Pan/Tilt users, as well as administrators, can use this command.
It is possible to make the pan and tilt displacement of the camera by using "AreaZoom"
parameter which is familiar to the mouse operation. At first regard the center of the shot image
as coordinate origin in Figure1. The camera will shot the dashed line area after the command set.
Pan/Tilt/Zoom/Focus
ZP550
PTZ
CGIParameterValueDescription
ZR550
<center x>
Sets the X distance from the center, in pixels.
<center y>Sets the Y distance from the center, in pixels.
Sets the width of the rectangle from the center.
Set to "0" for a PT camera.
Sets the height of the rectangle from the center.
Set to "0" for a PT camera.
Sets the instance to image1,image2 or image3.
ptzf.cgiAreaZoom
<width>
<height>
<codec>
CGI Syntax:
http://ip_adr/command/ptzf.cgi?AreaZoom=
value,value,value,value,value
w
h
(0, 0)
y
x
Figure 1: Conceptual diagram
for area zoom operation
Note:
• When zooming in to the specified area, the center may shift according to the conditions of
the current pan, tilt and zoom position or specified center.
• When the current zoom position is the optical tele area, the zoom action is limited to the
optical zoom maximum. If the "AreaZoom" operation is made on condition that the zoom
position is set to the optical maximum, the digital zoom action is performed according to
the zoom mode.
• When w=0 and h=0 are set in the AreaZoom parameter, no zoom operation is performed
except the pan and tilt operation.
June, 2013 / V3.1Sony Network Camera
7
Application Guide
4.1.3. Relative Displacement
4.1.3.1 Pan/Tilt/Zoom Displacement With Respect To Screen
It is possible to make a relative displacement of the pan, tilt, and zoom by using the relative
parameter.
When making a relative displacement for the pan or tilt, the distance is normalized with its
zoom position.
CGI Syntax:
http://ip_adr/command/ptzf.cgi?Relative=
*1: How to set the value "aa"
Pan/Tilt position
The value "aa" stands for the controlled item and direction such as "Pan position to the right"
or "Zoom position to WIDE". It is possible to set the value "aa" as described in the figure and
explanation below.
Pan/Tilt/Zoom/Focus
ZP550
PTZ
CGIParameterValueDescription
ptzf.cgiRelative
ZR550
aabb
(*1), (*2)
value
Zoom position
WIDE: 10
TELE: 11
Upper left
07
Left
04
Lower left
01
Upper
08
Lower
02
Figure 2: Relative parameter "aa"
Upper right
09
Right
06
Lower right
03
June, 2013 / V3.1Sony Network Camera
8
Application Guide
*2: How to set the value "bb"
The value of "bb" stands for the degree of displacement, which ranges from 01 to 10.
The various degrees of pan and zoom displacement are shown in Table 1.
Table 1: Pan/Tilt distance
Pan/Tilt/Zoom/Focus
ValueDistance: Percent of the current video size
01Around 10%
02Around 15%
03Around 20%
04Around 25%
05Around 30%
06Around 40%
07Around 50%
08Around 66.7%
09Around 83.3%
10Around 100%
Example:
When you want to move the camera 30% to the right for jpeg video:
POST /command/ptzf.cgi HTTP/1.1
Host: 192.168.1.1
Connection: Keep-Alive
Cache-Control: no-cache
Content-Length: 13
relative=0605
<response>
HTTP/1.1 204 No Content
Content-Length: 0
Server: XXXX/X.XX
June, 2013 / V3.1Sony Network Camera
9
Application Guide
4.1.3.2. Pan/Tilt
Pan/Tilt/Zoom/Focus
ZP550
PTZ
CGIParameterValueDescription
ptzf.cgiRelativePanTilt
ZR550
<pan position>
<tilt position>
Sets the relative pan position according to
the camera in use.
C040 to 3FC0
EP520/EP521/EP550/EP580/ZP550:
C3CA to 3C36
Sets the relative tilt position according to
the camera in use.
RH124/RH164/RS44/RS46/RS84/RS86:
DAD0 to 2530
EP520/EP521/EP550/EP580/ZP550:
ED68 to 1298
ER520/ER521/ER550/ER580/ER585/ER585H/
ZR550:
DAD0 to 2530
<speed>
1 to 24
(low <-> high)
Sets the relative pan tilt speed in the range
of 1 to 24.
CGI Syntax:
http://ip_adr/command/ptzf.cgi?RelativePanTilt=
value,value,value
4.1.3.3. Zoom
ZP550
PTZ
CGIParameterValueDescription
ptzf.cgiRelativeZoom
ZR550
<zoom position>
Sets the relative zoom position according
to the camera in use.
RH124/RH164:
B000 to 4000(Optical only mode)
73BF to 8C40(Full mode)