S2253_setmp4mode, S2253_getmp4mode, S2253_setaudioencoding – Sensoray 2253 Windows User Manual
Page 31

stream index (0 or 1).
S2253_SetMp4Mode
MID2253_API int __stdcall S2253_SetMp4Mode (
MID2253_MP4MODE
mp4mode,
int
devid,
int
strmidx);
Sets the .mp4 mux format for stream types H264 or MPEG4 (with record mode
MID2253_RECMODE_VIDEO or MID2253_RECMODE_AV). Files recorded using
MID2253_MP4MODE_STANDARD will be playable by most standard media
players. MID2253_MP4MODE_STREAMABLE uses a fragmented MP4 format
that allows streaming (instead of an index table at the end of the file). The
streamable format, however, is supported by fewer media players at this time.
mp4mode
MID2253_MP4MODE_STANDARD or MID2253_MP4MODE_STREAMABLE.
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
S2253_GetMp4Mode
MID2253_API int __stdcall S2253_GetRecordMode (
MID2253_MP4MODE
*mp4mode,
int
devid,
int
strmidx);
Returns current .mp4 mux/container format.
mp4mode
pointer to returned value MID2253_MP4MODE_STANDARD or
MID2253_MP4MODE_STREAMABLE.
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
S2253_SetAudioEncoding
MID2253_API int __stdcall S2253_SetAudioEncoding (
MID2253_AUDENC
aenc,
int
devid,
int
strmidx);
31