Sensoray 2251 Rev.A Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Sensoray 2251 Rev.A. Sensoray 2251 Rev.A User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - Software Manual

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

Strona 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

Strona 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

Strona 4 - Software

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

Strona 5

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

Strona 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

Strona 7 - Functions Reference

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

Strona 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

Strona 9

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

Strona 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

Strona 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

Strona 12

Table of ContentsLIMITED WARRANTY ...

Strona 13

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

Strona 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

Strona 15

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

Strona 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

Strona 17

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

Strona 18

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

Strona 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

Strona 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

Strona 21

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

Strona 22

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

Strona 23

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

Strona 24

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

Strona 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

Strona 26

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

Strona 27

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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 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

Strona 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

Strona 34

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

Strona 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

Strona 36

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

Strona 37 - Motion Map

Figure 4 This corresponds to the region show in Figure 5.42

Strona 38 - Motion Detection Quickstart

Figure 5: Small region in upper left corner43

Strona 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

Strona 40

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

Strona 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

Strona 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 =

Strona 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

Strona 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

Strona 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

Strona 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

Strona 47

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

Strona 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

Powiązane modele: 2250 Rev.A

Komentarze do niniejszej Instrukcji

Brak uwag