Sensoray 2251 Rev.A Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel Sensoray 2251 Rev.A. Sensoray 2251 Rev.A User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 48
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
USB MPEG Capture Device
Software Manual
Model 2250 / 2251 | Rev.A | September 10
Vue de la page 0
1 2 3 4 5 6 ... 47 48

Résumé du contenu

Page 1 - Software Manual

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

Page 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

Page 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

Page 4 - Software

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

Page 5

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

Page 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

Page 7 - Functions Reference

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

Page 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

Page 9

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

Page 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

Page 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

Page 12

Table of ContentsLIMITED WARRANTY ...

Page 13

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

Page 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

Page 15

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

Page 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

Page 17

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

Page 18

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

Page 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

Page 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

Page 21

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

Page 22

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

Page 23

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

Page 24

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

Page 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

Page 26

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

Page 27

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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 34

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

Page 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

Page 36

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

Page 37 - Motion Map

Figure 4 This corresponds to the region show in Figure 5.42

Page 38 - Motion Detection Quickstart

Figure 5: Small region in upper left corner43

Page 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

Page 40

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

Page 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

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

Page 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

Page 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

Page 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

Page 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

Page 47

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

Page 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

Modèles reliés 2250 Rev.A

Commentaires sur ces manuels

Pas de commentaire