VIVOTEK
418 - User's Manual
© 2022 VIVOTEK INC. All Right Reserved
269
8.7 ePTZCameraControl(capability_eptz>0and
Capability_fisheye=0)
Note:Thisre questrequirescamctrlprivileges.
Method:GET/POST
Synta x:
http://<servername>/cgi‐bin/camctrl/eCamCtrl.cgi?channel=<value>&stream=<value>
[&move=<value>]–Movehome,up,down,left,right
[&auto=<value>]–Autopan,patrol
[&zoom=<value>]–Zoomin,out
[&zooming=<value>&zs=<value>]–Zoomwithoutstopping,usedforjoystick
[&x=<value>&y=<value>&w=<value>&h=<value>&resolution=<value>]‐Zoomin,outonaspecific
area
[&vx=<value>&vy=<value>&vs=<value>]–Shiftwithoutstopping,usedforjoystick
[&x=<value>&y=<value>&videosize=<value>&re solution=<value>&stretch=<value>]–Clickon
image
(Movethecenterofimagetothecoordination(x,y)basedonresolutionorvideosize.)
[[&speedpan=<value>][&speedtilt=<value>][&speedzoom=<value>][&speedapp=<value>]]–Set
speeds
[&return=<returnpage>]
Example:
http://myserver/cgi‐bin/camctrl/eCamCtrl.cgi?channel=0&stream=0&move=right
http://myserver/cgi‐bin/camctrl/eCamCtrl.cgi?channel=0&stream=1&vx=2&vy=2&vz=2
http://myserver/cgi‐bin/camctrl/eCamCtrl.cgi?channel=0&stream=1&x=100&y=100&
videosize=640x480&resolution=640x480&stretch=0
Inzoomoperation,therearetwowaystocontrolit,scalezoomandareazoom.
1.[Scalezoom]:containstwocontrolmethod,relativemovementandcontinuousmovement
a.relativemovement‐
Ifyoutriggerarelativemovement,itwillonlyzoomcertainratioandstopbyitself.
http://IPAddr/cgi‐bin/camctrl/eCamCtrl.cgi?stream=0&zoom=tele
http://IPAddr/cgi‐bin/camctrl/eCamCtrl.cgi?stream=0&zoom=wide
Thezoomratiotomovebyrelativemovementisaccordingtothesettingofspeedzoom[‐5~5].
http://IPAddr/cgi‐bin/camctrl/eCamCtrl.cgi?stream=0&speedzoom=5