setSourceCrop.lua
[INDEX]

ABSTRACT

Set (preprocessor) source video cropping

If the encoder has an image preprocessor, it can crop special area of the source video pictures. Because of this feature, youcan get partial video and zoom it to your wanted size (Refer setSourceScale.lua), like a digital P(an)/T(ilt)/Z(oom).

NOTE: Not all encoders support this feature, but only the models with the image preprocessor.

ARGUMENTS

HTTP Arguments submit: POST

Test this API over HTTP - (URL):

Enable
INTEGER

0|1. 0 is turned off cropping and 1 is turned on.

Test value:

Left
NUMBER

The cropping place starts from left (by pixels) if 'Enable'=1

Test value:

Top
NUMBER

The cropping place starts from top (by Line) if 'Enable'=1

Test value:

Width
NUMBER

The cropping width (by pixels) if 'Enable'=1

Test value:

Height
NUMBER

The cropping height (by Line) if 'Enable'=1

Test value:

RETURNS

Return a JSON style result. The JSON format is:

{
/*OBJECT*/

"Result":
NUMBER

200 means OK, other error code meanings are similar to HTTP Response.

"Status":
"STRING"

Status message. Responsing result status of API executive, if there errors, it will describe reasons.

}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0