VIVOTEK
340 - User's Manual
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&zooming=wide&zs=5
zooming is used to indicate the moving direction, and zs is used to indicate the speed.
To stop a continuous movement, you have to use the command as below:
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&zoom=stop&zs=0
2. [Area zoom]: it means to zoom in on a specific area, here is an example for a directly moving
[x, y] is the desired coordinate, and it will be the center after movement
[w, h] is the scaled area size
[resolution] is the base range of this coordinate system
The example shows [w, h] = [864, 488], which means to zoom in to ratio x2.2 based on [1920x1080].
Pay attention to that [x, y, w, h] are essential parameters in an area zoom case, and the stream index is counted
from 0 as the first stream.
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?channel=0&stream=0&x=912&y=297&w=864&h=488&resolution=
1920x1080
PARAMETER
VALUE
DESCRIPTION
channel
<0~(n-1)>
Channel of video source.
stream <0~(m-1)> Stream.
move
home
Move to home ROI.
up
Move up.
down
Move down.
left
Move left.
right
Move right.
auto
pan
Auto pan.
patrol
Auto patrol.
stop
Stop auto pan/patrol.
zoom
wide
Zoom larger view with current speed.
tele
Zoom further with current speed.
zooming
wide or tele
Zoom without stopping for larger view or further view with zs speed,
used for joystick control.
zs
0 ~ 6
Set the speed of zooming, “0” means stop.
x
<integer>
The desired coordinate, and it will be the center after movement
y <integer>
w
<integer>
The scaled area size
h <integer>
resolution
<window size>
The resolution of streaming.