42 / 58
int ICubeSDK_SaveAvi(int nCamIndex,char* Name,int nMode,int nTimeInSecs)
Purpose:
saves an avi stream to the hard disk. If an avi stream is saved without the use of an
preview window, a window_handle has also being provided with ICubeSDK_Start().
ICubeSDK_GetCamParameter(REG_AVI_STATE) get the avi stream save status
(ON||OFF), whereat ON means saving is still in progress and OFF saving is finished.
Description
Parameters
int
nCamIndex,
char*
Name,
int
nMode,
int
nTimeInSecs
Return value
int
stat
Return value:
int
stat: IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
Char*
name: path and name of the file, the extension must be avi
int
nMode: currently, only AVI_DIB mode is supported
int
nTimeInSecs: length of the saved stream in seconds