Commands for the PTZ control

The PTZ commands are normally executed on the video source (e.g. camera).
cmd=<move|iris|focus>;<keyword>=<% speed>[;>;<keyword>=<% speed>…]
Command: cmd=move
Keyword Description
up Pan up
down Pan down
left Pan to the left
right Pan to the right
zoomIn Zoom in.
zoomOut Zoom out.
presetno=<Number|Name>

Move to a preset position. You can move a camera to a preset position by using the number or the name of the position.

Note: You can only move a camera to a preset position by name if you have configured the names of the preset positions in the element device.definition.

stop

Stop camera. Using the command cmd=move;stop all keywords of the command (except preset) are sent by using the value 0.

This command string corresponds to the following value:

cmd=move;up=0;left=0;down=0,right=0,zoomIn=0,zoomOut=0

EXAMPLE
Example for a command to a PTZ control head.
cmd=move;up=86;left=30;down=24
cmd=move;presetno=3
cmd=move;preset=Look to the south
cmd=move;stop

Command: cmd=iris
Keyword Description
start

Starts the iris movement.

The command is followed by the specification of the speed within the range -100% until 100%, e.g.: start=-70

stop Stops the iris movement.
EXAMPLE
Examples for a command to an iris control. 
cmd=iris;start=50 
cmd=iris;stop 

Command: cmd=focus
Keyword Description
step The command is followed by a number of steps to be executed.
start The command is followed by the speed within the range -100% to 100%, e.g. start = 70%
stop The command stops the focusing.
EXAMPLE
Example for a command to a focus control. 
cmd=focus;start=50 cmd=focus;stop

Command: cmd=setpreset
Keyword Description
preset Program preset position to the current camera position. The command is followed by a preset number. If you have configured the names of the positions in the element device.definition, you can address the preset position also by using the specified name.
EXAMPLE
Examples for a command to set the preset position
cmd=setpreset;presetno=1
cmd=setpreset;preset=Look to the south          

Command: cmd=deletepreset
Keyword Description
preset Delete preset position. The command is followed by a preset number. If you have configured the names of the positions in the element device.definition, you can delete the preset position also by using the specified name.
EXAMPLE
Example for a command to delete the preset position
cmd=deletepreset;presetno=1