ADLINK Technology PCI-MP4S Manual de usuario Pagina 1

Busca en linea o descarga Manual de usuario para Las Tarjetas Gráficas ADLINK Technology PCI-MP4S. ADLINK Technology PCI-MP4S User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 130
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Advance Technologies; Automate the World.
Manual Rev. 2.00
Revision Date: January 7, 2005
Part No: 50-15029-101
PCI-MP4S
4-CH MPEG4 Software
Video Compression Card
User’s Manual
Vista de pagina 0
1 2 3 4 5 6 ... 129 130

Indice de contenidos

Pagina 1 - PCI-MP4S

Advance Technologies; Automate the World.Manual Rev. 2.00Revision Date: January 7, 2005Part No: 50-15029-101PCI-MP4S4-CH MPEG4 SoftwareVideo Compre

Pagina 3 - Getting Service from ADLINK

90 Function LibraryResult = AngeloMPEG4_Decode_Set_Motion_Detection(channel, area, 0, Threshold, interval, action, X_Start, Y_Start, Width, Height);en

Pagina 4

Function Library 91video_format:Full NTSC (640*480) = 0, Full PAL (768*576) = 1, CIF NTSC (320*240) = 2, CIF PAL (384*288) = 3, Q

Pagina 5 - Table of Contents

92 Function Library@ Return Code0: ERROR_NoError@ Example< VC/BCB >int Result;int channel = 0;int iWidth = 0;int iHeight = 0;int video_format =

Pagina 6

Function Library 93Result := AngeloMPEG4_Decode_Get_Config(channel, iWidth, iHeight, videoformat, colorspace, Bitrate, frame_rate);end;AngeloMPEG4_De

Pagina 7 - Table of Contents iii

94 Function Libraryint Result;int channel = 0;Result = AngeloMPEG4_Decode_Start(channel);Result = AngeloMPEG4_Decode_Stop(channel);< Visual Basic &

Pagina 8 - List of Tables

Function Library 95@ Argument Decoder_Index: Indicates the channel number of MPEG4 Decoder. The range of channel is 0 - 15.Byte_Second: The current f

Pagina 9 - List of Figures

96 Function LibraryAngeloMPEG4_Decode_ ReInitial–AngeloMPEG4_Decode_ ReInitialEx–@ SyntaxC/C++ (Windows 98/NT/2000/XP)int AngeloMPEG4_Decode_ReInitial

Pagina 10

Function Library 97Quality:Bitrate: Indicates the bitrate of MPEG4 stream from encode server.Frame_rate: Indicates the frame rate of MPEG4 stream fro

Pagina 11 - 1 Introduction

98 Function Libraryint Result;int channel = 0;int Quality =0int Bitrate = 480000;int frame_rate = 15;int Angelo_Video_Format = 2;Result = AngeloMPEG4_

Pagina 12 - 1.1 Features

Function Library 99AngeloMPEG4_Decode_ Save_File_Start–AngeloMPEG4_Decode_ Save_File_Stop–@ SyntaxC/C++ (Windows 98/NT/2000/XP/CE.NET)int AngeloMPEG4

Pagina 13 - MPEG4 Encoding

Introduction 11 IntroductionThe PCI-MP4S is a MPEG4 software video compression develop-ment kit that combines excellent real-time image acquisition a

Pagina 14 - Watch Dog Timer

100 Function Libraryformat:1: m4v,2: avi.3: both.@ Return Code0: ERROR_NoError@ Example< VC/BCB >int Result;int channel = 0;char* n_file_name =

Pagina 15 - 1.2 Applications

Function Library 101interval_second, format: Longint;Result: Longint;beginchannel := 0;n_file_name := ‘Video0’;interval_second := 10;format := 3; //

Pagina 16 - 1.4 Compression Benchmark

102 Function Libraryint AngeloMPEG4_Decode_File_Start(int Decoder_Index,int Mode);int AngeloMPEG4_Decode_File_Set_Position(int Decoder_Index, long* Fr

Pagina 17 - Video Format: QCIF (160*120)

Function Library 103Byte_Per_Pixel As Long, Total_Frame As Long, Time_Seconds As Long) As LongAngeloMPEG4_M4V _2_ AVI (ByVal file_name As String, iWi

Pagina 18

104 Function Libraryfile_name: The name of file to save to, includes the path and extension of file name.iWidth: Indicate the width of the MPEG4 image

Pagina 19 - Video Format: CIF(320*240)

Function Library 105char* m4v_filename = “test2.m4v”;char* avi_filename = “test3.avi”;void CM4VPlayerView::MediaStreamProc( int Decoder_Channel ,long

Pagina 20 - PCI-X Platform

106 Function Librarym_filename = “test1.m4v”m4v_filename = “test2.m4v”avi_filename = “test3.avi” m_Decoder_Channel = 0Mode = 0 ‘play oncePublic Sub lp

Pagina 21

Function Library 107

Pagina 22

108 Function Library< Delphi >procedure DecoderCallbackProc(Decoder_Index:Longint;int_status:Longint;VideoBufferaddress:Longint); stdcallvar

Pagina 23

Function Library 109Result := AngeloMPEG4_Decode_File_Set_Position(m_Decoder_Channel,m_total_frame div 2);Result := AngeloMPEG4_Decode_File_Pause(m_D

Pagina 24

2Introduction1.1 FeaturesImage AcquisitionAcquisition speedColor Image: The color video format is compatible with the follow-ing composite video input

Pagina 25

110 Function Library5.4 System Functions@ NameAngeloMPEG4_Get_Version(lMpeg4_DLLVersion,AngeloRTV_DLLVersion, Reserved)@ DescriptionAngeloMPEG4_Get_Ve

Pagina 26 - 16 Introduction

Function Library 111@ ArgumentMpeg4_DLLVersion: Indicates the current version of theMPEG4 DLL. It is of 4 rows in length.AngeloRTV_DLLVersion: Indica

Pagina 27 - 2 Hardware Reference

112 Function LibraryResult: Longint;Str_AngeloMPEG4_Version, Str_AngeloRTV_Version: String;beginResult := AngeloMPEG4_Get_Version(Mpeg4_DLLVersion[0],

Pagina 28 - Form Factor

Appendix 113AppendixAppendix A: GlossaryBrightness: Attribute of a visual sensation according to which an area appearsto exhibit more or less light C

Pagina 29 - PCI-MP4S Standard Accessories

114 AppendixFrame:One frame (two fields) of video contains the full vertical interlacedinformation content of the picture. For NTSC this consists of 5

Pagina 30 - Video Inputs

Appendix 115Ireland) and PAL M (hybrid standard, having the same resolutionas NTSC, but uses PAL transmission and color coding technol-ogy).Saturatio

Pagina 31 - GPIO (CN8)

116 AppendixAppendix B: Standard Compliance This equipment has been tested and found to comply with the lim-its for a Class A digital device, pursuant

Pagina 32 - Watchdog Timer Reset

Appendix 117This equipment has been tested and found to comply withEN55022/CISPR22 and EN55024/CISPR24. To meet EC require-ments, shielded cables mus

Pagina 33

118 Appendix

Pagina 34 - Normal Open Normal Closed

Warranty Policy 119Warranty PolicyThank you for choosing ADLINK. To understand your rights andenjoy all the after-sales services we offer, please rea

Pagina 35 - Active High Active Low

Introduction 3MPEG4 EncodingQuality Index:Supports setting of initial motion detection area and assigning orcreating directory for saved files.Save v

Pagina 36 - GPIO (CN2)

120 Warranty Policy3. Our repair service is not covered by ADLINK's two-yearguarantee in the following situations:X Damage caused by not followin

Pagina 37

4IntroductionSave single image file: Supports save single image to BMP orJPEG image file format.MPEG4 DecodingMPEG4 video decoding: Video decoding can

Pagina 38 - 28 Hardware Reference

Introduction 5I/O LinesThe PCI-MP4S is fitted with TTL compatible I/O lines protectedagainst overloads and electrostatic discharges. Each line may be

Pagina 39 - 3 Installation Guide

6Introduction1.3 System requirementFor real-time* to compression 4-CH color MPEG4 video require-ment, the PCI-MP4S minimum system requirement are as f

Pagina 40 - 3.2 Driver Installation

Introduction 7Video Format: QCIF (160*120)# Port EncodingQualityCPU loading (max. %)DecodingMicrosoft Media PlayerADLINK M4V Player1Lowest 11 OK OKLo

Pagina 41 - 2. Select Vision

8Introduction* When CPU loading up to 100% then will start have time-lapseeffect.12Lowest 34 OK OKLow 42 OK OKNormal 61 OK OKHigh 91 OK OKHighest 91 O

Pagina 42 - 3. Click Angelo

Introduction 9Video Format: CIF(320*240)* When CPU loading up to 100% then will start have time-lapseeffect.# Port EncodingQualityCPU loading (max. %

Pagina 43 - Installation Guide 33

Copyright 2005 ADLINK TECHNOLOGY INC.All Rights Reserved. The information in this document is subject to change without priornotice in order to improv

Pagina 44 - 34 Installation Guide

10 IntroductionVideo Format: 4CIF(640*480)* When CPU loading up to 100% then will start have time-lapseeffect.PCI-X PlatformX SBC: ADLINK NuPRO850X CP

Pagina 45 - Installation Guide 35

Introduction 11Video Format: QCIF (160*120)# Port EncodingQualityCPU loading (max. %)DecodingMicrosoft Media PlayerADLINK M4V Player1Lowest 5 OK OKLo

Pagina 46 - 36 Installation Guide

12 Introduction12Lowest 18 OK OKLow 25 OK OKNormal 33 OK OKHigh 58 OK OKHighest 55 OK OK16Lowest 28 OK OKLow 45 OK OKNormal 61 OK OKHigh 87 OK OKHighe

Pagina 47 - Installation Guide 37

Introduction 13Video Format: CIF(320*240)# Port EncodingQualityCPU loading (max. %)DecodingMicrosoft Media PlayerADLINK M4V Player1Lowest 9 OK OKLow

Pagina 48 - Click Next

14 Introduction* When CPU loads up to 100%, the time-lapse effect would com-mence.6Lowest 29 OK OKLow 38 OK OKNormal 52 OK OKHigh 92 OK OKHighest 98 O

Pagina 49 - Installation Guide 39

Introduction 15Video Format: 4CIF(640*480)* When CPU loads up to 100%, the time-lapse effect would com-mence.# Port EncodingQualityCPU loading (max.

Pagina 51 - Installation Guide 41

Hardware Reference 172 Hardware Reference2.1 PCI-MP4S SpecificationVideo InputFour composite video color digitizersVideo input interface: four compos

Pagina 52 - Click Reinstall Driver

18 Hardware ReferenceWatch Dog TimerX For monitoring applications – will reset the PC after a pro-grammable inactivity time-out.X Interface: 2-pin hea

Pagina 53

Hardware Reference 19PCI-MP4S AppearanceFigure 2-2: PCI-MP4S AppearancePCI-MP4S Standard AccessoriesX Watch dog reset cableX GPIO bracketX User’s Man

Pagina 54 - Then click OK

Getting Service from ADLINKCustomer Satisfaction is top priority for ADLINK Technology Inc.Please contact us should you require any service or assista

Pagina 55 - Installation Guide 45

20 Hardware ReferencePCI-MP4S Connectors and Pin DefinitionsVideo InputsChannel Extension Video Input (CN2)Connector DefinitionVideo IN – CH 0Video IN

Pagina 56 - 46 Installation Guide

Hardware Reference 21Channel Extension Video Input (CN3)Channel Extension Video Input (CN5)Table 2-5: Channel Extension Video Input (CN5)GPIO (CN8)T

Pagina 57 - 4 ViewCreator Utility

22 Hardware ReferenceGPIO (CN9)Table 2-7: GPIO (CN9)Watchdog Timer ResetTable 2-8: Watchdog Timer ResetPin Function Pin Function1IN2 (External inter

Pagina 58 - 4.3 Operation Theory

Hardware Reference 232.2 RTV-E4 Extension board for RTV-24 and PCI-MP4S(Optional item, not a standard accessory)Figure 2-4: RTV-E4RTV-E4 Connectors a

Pagina 59 - Video image configuration

24 Hardware Reference2.3 RTV-I4 Isolation GPIO board for RTV-24 and PCI-MP4S(Optional item, not a standard accessory)Figure 2-5: RTV-I4RTV-I4 Connecto

Pagina 60 - Special image effect

Hardware Reference 25Relay I/O voltage requirement:X Input: +5V to +24VX Output: AC: 0.5A/125V, DC: 1A/30V or 0.3A/100VSTRG output signal select:X ST

Pagina 61 - ViewCreator Utility 51

26 Hardware ReferenceTrigger output voltage: 0V to +5VInput 2R10P pin header pin definition:GPIO (CN1)Table 2-10: GPIO (CN1)GPIO (CN2)Table 2-11: GP

Pagina 62 - 52 ViewCreator Utility

Hardware Reference 27D-sub 25-pin output connector pinPin Signal name Pin Signal name1 DI1 14 RY3_COM2 DI1_COM 15 RY43 DI2 16 RY4_COM4 DI2_COM 17 STR

Pagina 63 - 5 Function Library

28 Hardware Reference

Pagina 64 - Table 5-1: List of Functions

Installation Guide 293 Installation Guide3.1 Hardware InstallationPCI-MP4SUse the following steps to install the PCI-MP4S board on the PCIbus:1. Remo

Pagina 66 - 56 Function Library

30 Installation Guide5. Once perfectly aligned with an empty slot, press theboard firmly but carefully into the connector.6. Anchor the board by repla

Pagina 67 - AngeloMPEG4_Encode_InitialEx–

Installation Guide 312. Select Vision.

Pagina 68

32 Installation Guide3. Click Angelo4. Select Windows Driver for Windows 98/NT/2000/XP.

Pagina 69 - Table 5-2: Quality Index

Installation Guide 335. The driver will begin installing.6. Click Next until the driver installs completely.

Pagina 70

34 Installation Guide

Pagina 71

Installation Guide 35

Pagina 72 - C/C++ (Windows 98/NT/2000/XP)

36 Installation Guide7. Click Finish and restart the system.

Pagina 73

Installation Guide 37X The Found New Hardware Wizard window appears after system restarts. Click NEXT and follow the following steps to complete the

Pagina 74

38 Installation GuideZ Click Next.

Pagina 75 - AngeloMPEG4_Encode_Close–

Installation Guide 39Z Click Next.Z Click Finish.X Another Found New Hardware Wizard window appears when you finished the wizard. Repeat step 7.1 unt

Pagina 76

Table of Contents iTable of ContentsTable of Contents... iList of Tables...

Pagina 77

40 Installation GuideX If you see a yellow question mark appear in front of the new driver’s name, you need to setup the driver manually.

Pagina 78

Installation Guide 41X Right click on the driver name, Multimedia Controller which is a audio device, then select Properties on the popup menu. Follo

Pagina 79

42 Installation GuideZ Click Reinstall Driver.Z Click Next.

Pagina 80

Installation Guide 43Z Click Next.Z Check Specify a location then click Next.Z In Copy manufacture’s files from: text box insert the location of driv

Pagina 81

44 Installation GuideThen click OK.Z Click Next.

Pagina 82 - <Delphi >

Installation Guide 45Z Click Finish to complete this wizard.Z This device is working properly.Z The yellow question mark disappears.

Pagina 83

46 Installation GuideX Right click on the driver name, Multimedia Video Controller which is a video device. Repeat step 8.2 onwards.X Repeat steps 8.2

Pagina 84 - 5.3 Decode Functions

ViewCreator Utility 474 ViewCreator UtilityOnce hardware installation is complete, ensure that the system iscorrectly configured before running the V

Pagina 85 - Function Library 75

48 ViewCreator Utility4.2 Component DescriptionTree BrowserThe Tree Browser window lists the PCI-MP4S cards and videoports available at the local comp

Pagina 86 - 76 Function Library

ViewCreator Utility 49MPEG4 EncodingSingle channel displayX Click a video Port icon in the Tree Browser window. A video frame will appear in the Imag

Pagina 87 - Function Library 77

ii Table of ContentsPCI-MP4S Standard Accessories ... 19PCI-MP4S Connectors and Pin Definitions ... 202.

Pagina 88 - 78 Function Library

50 ViewCreator UtilityVideo adjustmentsHueClick and hold the left mouse button on the Hue slider of theControl Panel and drag the cursor to change its

Pagina 89 - AngeloMPEG4_Decode_Connect –

ViewCreator Utility 51Cross LineCheck the Cross Line check box in the Control Panel. A cross-hair will appear in the center of the rectangle.ToolsGPI

Pagina 90

52 ViewCreator Utility

Pagina 91

Function Library 535 Function LibraryThis chapter describes the API for Mpeg4 encode and decode.Users can use these functions to develop application

Pagina 92

54 Function LibraryDecode (Section 5.3)AngeloMPEG4_Decode_Set_Callback(Decoder_Index, CallBackProc)AngeloMPEG4_Decode_Connect(Decoder_Index,Encoder_IP

Pagina 93

Function Library 555.2 Encode Functions@ NameAngeloMPEG4_Encode_Initial(Encoder_Index, Local_Address, Quality , Angelo_PortNo, Angelo_ChannelNo, Ange

Pagina 94

56 Function LibraryAngeloMPEG4_Encode_Set_Motion_Detection(Encoder_Index, Area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height):

Pagina 95

Function Library 57AngeloMPEG4_Encode_Save_File_Start:Use this function to save the encoded image into an “.avi” or“.m4v” video file. The “.avi” file

Pagina 96

58 Function LibraryAngelo_Color_Format, int Angelo_Video_Format)int AngeloMPEG4_Encode_InitialEx(int Encoder_Index, char* Local_Address, int Bitrate,

Pagina 97

Function Library 59@ ArgumentEncoder_Index: Indicates the channel index for the MPEG4encoder. The range of channels is 0 – 15.Local_Address: Indicate

Pagina 98

Table of Contents iiiAngeloMPEG4_Decode_Connect – ... 79AngeloMPEG4_Decode_Disconnect – ... 79Angelo

Pagina 99

60 Function LibraryBitrate: Indicates the number of bits per second.frame_rate: Indicates the number of frames that theMPEG4 encoder will encode per s

Pagina 100

Function Library 61int Bitrate = 480000;int frame_rate = 15;Result = AngeloMPEG4_Encode_Initial (Encoder_Index, Quality, Angelo_PortNo, Angelo_Channe

Pagina 101 - Function Library 91

62 Function Library< Delphi >VarEncoder_Index, Result: Longint;Quality: Longint;Bitrate, frame_rate: Longint;Angelo_PortNo, Angelo_ChannelNo: Lo

Pagina 102

Function Library 63Visual Basic (Windows 98/NT/2000/XP)AngeloMPEG4_Encode_Set_Callback (ByVal Encoder_Index As Long, ByVal Encode_CallBackProcas As L

Pagina 103 - AngeloMPEG4_Decode_Stop–

64 Function Library< Visual Basic >Dim Encoder_Index As Long, Result As LongPublic Sub encode_callback(ByVal Encoder_Index As Long, ByVal int_st

Pagina 104

Function Library 65// Main CodevarEncoder_Index, Result: Longint;beginEncoder_Index:= 0;Result := AngeloMPEG4_Encode_Set_Callback(Encoder_Index, Enco

Pagina 105

66 Function Library@ Argument Channel: Indicates the channel index for the MPEG4encoder. The range of channels is 0 – 15.@ Return Code@ Example< VC

Pagina 106

Function Library 67Result := AngeloMPEG4_Encode_Close(Encoder_Index);end;AngeloMPEG4_Encode_Save_File_Start–AngeloMPEG4_Encode_Save_File_Stop–AngeloM

Pagina 107 - Function Library 97

68 Function LibraryAngeloMPEG4_Encode_Create_Directory(Encoder_Index:Longint; Dir:String):Longint;@ Argument Encoder_Index: Indicates the channel inde

Pagina 108 - < Delphi >

Function Library 69< Visual Basic >Dim Result As Long, Encoder_Index As Long, interval_second As Long, format As Long Encoder_Index = 0;n_file_

Pagina 109

iv List of TablesList of TablesTable 1-1: Acquisition Speed ... 2Table 1-2: Quality Index ...

Pagina 110

70 Function LibraryAngeloMPEG4_Encode_Set_Motion_Detection–@ SyntaxC/C++ (Windows 98/NT/2000/XP)int AngeloMPEG4_Encode_Set_Motion_Detection(int Encode

Pagina 111 - @ Syntax

Function Library 71Threshold: Determines the sensitivity of motion detectionmeasurement. The valid values are from 0 - 15, with 0 beingthe highest se

Pagina 112

72 Function Library< Visual Basic >Dim Result As Long, Encoder_Index As Long, enable As Long, Threshold As Long, interval As Long, action As Lon

Pagina 113 - @ Argument

Function Library 73Width = 160;Height = 120;if (enable = 1) thenResult = AngeloMPEG4_Encode_Set_Motion_Detection(Encoder_Index, area, enable, Thresho

Pagina 114

74 Function Library5.3 Decode Functions@ NameAngeloMPEG4_Decode_Set_Callback(Decoder_Index,CallBackProc) – Setup the callback function for decoder.Ang

Pagina 115

Function Library 75AngeloMPEG4_Decode_Save_File_Start(Decoder_Index, n_file_name, interval_second, format) – Startto save compressed file in decode s

Pagina 116

76 Function LibraryAngeloMPEG4_Decode_ Connect:Use this function to establish a connection between decoderand encoder. The video date will then be tra

Pagina 117 - Function Library 107

Function Library 77automatically. Use this function to restart the video datatransmission, if “AngeloMPEG4_Decode_Stop” has beencalled to stop the tr

Pagina 118

78 Function LibraryAngeloMPEG4_Decode_Save_File_Stop:If the connection between encoder and decoder is established, use this function to stop saving vi

Pagina 119

Function Library 79AngeloMPEG4_Decode_File_Pause:The file is paused until AngeloMPEG4_Decode_File_Continue is activated.AngeloMPEG4_Decode_File_Get_P

Pagina 120 - 5.4 System Functions

List of Figures vList of FiguresFigure 2-1: 4-channel software trigger output ... 18Figure 2-2: PCI-MP4S Appearance ...

Pagina 121

80 Function LibraryDelphi (Windows 98/NT/2000/XP)AngeloMPEG4_Decode_Connect(Decoder_Index:Longint; Encoder_IP:String; Encoder_Index:Longint):Longint;A

Pagina 122

Function Library 81<Delphi >varchannel: Longint;Encoder_IP: String;Encoder_channel: Longint;Result: Longint;beginchannel := 0;Remote_IP := ‘127

Pagina 123 - Appendix

82 Function Libraryint_status: Interrupt status:Bit 0: Image readyBit 1: Motion Detection occurBit 2: Connection establish@ Return Code0: ERROR_NoErro

Pagina 124 - 114 Appendix

Function Library 83int Bitrate = 0, frame_rate = 0, colorspace = 0;AngeloMPEG4_Decode_Get_Config(channel, &iWidth, &iHeight, &videoformat

Pagina 125 - Saturation:

84 Function Library Bitrate, Framerate, colorspace, videoformat: Longint;begin case int_status of 1: begin {********* image buffer OK ****

Pagina 126 - 116 Appendix

Function Library 85Visual Basic(Windows 98/NT/2000/XP)AngeloMPEG4_Decode_Set_Image_Config(ByVal channel As Long, ByVal Decoder_Index As Long, ByVal V

Pagina 127 - Appendix 117

86 Function Library@ Return Code0: ERROR_NoError@ Example< VC/BCB >int Result;int channel = 0;int ConfigIndex = 0;int value = 128;Result = Angel

Pagina 128 - 118 Appendix

Function Library 87AngeloMPEG4_Decode_Set_Motion_Detection–@ SyntaxC/C++ (Windows 98/NT/2000/XP)int AngeloMPEG4_Decode_Set_Motion_Detection(int Decod

Pagina 129 - Warranty Policy

88 Function LibraryAction: The argument descript what actions the function will do.bit 0: Callback,bit 1: Reserved,bit 2: Send motion frameExample: wh

Pagina 130 - 120 Warranty Policy

Function Library 89channel = 0enable = 1Threshold = 5interval = 3action = 1 + 4area =1X_Start = 0Y_Start =0Width = 160Height = 120Result = AngeloMPEG

Comentarios a estos manuales

Sin comentarios