SENSORAY CO., INC.PCI or PC/104+MPEGCapture DeviceModel 614 and 314Windows SDK User’sManualApril, 2009 Sensoray 2006-20097313 SW Tech Center Dr.Tigar
Multiplexed stream callbacks(cbmux)MPEG1 PES Capture example commands• “encode 0”• “cbmux c:\\mpeg1_pes.mpg”• wait 10 seconds• “stop”MPEG2 PES Capture
because a separate MPEG4 DIVX DirectShow multiplexer must be purchased and installed on theusers system. Functions ReferenceAll API functions are dec
hwnd A handle to the window to display video in.bResizeIf set to TRUE, the window will be resized to match native video size.boardboard number in the
boardboard number in the system (use 0 for single board setups).Returns0 on success, negative value if error (see mid314types.h for error codes list).
MID314_API int SN_SetEncodeType( MID314_ENCODING encodeType, int board);Sets the desired encoding type (MPEG1,2,4). ParametersencodeTypeencoding e
boardboard number in the system (use 0 for single board setups).Returns0 on success, negative value if error (see mid314types.h for error codes list).
MID314_API int SN_StartPreview( int board);Starts video and audio streaming for preview only.Parametersboardboard number in the system (use 0 for si
0 on success, negative value if error (see mid314types.h for error codes list).MID314_API int SN_StartRecord( char *fileName, int board);Starts re
ParametersfileNamefull path to the target file, no extension.filetypefile type(s) to save to (MID314_FILE_JPEG, MID314_FILE_BMP, see mid314types.h).qu
MID314_API int SN_PausePlayback( BOOL bPause);Pauses/resumes playback.ParametersbPauseTRUE for pause, FALSE for resume.Returns0 on success, negative
Table of ContentsLIMITED WARRANTY ...
percenta numerator of the position in the file expressed as a fraction of a total file size.rangea denominator of the position in the file expressed a
( brightness 0 to 255 default 128, saturation –128 to 127 default 64, contrast –128 to 127 default 64, hue –128 to 127 default 0).boardboard number in
bMutepointer to retrieved setting.boardboard number in the system (use 0 for single board setups).Returns0 on success, negative value if error (see mi
Returns0 on success, -1 on failure, -2 – out of text space.MID314_API int SN_ClearOverlay( int board );Clears all overlays.Parametersboardboard num
Turns the preview on and off. Recording will continue regardless of this setting.ParametersbDisplayVideoTRUE to enable preview.boardboard number in th
MID314_ASPECT_NONE allows stretched preview image, MID314_ASPECT_CONSTmaintains original aspect ratio (see mid314types.h).boardboard number in the sys
MID314_API int SN_DisplayChange();Informs the video renderer that a WM_DISPLAYCHANGE message has been received by theapplication. This callback should
);Sets the value of the message that is sent to the application’s window in case of device removal(e.g. USB cable unplugged).Parametershwndhandle of t
int right_clip, int bottom_clip, int board );Sets the video position in the clipping window.Parametersxpos, yposx and y coordinates of the top
BITMAPINFOHEADER *pBMI, int type, int board );SN_GetFrame retrieves current frame. Type Currently supported for MPEG 1,2,4 only. Please seeGetF
Limited warrantySensoray Company, Incorporated (Sensoray) warrants the hardware to be free from defects inmaterial and workmanship and perform to appl
SN_StartCaptureOnly_CB, which is the same capture graph, but uses callbacks. In this mode,there is no preview available. Motion Detection is not sup
user just wants to get uncompressed frames or uncompressed frames withaudio from the 314.There are three modes supported currently. “recmode=0” is a
int board );This function is used to get compressed video data and/or audio dataout of the directshow graph. The function builds a DirectShow Capt
0 if success, negative if error.MID314_API int SN_StopCompressedCapture( int board );Stops the graph started by SN_StartCompressedCapture.Parameters
Registers a callback function for use with the SampleGrabberDirectShow graphs. Used with SN_StartCompressedCaptureOnly(recmodes 3and 4) and SN_StartC
ReferencesFor Model 614 and/or Model 314 hardware details, specifications, and 614 FPGA register layouts,please go to the Sensoray's 614 and/or 3
Special handling instructionsThe circuit board contains CMOS circuitry that is sensitive to Electrostatic Discharge (ESD). Special care should be take
IntroductionThe Model 614 is a PCI version of the Model 314. It has extra caption overlay feature. Thereferences to the 314 in this manual also refer
SoftwareFeature SummaryModel 614 or Model 314 is shipped with drivers for Microsoft Windows 2000/XP. A full-featureddemo application allows preview an
The drivers must also be redistributed to end-users and installed for proper function of the device.They are included in the drivers directory.SDK Ref
• video system and geometry: SN_SetVidSys(), SN_SetVidSize();• video parameters (brightness, contrast, saturation, hue): SN_SetLevels();• compression
Compressed MPEG stream(cbmpeg)The compressed MPEG stream in the console demo uses callbacks to get every MPEG frame(orJPEG for Motion JPEG) as it pas
Commentaires sur ces manuels