
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved.
23
BitrateControlType_t brc
bitrate control mode, brVBR and br CBR
Explanation:
This function should be cooperated with SetupBitrateControl function, When brCBR is
Selected and SetBitrateControl is called with specified bitrate, the encode system will output
data bits which will not exceed the limit set by SetBitrateControl,if the picture quality has
already reached then the output bitrate will be a lower value compared to the bitrate set .If
the brCBR is set then the bit rate will be the value set by SetBitrateControl and the picture
quality is adjust automatically to maintain constant bitrates.
For DS-42xxHCI/HFVI Card, if the stream is video only, the minimum bit rate
should be bigger than 32*1024bps, and if the stream is Video&Audio the
minimum bitrate should be bigger than 96*1024bps
Return value:
0—success; -1 – failed;
4.2.35.
int SetVideoStandard(int channelHandle, VideoStandard_t videoStandard)
Parameter:
int channelHandle
channel handle;
VideoStandard_t videoStandard
video standard
Explanation:
To set current video standard to the specified type, it‘s is unnecessary to call the function if
we boot the system under the condition that the video camera is connected. But it is
necessary to call this function if we boot the system without connecting the cameras or we
change the different format cameras in the process.
Return value:
0—success; -1 – failed;
4.2.36.
int SetDefaultVideoStandard(VideoStandard_t VideoStandard)
Parameter:
VideoStandard_t VideoStandard
video format
Explanation:
To set the system default video format, the defaulted is PAL.
If there is no any video input in all video input channel in system, thus this channel will
process as to the defaulted format
The format for all video output channel will adopt the defaulted format when the system
startup.
Note
:
this function can only be run before system initialization (calling InitDSPs), or it is invalid.
4.2.37.
int SetVideoDetectPrecision(int hChannelHandle,unsigned int value)
Parameter:
int hChannelHandle channel handle;
int value
precision
Explanation: