Sensoray 2251 Rev.A Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Software Sensoray 2251 Rev.A. Sensoray 2251 Rev.A User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Software Manual

USB MPEG Capture DeviceSoftware ManualModel 2250 / 2251 | Rev.A | September 10

Página 2 - Table of Contents

);Retrieves current input settings.ParameterspSourcepointer to the value of current input.boardboard number in the system (use 0 for single board setu

Página 3 - Limited warranty

board number in the system (use 0 for single board setups).Returns0 on success, negative value if error (see mid2250types.h for error codes list).MID2

Página 4 - Software

);Retrieves current bitrate setting.Parametersboardboard number in the system (use 0 for single board setups).Returnscurrent bitrate (in bits per seco

Página 5

MID2250_API int SN_StopStream( int board);Stops video and audio streaming. If recording is enabled it is stopped as well.Parametersboardboard number

Página 6 - • Windows 7 support

Starts recording to a file. (Note: The “breakonrecsize” parameter and feature will be obsoleted in the future. It is recommended that SDK users do th

Página 7 - Functions Reference

Resumes the recording. Available only for Video elementary stream. Not available for Audio/Video multiplexed streams.Parametersboardboard number in

Página 8

);Takes a snapshot and saves it to a file.ParametersfileNamefull path to the target file, no extension.filetypefile type(s) to save to (MID2250_FILE_J

Página 9

MID2250_API int SN_PlaybackVideo( int vidnum);Starts playback of the specified file in current window.Parametersvidnumnumber of assigned video strea

Página 10

number of assigned video stream.Returns0 on success, negative value if error (see mid2250types.h for error codes list).MID2250_API int SN_PlaybackSetR

Página 11

a denominator of the position in the file expressed as a fraction of a total file size.vidnumnumber of assigned video stream.Returns0 on success, nega

Página 12

Table of ContentsLIMITED WARRANTY ...

Página 13

defines the parameter to set (MID2250_LEVEL_CONTRAST, MID2250_LEVEL_BRIGHTNESS, MID2250_LEVEL_SATURATION, MID2250_LEVEL_HUE). See see mid2250types.h f

Página 14

int board );Mutes audio on the host computer. Audio will still be recorded. If called while streaming, the function will stop and restart the srea

Página 15

BOOL bEnable, BOOL bUpdate, int board );Configures text overlays (OSD).ParametersidxOverlay number (index), 0-5.pPosposition of top left corner

Página 16

0 on success, negative value if error (see mid2250types.h for error codes list).MID2250_API int SN_SetVidSize( int iVidSize, int board );Sets the

Página 17

BOOL *bDisplayVideo, int board );Retrieves the preview setting.ParametersbDisplayVideopointer to retrieved setting.boardboard number in the syste

Página 18

Retrieves the aspect ratio control setting.Parametersmodepointer to retrieved setting.boardboard number in the system (use 0 for single board setups).

Página 19

);Removed with V.1.03. Please use SN_SetBoardWindow.MID2250_API int SN_SetRemoveMsg( HWND hwnd, int removeMsg, int board );Sets the value of th

Página 20

MID2250_API int SN_SetVideoPosition( int xpos, int ypos, int xsize, int ysize, int left_clip, int top_clip, int right_clip, int bottom

Página 21

JPEG frames, no rendering is performed. No DirectShow filters are required to be installed for MJPEG mode to function.ParametersmodeMID2250_OPMODE_NOR

Página 22

0 if success, negative if error.MID2250_API int SN_SetMpegSequence( MID2250_SEQMODE seqMode, int board );Set alternate MPEG sequence mode. For MPE

Página 23

Limited warrantySensoray Company, Incorporated (Sensoray) warrants the hardware to be free from defects in material and workmanship and perform to app

Página 24

pBMI pointer to bitmap info. Currently only the following parameters are updated: pBMI->biHeight, biWidth, biSizeImage.type type of buffer to ret

Página 25

0 if success, negative if error.MID2250_API int SN_StopMD( int board );Stops motion detection.Parametersboard Board number in system.Returns0 if s

Página 26

Retrieves the motion detection data. See demo application for example.Parametersregionthe returned region mask. 0x02: region 1, 0x04: region 2, 0x08

Página 27

typedef struct {char labelText[MAX_LABEL_SIZE]; // label to prepend to textint starttime; // start time in secondsint displayMS; // display millisecon

Página 28

function will check for start codes. It is recommended, therefore to separate the data. For instance, if you want to store a 32 bit (4 byte) latitud

Página 29

inSize size of pFrame buffer supplied (use 768*576*3 if unsure) pFrame pointer to buffer of size inSize where frame is stored type 0, uncompressed(co

Página 30

The second threshold is the motion vector threshold. The recommended range is 0-1600. For testing purposes(with sensitivity = 80), start at MV=700.

Página 31

Motion MapWhen motion is detected, an event is generated with data containing the region(s) of interest with motion and a motion map. The motion map c

Página 32

Figure 1 Motion Map( statistics represent number of motion events per region).The motion-map above shows a hit at macro-blocks 2,3,4,5 and other macro

Página 33

• Enter 720 for BR_x and 320 for BR_y.• Click OK.• Start stream (if not already started).• Select View->MDRegions. Region selected above will be s

Página 34

SoftwareFeature SummaryModels 2250 & 2251 are shipped with the drivers for Microsoft Windows 2000/XP/Vista. A full-featured demo application allow

Página 35 - Motion Detection

Figure 2 : Three(3) Motion Detection Regions of InterestThe above regions were set-up by selecting Tools->MDSetup. A screen shot of the setup for

Página 36

Figure 3: Setup for regions shown in Figure 2Example 2 : Advanced Motion MapThe motion map may show macroblocks outside the range of

Página 37 - Motion Map

Figure 4 This corresponds to the region show in Figure 5.42

Página 38 - Motion Detection Quickstart

Figure 5: Small region in upper left corner43

Página 39 - Motion Map Example

Figure 6The produced motion map when motion occurs is shown in Figure 6. The black rectangle shows macroblocks outside the area of interest. As exa

Página 40

Example 3: (Advanced) Custom motion detectionSome customers may want motion information on a macroblock by macroblock basis. If this is the case, the

Página 41

Figure 8When the event is captured by the waiting user program( see demo source code), it calls SN_GetMDData( &region, pBuf, BUFSIZE, board_number

Página 42 - Figure 4

From pBuf[0], we have the motion detect events for the first 8 macroblocks. 0x7c= 01111100b which represents the following:Macroblock 1 : bit field =

Página 43

Appendix A : Importing the DLL in C# .NETSensoray provides a C DLL for maximum portability between programming languages. This allows the use of Senso

Página 44 - Figure 6

The software is provided as is. Only one copy of the software is allowed and the software is tied to one Sensoray device only. It must not be copied

Página 45 - Figure 7

SDK ReferenceRelease NotesV1.19• Windows 7 supportThe common API flow is described below. Refer to the complete functions reference for the details on

Página 46 - Figure 8

4. If recording is required, it is initiated by a call to SN_StartRecord(), and stopped with a call to SN_StopRecord().5. During the recording the fol

Página 47

#define MID2250_API extern "C" __declspec(dllimport)MID2250_API int SN_Open( void );Must be called before any other API functions are call

Página 48

board number in the system (use 0 for single board setups).MID2250_API int SN_SetPlaybackWindow( HWND hwnd, BOOL bResize );Sets the window for

Modelos relacionados 2250 Rev.A

Comentários a estes Manuais

Sem comentários