S2263_setbitrate, S2263_getbitrate – Sensoray 2263 User Manual

Page 20

Advertising
background image

Gets the curently set recording mode for saved files. Please see
mid2263types.h for the description.
recmode

A pointer to the variable receiving the recording mode.

devid

device id in the system (use 0 with a single board installed).

strmidx

stream index (0 or 1).

S2263_SetBitrate

MID2263_API int __stdcall S2263_SetBitrate(

int

bitrate,

int

devid,

int

strmidx);

Sets the bitrate for H.264 encoding, in kilobits per second (kbps). Allowed
range: 100-20000 kbps.
It is recommended to stay above 700 kbps for full size (640x480 and larger)
resolutions.
bitrate

bitrate in kbps.

devid

device id in the system (use 0 with a single board installed).

strmidx

stream index (0 or 1).

S2263_GetBitrate

MID2263_API int __stdcall S2263_GetBitrate(

int

*bitrate,

int

devid,

int

strmidx);

Gets the current bitrate settings, in kilobits per second (kbps).
bitrate

a pointer to the variable receiving the bitrate value in kbps.

devid

device id in the system (use 0 with a single board installed).

strmidx

stream index (0 or 1).

20

Advertising