beautypg.com

S2253_setrecordmode, S2253_getrecordmode – Sensoray 2253 Windows User Manual

Page 30

background image

val

a pointer to the variable receiving interpolation setting.

devid

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

S2253_SetRecordMode

MID2253_API int __stdcall S2253_SetRecordMode (

MID2253_RECMODE

recmode,

int

devid,

int

strmidx);

Controls whether audio is recorded or not. Also controls the multiplex (mux)
format. MID2253_RECMODE_VIDEO is multiplexed video only. If the stream
type is MPEG-4 or H.264, the format will be MP4. Otherwise the format is AVI.
MID2253_RECMODE_AV is multiplexed audio and video. The mux format is the
same as for MID2253_RECMODE_VIDEO.
MID2253_RECMODE_VES is video only elementary stream. There is no mux or
container format. This mode applies to MPEG-4 or H.264 only. If the stream
type is a different stream type, it will be formatted as AVI.
recmode

MID2253_RECMODE_VIDEO, MID2253_RECMODE_AV or
MID2253_RECMODE_VES.

devid

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

strmidx

stream index (0 or 1).

S2253_GetRecordMode

MID2253_API int __stdcall S2253_GetRecordMode (

MID2253_RECMODE

*recmode,

int

devid,

int

strmidx);

Returns current recording mode setting.
recmode

pointer to returned value MID2253_RECMODE_VIDEO,
MID2253_RECMODE_AV, or MID2253_RECMODE_VES.

devid

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

strmidx

30

This manual is related to the following products: