beautypg.com

Sensoray 614 Windows User Manual

Page 8

background image

video system and geometry:

SN_SetVidSys(), SN_SetVidSize()

;

video parameters (brightness, contrast, saturation, hue):

SN_SetLevels()

;

compression configuration

: SN_SetEncodeType(), SN_SetBitrate()

;

audio input configuration:

SN_SetAudioInput(), SN_SetMute()

;

record mode:

SN_SetRecordMode()

;

OSD:

SN_SetOverlayText()

.

caption overlay:

SN_WriteI2C()

.

3. A call to

SN_StartPreview()

starts the 314/614 for preview only. The stream received

from the PCI bus is decoded and displayed in the user window specified with

SN_SetBoardWindow()

.

4. If recording is required, the stream should be started with a call to SN_StartRecord, and

stopped with a call to

SN_StopRecord()

.

5. If Data needs to be retrieved from the Directshow Capture graph, please see the console

demo and the functions SN_StartCaptureOnly, SN_StartCaptureOnly_CB and
SN_StartCompressedCaptureOnly(mpeg callbacks).

6. During the recording the following function could be used to obtain some useful

information:

SN_GetStatus()

– current status (record, playback), current recorded file size

and path;

7.

SN_Close()

must be called before application terminates to clean up properly.

Demo applications

The SDK includes two demo applications provided with the source code to illustrate the use of SDK’s
functions.

app-x14-demo – an MFC application. Displays the stream in the window, allows modification of
compression, video, and audio parameters, recording the stream to the hard drive. More information
about the MFC application is in the QuickStart manual on the website.

code_console – a simple console application. If you want to get the MPEG data or uncompressed data
directly out of the 314/614 Card without preview, please see the console app source code.

Example console app usage

8

This manual is related to the following products: