VIVOTEK
User's Manual - 377
© 2019 VIVOTEK INC. All Right Reserved
242
b. continuous movement -
If you trigger a continuous movement, you have to handle the stop time by yourself.
A continuous movement is convenient to integrate a joystick control.
http://IPAddr/cgi-bin/camctrl/eCamCtrl.cgi?stream=0&zooming=tele&zs=1
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&r
esolution=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
© 2019 VIVOTEK INC. All Right Reserved
243
PARAMETER
VALUE
DESCRIPTION
y
<integer>
movement
w
<integer>
The scaled area size
h
<integer>
resolution
<window size>
The resolution of streaming.
vx
<integer>
The direction of movement, used for joystick control.
vy
<integer>
vs
0 ~ 7
Set the speed of movement, “0” means stop.
x
<integer>
x-coordinate clicked by user.
It will be the x-coordinate of center after movement.
y
<integer>
y-coordinate clicked by user.
It will be the y-coordinate of center after movement.
videosize
<window size>
The size of plug-in (ActiveX)window in web page
resolution
<window size>
The resolution of streaming.
stretch
<boolean>
0 indicates that it uses
resolution
(streaming size) as the
range of the coordinate system.
1 indicates that it uses
videosize
(plug-in size) as the range
of the coordinate system.
speedpan
-5 ~ 5
Set the pan speed.
speedtilt
-5 ~ 5
Set the tilt speed.
speedzoom
-5 ~ 5
Set the zoom speed.
speedapp
1 ~ 5
Set the auto pan/patrol speed.
return
<return page>
Redirect to the page <return page> after the parameter is
assigned. The <return page> should be the relative path
according to the root of camera. If you omit this
parameter, it will redirect to an empty page.
* If the <return page> is invalid path, it will ignore this
parameter.