ADLINK Technology PCI-MP4S Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Karty graficzne ADLINK Technology PCI-MP4S. ADLINK Technology PCI-MP4S User`s manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 130
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 0
1 2 3 4 5 6 ... 129 130

Podsumowanie treści

Strona 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

Strona 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

Strona 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

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

Strona 6

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

Strona 7 - Table of Contents iii

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

Strona 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

Strona 9 - List of Figures

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

Strona 10

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

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

Strona 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

Strona 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

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

Strona 15 - 1.2 Applications

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 21

Function Library 107

Strona 22

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

Strona 23

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

Strona 24

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

Strona 25

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

Strona 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

Strona 27 - 2 Hardware Reference

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

Strona 28 - Form Factor

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 33

118 Appendix

Strona 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

Strona 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

Strona 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

Strona 37

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

Strona 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

Strona 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

Strona 40 - 3.2 Driver Installation

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

Strona 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

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

Strona 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

Strona 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

Strona 45 - Installation Guide 35

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

Strona 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

Strona 47 - Installation Guide 37

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

Strona 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

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

Strona 51 - Installation Guide 41

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

Strona 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

Strona 53

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

Strona 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

Strona 55 - Installation Guide 45

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 63 - 5 Function Library

28 Hardware Reference

Strona 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

Strona 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

Strona 67 - AngeloMPEG4_Encode_InitialEx–

Installation Guide 312. Select Vision.

Strona 68

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

Strona 69 - Table 5-2: Quality Index

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

Strona 70

34 Installation Guide

Strona 71

Installation Guide 35

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

36 Installation Guide7. Click Finish and restart the system.

Strona 73

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

Strona 74

38 Installation GuideZ Click Next.

Strona 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

Strona 76

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

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

Strona 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

Strona 79

42 Installation GuideZ Click Reinstall Driver.Z Click Next.

Strona 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

Strona 81

44 Installation GuideThen click OK.Z Click Next.

Strona 82 - <Delphi >

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

Strona 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

Strona 84 - 5.3 Decode Functions

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

Strona 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

Strona 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

Strona 87 - Function Library 77

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

Strona 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

Strona 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

Strona 90

52 ViewCreator Utility

Strona 91

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

Strona 92

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

Strona 93

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

Strona 94

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

Strona 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

Strona 96

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

Strona 97

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

Strona 98

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

Strona 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

Strona 100

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

Strona 101 - Function Library 91

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

Strona 102

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

Strona 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

Strona 104

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

Strona 105

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

Strona 106

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

Strona 107 - Function Library 97

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

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

Strona 109

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

Strona 110

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

Strona 111 - @ Syntax

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

Strona 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

Strona 113 - @ Argument

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

Strona 114

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

Strona 115

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

Strona 116

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

Strona 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

Strona 118

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

Strona 119

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

Strona 120 - 5.4 System Functions

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

Strona 121

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

Strona 122

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

Strona 123 - Appendix

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

Strona 124 - 114 Appendix

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

Strona 125 - Saturation:

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 130 - 120 Warranty Policy

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

Komentarze do niniejszej Instrukcji

Brak uwag