beautypg.com

S2253_getstreamtype, S2253_setbitrate, S2253_getbitrate – Sensoray 2253 Windows User Manual

Page 25

background image

S2253_GetStreamType

MID2253_API int __stdcall S2253_GetStreamType(

MID2253_STREAMTYPE

*stype,

int

devid,

int

strmidx);

Gets the curently set stream type (compression). Please see mid2253types.h

for the description.
stype

A pointer to the variable receiving the stream type.

devid

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

strmidx

stream index (0 or 1).

S2253_SetBitrate

MID2253_API int __stdcall S2253_SetBitrate(

int

bitrate,

int

devid,

int

strmidx);

Sets the bitrate for H.264 or MPEG4 encoding, in kilobits per second (kbps).
Allowed ranges: 100-20000 kbps for MPEG-4 and H.264.
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).

S2253_GetBitrate

MID2253_API int __stdcall S2253_GetBitrate(

int

*bitrate,

int

devid,

int

strmidx);

25

This manual is related to the following products: