beautypg.com

Sensoray 614 Windows User Manual

Page 31

background image

user just wants to get uncompressed frames or uncompressed frames with
audio from the 314.

There are three modes supported currently. “recmode=0” is a filter
graph with the 314 Uncompressed Capture pin connected to the
SampleGrabber. The SampleGrabber filter is then connected to a Null
Renderer as required by the DirectShow SDK. The callback function is
called when uncompressed frames are received. It MUST be registered
with SN_RegisterVidCB before calling this function. Otherwise, the
graph gets built and no frames are delivered.

“recmode=1” and “recmode=2” are the same as “recmode=0” except the
audio is also capture. “recmode=1” has encoded audio and “recmode=2”
has raw audio. The audio callback MUST be registered with
SN_RegisterAudCB before calling this function.
There is no preview supported in this callback filter graph.
Therefor, any preview related functions do not
apply(SN_SetBoardWindow, SN_SetRenderVideo, etc..)

Parameters

recmode

Recording mode(see above)

colorspace

The desired colorspace for the SampleGrabber. 0-RGB24, 1-YUY2.

board

board number in system.

Returns

0 if success, negative if error.

MID314_API int SN_StopCaptureOnly_CB(

int board

);

Stops the graph started by SN_StartCaptureOnly_CB.

Parameters

board

board number in system.

Returns

0 if success, negative if error.

MID314_API int SN_StartCompressedCaptureOnly(

int recmode,

31

This manual is related to the following products: