10
www.dericam.com
Shenzhen Dericam Technology Co,.Ltd
setvencattr
Function
Set encoding information for camera video.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=setvencattr&-chn=&-bps=&-fps=&-b
rmode=&-imagegrade=&-gop=]
Param.
chn
Channel No.
11 is the first stream.
12 is the second stream.
bps
Bit rate
720P: The range is [32 ~ 6144 kbps]
1080P: The range is [32 ~ 8192 kbps]
D1: The range is [32 ~ 2048 kbps]
CIF: The range is [32 ~ 512 kbps]
QCIF: The range is [32 ~ 256 kbps]
VGA: The range is [32 ~ 2048 kbps]
QVGA: The range is [32 ~ 512 kbps]
QQVGA: The range is [32 ~ 256 kbps]
fps
Frame rate
PAL: The range is [1 ~ 25]
NTSC: The range is [1 ~ 30]
brmode
Encode mode value:
0: CBR
1: VBR
imagegrade
Image quality value: The range is [1 ~ 6]
Note: The smaller the value, the better the
image, and the greater to affect the video bit
rate.
gop
Key frame interval value: The range is [2 ~ 150]
Return
Success: Success
Fail: Error
Note
None
Example
/cgi-bin/hi3510/param.cgi?cmd=setvencattr&-chn=11&-bps=1536&-f
ps=25&-brmode=1&-imagegrade=1&-gop=50
/cgi-bin/hi3510/param.cgi?cmd=setvencattr&-chn=12&-bps=1536&-f
ps=25&-brmode=1&-imagegrade=1&-gop=50
/cgi-bin/hi3510/param.cgi?cmd=setvencattr&-chn=11&-bps=1536&-f