ZOOM

Description

> Perform the zoom function.

> If the CHANNEL=n was not set with this URL to the Multi-Channel device, the error message will be returned.

> For PTZ IP Camera, the ZOOM=STOP should be sent after another ZOOM command had been sent.

> There are five levels in zoom speed. The PTZ camera might have more levels of zoom speed. In case, the linear scaling algorithm will be used for that.

> The zoom position in this URL is from 0x0 to 0xFFFF. The PTZ camera might not have such wide range of the zoom position. However, the device will NOT validate the zoom position before parser and handle this URL. Please refer to the device specification to have correct zoom position range.

Input Argument

> STOP
> or
> Cmd,0xn
> where Cmd could be TELE or WIDE and the n is a hexadecimal value for zoom speed from 1 (slowest) to 5 (fastest).
> The zoom speed could be ignored and the current zoom speed setting will be used.
> or
> DIRECT,0xn
> where n is a hexadecimal value from 0~FFFF to indicate the position of zoom.

Attribute

- Write Only
- On-Fly

Return of Message

- Write Operation

> OK: echo of command
> or
> ERROR: echo of command

Applicability

- EPL Platform : All Encoders
- PlatfotmT : All Encoders
- Multi-Channel Encoder : 4CH and 16CH Video Servers

Status

> Valid

See Also

> ADDR, PTZ_VENDOR, ZOOM_POSITION, FOCUS, FOCUS_POSITION, MOVE, MOVE_LIMIT, MOVE_LIMIT_GET, MOVE_MAX_SPEED_GET, POSITION, POSITION_GET

Example

- Write Operation

> http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&ZOOM=TELE,0x5
> or
> http://ip:port/cgi-bin/cmd/encoder?ZOOM=TELE,0x5

Back to

> HOME, ENCODER CGI