
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved.
22
Return value:
0—success; -1 – failed;
4.2.31.
int SetEncoderPictureFormat(int channelHandle, PictureForamt_t pictureFormat) ;
Parameter:
Int channelHandle
channel handle
PictureForamt_t pictureFormat the format of coding image (4CIF, 2CIF, CIF, QCIF
CIFQ)
Explanation:
Set the encoding format of the master channel.
Return value:
0—
success; -1 – failed;
Remarks
DS-42xx Card doesn’t support DCIF resolution.
4.2.32.
int SetSubEncoderPictureFormat(int channelHandel, PictureFormat_t pictureFormat)
Parameter:
int channelHandle channel handle
PictureForamt_t pictureFormat the format of coding image (4CIF, 2CIF, CIF, QCIF DCIF)
Explanation:
Set the encoding format of the sub channel.
Return value:
0—
success; -1 – failed;
Remarks
DS-42xx Card doesn’t support DCIF resolution.
4.2.33.
int SetupBitrateControl(int channelHandle, int MaxBps) ;
Parameter:
int channelHandle channel handle;
int MaxBps the most baud rate (more than 100000)
Explanation:
It can be used to set the maximum baud rate. If the parameter of MaxBps is set to 0 then
bit-rate control is closed. When the parameter of MaxBps is set as a certain baud rate, as the
encoding data stream exceeds this value, DSP will automatically adjust encoding parameter
not to exceed the max baud rate. While if the data stream is smaller than the maximum baud
rate then DSP don‘t bother it; the adjustable error is <10%;
Return value:
0—success; -1 – failed;
4.2.34.
int SetBitrateControlMode(int channelHandle, BitrateControlType_t brc)
Parameter:
int channelHandle
channel handle