ADLINK Technology PCI-MP4S User Manual

4-ch mpeg4 software video compression card
Table of Contents

Advertisement

Quick Links

Manual Rev.
Revision Date:
Part No:
Advance Technologies; Automate the World.
PCI-MP4S
4-CH MPEG4 Software
Video Compression Card
User's Manual
2.00
January 7, 2005
50-15029-101

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-MP4S and is the answer not in the manual?

Questions and answers

Summary of Contents for ADLINK Technology PCI-MP4S

  • Page 1 PCI-MP4S 4-CH MPEG4 Software Video Compression Card User’s Manual Manual Rev. 2.00 Revision Date: January 7, 2005 Part No: 50-15029-101 Advance Technologies; Automate the World.
  • Page 2 Copyright 2005 ADLINK TECHNOLOGY INC. All Rights Reserved. The information in this document is subject to change without prior notice in order to improve reliability, design, and function and does not represent a commitment on the part of the manufacturer.
  • Page 3 Getting Service from ADLINK Customer Satisfaction is top priority for ADLINK Technology Inc. Please contact us should you require any service or assistance. ADLINK TECHNOLOGY INC. Web Site: http://www.adlinktech.com Sales & Service: Service@adlinktech.com TEL: +886-2-82265877 FAX: +886-2-82265717 Address: 9F, No. 166, Jian Yi Road, Chungho City,...
  • Page 5: Table Of Contents

    Video Format: QCIF (160*120) ........11 Video Format: CIF(320*240) ......... 13 Video Format: 4CIF(640*480) ........15 2 Hardware Reference............17 PCI-MP4S Specification ............ 17 Video Input ..............17 Channel Extension ............17 General Purpose I/O Lines ........... 17 Watch Dog Timer ............18 4-channel software trigger output .........
  • Page 6 RTV-E4 Extension board for RTV-24 and PCI-MP4S..23 RTV-E4 Connectors and Pin Definitions ....... 23 RTV-I4 Isolation GPIO board for RTV-24 and PCI-MP4S . 24 RTV-I4 Connectors and Pin Definitions ......24 Input 2R10P pin header pin definition: ......26 D-sub 25-pin output connector pin ........
  • Page 7 AngeloMPEG4_Decode_Connect – ......79 AngeloMPEG4_Decode_Disconnect – ......79 AngeloMPEG4_Decode_Set_Callback– ...... 81 AngeloMPEG4_Decode_Set_Image_Config– ....84 AngeloMPEG4_Decode_Set_Motion_Detection– ..87 AngeloMPEG4_Decode_Get_Config– ......90 AngeloMPEG4_Decode_Start– ........93 AngeloMPEG4_Decode_Stop– ........93 AngeloMPEG4_Decode_Get_FlowRate– ..... 94 AngeloMPEG4_Decode_ ReInitial– ......96 AngeloMPEG4_Decode_ ReInitialEx– ......96 AngeloMPEG4_Decode_ Save_File_Start– ....99 AngeloMPEG4_Decode_ Save_File_Stop–...
  • Page 8: List Of Tables

    List of Tables Table 1-1: Acquisition Speed ............. 2 Table 1-2: Quality Index ............. 3 Table 1-3: Video Format: QCIF (160*120) ......... 7 Table 1-4: Video Format: CIF(320*240) ........9 Table 1-5: Video Format: 4CIF(640*480) ......... 10 Table 1-6: Video Format: QCIF (160*120) ....... 11 Table 1-7: Video Format: CIF(320*240) ........
  • Page 9 List of Figures Figure 2-1: 4-channel software trigger output ......18 Figure 2-2: PCI-MP4S Appearance ........... 19 Figure 2-3: Watchdog reset cable, GPIO bracket, AIO CD..19 Figure 2-4: RTV-E4..............23 Figure 2-5: RTV-I4 ..............24 List of Figures...
  • Page 11: Introduction

    Image quality and bit- rate are adjustable for more efficient data transmission via TCP/IP. The PCI-MP4S also has a sensitive partial or whole image motion detection area for smart video encoding or alarm signaling. Up to 4X image expansion technology for enhanced decoded image quality is available.
  • Page 12: Features

    1.1 Features Image Acquisition Acquisition speed NTSC 1 Camera 2 Cameras 3 Cameras 4 Cameras 8 Cameras Fields Frames 1 Camera 2 Cameras 3 Cameras 4 Cameras 8 Cameras Fields Frames Table 1-1: Acquisition Speed Color Image: The color video format is compatible with the follow- ing composite video input formats: NTSC-M, NTSC-Japan, PCL- B, PAL-D, PAL-G, PAL-H, PAL-I, PAM-M, PAL-N, and SECAM Monochrome Image: The monochrome video acquisition is com-...
  • Page 13: Mpeg4 Encoding

    MPEG4 Encoding Quality Index: Quality NTSC Level 4CIF (640 x 480) CIF (320 x 240) QCIF (160 x 120) Bit-rate = 400000*4 Bit-rate = 400000 Bit-rate = 400000/4 Lowest Frame rate = 5 Frame rate = 5 Frame rate = 5 Bit-rate = 480000*4 Bit-rate = 480000 Bit-rate = 480000/4...
  • Page 14: Mpeg4 Decoding

    Watch Dog Timer A hardware watchdog is available on the PCI-MP4S and is able to monitor PC application operation and will automatically reset the PC after a programmable inactivity time-out. This ensures reliable operation of remote systems.
  • Page 15: I/O Lines

    I/O Lines The PCI-MP4S is fitted with TTL compatible I/O lines protected against overloads and electrostatic discharges. Each line may be configured for input or output. They can be used to trigger acquisi- tions or to report alarm signals. Supported Software WDM driver - Supports VC++/VB/BCB/Delphi programming under Windows NT/98/2000/XP platforms with DLL.
  • Page 16: System Requirement

    1.3 System requirement For real-time* to compression 4-CH color MPEG4 video require- ment, the PCI-MP4S minimum system requirement are as follows: Platform: Pentium 4, 2.4GHz CPU, 256MB DDRAM above. VGA display: AGP 4X above (No recommend VIA or SiS VGA chipset solution).
  • Page 17: Video Format: Qcif (160*120)

    Video Format: QCIF (160*120) Decoding # Port CPU loading Quality Microsoft Media ADLINK M4V Encoding (max. %) Player Player Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Table 1-3: Video Format: QCIF (160*120) Introduction...
  • Page 18 Lowest Normal High Highest Lowest Normal High 100* Highest 100* Table 1-3: Video Format: QCIF (160*120) * When CPU loading up to 100% then will start have time-lapse effect. Introduction...
  • Page 19: Video Format: Cif(320*240)

    Video Format: CIF(320*240) Decoding # Port CPU loading Quality Microsoft ADLINK M4V Encoding (max. %) Media Player Player Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High 100* Highest 100* Table 1-4: Video Format: CIF(320*240) * When CPU loading up to 100% then will start have time-lapse effect.
  • Page 20: Video Format: 4Cif(640*480)

    Video Format: 4CIF(640*480) Decoding # Port CPU loading Quality Microsoft ADLINK M4V Encoding (max. %) Media Player Player Lowest Normal High Highest Lowest Normal High 100* Highest 100* Table 1-5: Video Format: 4CIF(640*480) * When CPU loading up to 100% then will start have time-lapse effect.
  • Page 21: Video Format: Qcif (160*120)

    Video Format: QCIF (160*120) Decoding # Port CPU loading Quality Microsoft Media ADLINK M4V Encoding (max. %) Player Player Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Table 1-6: Video Format: QCIF (160*120) Introduction...
  • Page 22 Lowest Normal High Highest Lowest Normal High Highest Table 1-6: Video Format: QCIF (160*120) Introduction...
  • Page 23: Video Format: Cif(320*240)

    Video Format: CIF(320*240) Decoding # Port CPU loading Quality Microsoft ADLINK Encoding (max. %) Media Player M4V Player Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High Highest Table 1-7: Video Format: CIF(320*240) Introduction...
  • Page 24 Lowest Normal High Highest Lowest Normal High 100* Highest 100* Table 1-7: Video Format: CIF(320*240) * When CPU loads up to 100%, the time-lapse effect would com- mence. Introduction...
  • Page 25: Video Format: 4Cif(640*480)

    Video Format: 4CIF(640*480) Decoding # Port CPU loading Quality Microsoft ADLINK M4V Encoding (max. %) Media Player Player Lowest Normal High Highest Lowest Normal High Highest Lowest Normal High 100* Highest 100* Table 1-8: Video Format: 4CIF(640*480) * When CPU loads up to 100%, the time-lapse effect would com- mence.
  • Page 26 Introduction...
  • Page 27: Hardware Reference

    Hardware Reference 2.1 PCI-MP4S Specification Video Input Four composite video color digitizers Video input interface: four composite BNC connectors Coaxial cable recommended Channel Extension Expandable up to 16 channels Channel extension interface: 10-pin ribbon cable to onboard 10-pin header connector for...
  • Page 28: Watch Dog Timer

    Watch Dog Timer For monitoring applications – will reset the PC after a pro- grammable inactivity time-out. Interface: 2-pin header 4-channel software trigger output 4-channel programmable trigger scale (60µs – 16ms) Figure 2-1: 4-channel software trigger output User EEPROM Includes 1kbit available EEPROM Form Factor 32-bit, 33/66MHz PCI half-size board Hardware Reference...
  • Page 29: Pci-Mp4S Appearance

    PCI-MP4S Appearance Figure 2-2: PCI-MP4S Appearance PCI-MP4S Standard Accessories Watch dog reset cable GPIO bracket User’s Manual All in One CD Figure 2-3: Watch dog reset cable, GPIO bracket, All in One CD Hardware Reference...
  • Page 30: Pci-Mp4S Connectors And Pin Definitions

    PCI-MP4S Connectors and Pin Definitions Video Inputs Connector Definition Video IN – CH 0 Video IN – CH 1 Video IN – CH 2 Video IN – CH 3 Table 2-2: Video Inputs Channel Extension Video Input (CN2) Function Function...
  • Page 31: Table 2-4: Channel Extension Video Input (Cn3)

    Channel Extension Video Input (CN3) Function Function CH8 video in CH9 video in CH10 video in CH11 video in Table 2-4: Channel Extension Video Input (CN3) Channel Extension Video Input (CN5) Function Function CH12 video in CH13 video in CH14 video in CH15 video in Table 2-5: Channel Extension Video Input (CN5) GPIO (CN8)
  • Page 32: Table 2-7: Gpio (Cn9)

    GPIO (CN9) Function Function IN2 (External interrupt) OUT2 Software Trigger 2 IN3 (External Software Trigger 3 interrupt) OUT3 Table 2-7: GPIO (CN9) Watchdog Timer Reset Function System reset Table 2-8: Watchdog Timer Reset Hardware Reference...
  • Page 33: Rtv-E4 Extension Board For Rtv-24 And Pci-Mp4S

    2.2 RTV-E4 Extension board for RTV-24 and PCI- MP4S (Optional item, not a standard accessory) Figure 2-4: RTV-E4 RTV-E4 Connectors and Pin Definitions Channel Extension Video Input (J11) Function Function CH4 video in CH5 video in CH6 video in CH7 video in Table 2-9: RTV-E4 Connectors and Pin Definitions Hardware Reference...
  • Page 34: Rtv-I4 Isolation Gpio Board For Rtv-24 And Pci-Mp4S

    2.3 RTV-I4 Isolation GPIO board for RTV-24 and PCI- MP4S (Optional item, not a standard accessory) Figure 2-5: RTV-I4 RTV-I4 Connectors and Pin Definitions Relay output signal select: Relay output types: Normal open or Normal closed Signal names: RY1, RY2, RY3, RY4 Jumper addresses: J5, J6, J7, J8 Type select: Normal open: 2-3, Normal close: 1-2 Normal Open...
  • Page 35 Relay I/O voltage requirement: Input: +5V to +24V Output: AC: 0.5A/125V, DC: 1A/30V or 0.3A/100V STRG output signal select: STRG output signal types: Active high or Active low Signal names: STRG_OUT1, STRG_OUT2, STRG_OUT3, STRG_OUT4 Jumper addresses: J1, J2, J3, J4 Type select: Active high =>...
  • Page 36: Input 2R10P Pin Header Pin Definition

    Trigger output voltage: 0V to +5V Input 2R10P pin header pin definition: GPIO (CN1) Function Function GPIO Input 1 GPIO Output 1 PORT1 STRG Output GPIO Input 2 PORT2 STRG Output GPIO Output 2 Table 2-10: GPIO (CN1) GPIO (CN2) Function Function GPIO Input 3...
  • Page 37: D-Sub 25-Pin Output Connector Pin

    D-sub 25-pin output connector pin Pin Signal name Pin Signal name RY3_COM DI1_COM RY4_COM DI2_COM STRG_OUT1 STRG_OUT2 DI3_COM STRG_OUT3 STRG_OUT4 DI4_COM STRG_GND STRG_GNG RY1_COM RY2_COM Table 2-12: D-sub 25-pin output connector pin Hardware Reference...
  • Page 38 Hardware Reference...
  • Page 39: Installation Guide

    Installation Guide 3.1 Hardware Installation PCI-MP4S Use the following steps to install the PCI-MP4S board on the PCI bus: 1. Remove the computer cover using the instructions from the computer manual. 2. Check that there is an empty PCI (32-bit) slot to accom- modate the board.
  • Page 40: Driver Installation

    5. Once perfectly aligned with an empty slot, press the board firmly but carefully into the connector. 6. Anchor the board by replacing the screw. 7. Connect your video sources for image acquisition tests. For details, refer to the “ViewCreator” utility. 8.
  • Page 41 2. Select Vision. Installation Guide...
  • Page 42 3. Click Angelo 4. Select Windows Driver for Windows 98/NT/2000/XP. Installation Guide...
  • Page 43 5. The driver will begin installing. 6. Click Next until the driver installs completely. Installation Guide...
  • Page 44 Installation Guide...
  • Page 45 Installation Guide...
  • Page 46 7. Click Finish and restart the system. Installation Guide...
  • Page 47 The Found New Hardware Wizard window appears after system restarts. Click NEXT and follow the following steps to complete the new hardware wizard. Installation Guide...
  • Page 48 Click Next. Installation Guide...
  • Page 49 Click Next. Click Finish. Another Found New Hardware Wizard window appears when you finished the wizard. Repeat step 7.1 until you fin- ished all wizards. 8. Go to the System Control Panel and check to see that four “ADLINK Angelo Audio Device” and four “ADLINK Angelo Video Device”...
  • Page 50 If you see a yellow question mark appear in front of the new driver’s name, you need to setup the driver manually. Installation Guide...
  • Page 51 Right click on the driver name, Multimedia Controller which is a audio device, then select Properties on the popup menu. Follow the steps below to complete the driver re-installment. Installation Guide...
  • Page 52 Click Reinstall Driver. Click Next. Installation Guide...
  • Page 53 Click Next. Check Specify a location then click Next. In Copy manufacture’s files from: text box insert the location of driver installed in step 6, for example, ‘c:\Pro- gram Files\ADLINK\Angelo.RTV\Drivers\Win2KXP’. Installation Guide...
  • Page 54 Then click OK. Click Next. Installation Guide...
  • Page 55 Click Finish to complete this wizard. This device is working properly. The yellow question mark disappears. Installation Guide...
  • Page 56 Right click on the driver name, Multimedia Video Controller which is a video device. Repeat step 8.2 onwards. Repeat steps 8.2 and 8.3 until all audio devices and video devices are working properly. Note: If the system prompts you to restart the computer, select No until all drivers are reinstalled, then restart the computer.
  • Page 57: Viewcreator Utility

    ViewCreator Utility Once hardware installation is complete, ensure that the system is correctly configured before running the ViewCreator utility. This chapter outlines how to set up a vision system and manually con- trol Angelo series cards to verify correct operation. ViewCreator provides a simple yet powerful means to setup, configure, test, and debug the vision system.
  • Page 58: Component Description

    4.2 Component Description Tree Browser The Tree Browser window lists the PCI-MP4S cards and video ports available at the local computer. Image View The Image View window displays Full, CIF, and QCIF size images and image effects. Control Panel The control panel allows for making video adjustments, including brightness, hue, contrast, etc.
  • Page 59: Mpeg4 Encoding

    MPEG4 Encoding Single channel display Click a video Port icon in the Tree Browser window. A video frame will appear in the Image View window. Select Encoder->Encode in menu bar to bring up the Encoder Setting dialog box, then click the start button. Note: 1.
  • Page 60: Video Adjustments

    Video adjustments Click and hold the left mouse button on the Hue slider of the Control Panel and drag the cursor to change its value. Values range from 0 to 255. Contrast Click and hold the left mouse button on the Contrast slider of the Control Panel and drag the cursor to change its value.
  • Page 61: Tools

    Cross Line Check the Cross Line check box in the Control Panel. A cross- hair will appear in the center of the rectangle. Tools GPIO and LED Click Tool in the menu bar and select GPIO & LED to bring up the GPIO dialog box.
  • Page 62 ViewCreator Utility...
  • Page 63: Function Library

    Function Library This chapter describes the API for Mpeg4 encode and decode. Users can use these functions to develop application programs under Visual C++, Visual Basic, C++ Builder, and Delphi. 5.1 List of Functions Category Function AngeloMPEG4_Encode_Initial(Encoder_Index, Local_Address, Quality , Angelo_PortNo, Angelo_ChannelNo, Angelo_Color_Format, Angelo_Video_Format) AngeloMPEG4_Encode_InitialEx(Encoder_Index, Local_Address, Bitrate, frame_rate, Angelo_PortNo, Angelo_ChannelNo,...
  • Page 64: Category

    Category Function AngeloMPEG4_Decode_Set_Callback(Decoder_Index, CallBackProc) AngeloMPEG4_Decode_Connect(Decoder_Index,Encoder_IP, Encoder_Index) AngeloMPEG4_Decode_Disconnect(Decoder_Index) AngeloMPEG4_Decode_Set_Image_Config(Decoder_Index, ConfigIndex , Value) AngeloMPEG4_Decode_Set_Motion_Detection(Decoder_Index, Area, enable, Threshold, interval,action, X_Start, Y_Start, Width, Height) AngeloMPEG4_Decode_Get_Config(Decoder_Index,iWidth, iHeight, video_format, color_format,Bitrate, frame_rate) AngeloMPEG4_Decode_Start(Decoder_Index) AngeloMPEG4_Decode_Stop(Decoder_Index) AAngeloMPEG4_Decode_Get_FlowRate(Decoder_Index, Byte_Second) AngeloMPEG4_Decode_ReInitialEx(Decoder_Index, Bitrate, Decode frame_rate, Angelo_Video_Format) (Section AngeloMPEG4_Decode_ReInitial(Decoder_Index, Quality, 5.3) Angelo_Video_Format) AngeloMPEG4_Decode_Save_File_Start(Decoder_Index, n_file_name, interval_second, format) AngeloMPEG4_Decode_Save_File_Stop(Decoder_Index) AngeloMPEG4_Decode_File(Decoder_Index, file_name, iWidth,...
  • Page 65: Encode Functions

    Category Function System AngeloMPEG4_Get_Version( Mpeg4_DLLVersion, (Section AngeloRTV_DLLVersion, Reserved) 5.4) Table 5-1: List of Functions 5.2 Encode Functions @ Name AngeloMPEG4_Encode_Initial(Encoder_Index, Local_Address, Quality , Angelo_PortNo, Angelo_ChannelNo, Angelo_Color_Format, Angelo_Video_Format): Initialize the encoder. AngeloMPEG4_Encode_InitialEx(Encoder_Index, Local_Address, Bitrate, frame_rate, Angelo_PortNo, Angelo_ChannelNo, Angelo_Color_Format, Angelo_Video_Format): Ini- tialize the encoder for advanced. AngeloMPEG4_Encode_Set_Callback(Encoder_Index, CallBackProc): Set up the callback function for encoder.
  • Page 66: Angelompeg4_Encode_Initial

    AngeloMPEG4_Encode_Set_Motion_Detection(Encode r_Index, Area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height): Set the motion detection criteria, and action when motion occurs on the encode site. @ Description AngeloMPEG4_Encode_Initial: This function initializes the video encoder. Its library supports 16 video encoders with the video source coming from Angelo_PortNo and Angelo_ChannelNo in the Angelo cards.
  • Page 67: Angelompeg4_Encode_Save_File_Start

    AngeloMPEG4_Encode_Save_File_Start: Use this function to save the encoded image into an “.avi” or “.m4v” video file. The “.avi” file is the standard video format, and “.m4v” is only accessible in this function library. Note: 1. Do not add a file extension to the file name. 2.
  • Page 68 Angelo_Color_Format, int Angelo_Video_Format) int AngeloMPEG4_Encode_InitialEx(int Encoder_Index, char* Local_Address, int Bitrate, int frame_rate, int Angelo_PortNo, int Angelo_ChannelNo, int Angelo_Color_Format, int Angelo_Video_Format); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Initial(ByVal Encoder_Index As Long, ByVal Local_address As String, ByVal Quality As Long, ByVal Angelo_PortNo As Long, ByVal Angelo_ChannelNo As Long, ByVal Angelo_Color_Format As Long, ByVal Angelo_Video_Format As Long) As Long AngeloMPEG4_Encode_InitialEx (ByVal Encoder_Index...
  • Page 69: Table 5-2: Quality Index

    @ Argument Encoder_Index: Indicates the channel index for the MPEG4 encoder. The range of channels is 0 – 15. Local_Address: Indicates the IP Address at the encoding site. Set 0, NULL or nil for default setting. Quality Index: NTSC Quality Value Level 4CIF (640 x 480)
  • Page 70 Bitrate: Indicates the number of bits per second. frame_rate: Indicates the number of frames that the MPEG4 encoder will encode per second. The range of the frame_rate is 1 – 30. Angelo_PortNo: The port number is the zero index of the Angelo series card.
  • Page 71 int Bitrate = 480000; int frame_rate = 15; Result = AngeloMPEG4_Encode_Initial (Encoder_Index, Quality, Angelo_PortNo, Angelo_ChannelNo, Angelo_Color_Format, Angelo_Video_Format); Result = AngeloMPEG4_Encode_InitialEx (Encoder_Index, Bitrate, frame_rate, Angelo_PortNo, Angelo_ChannelNo, Angelo_Color_Format, Angelo_Video_Format); < Visual Basic > Dim result As Long Dim Encoder_Index As Long, Quality As Long, Angelo_PortNo As Long, Angelo_ChannelNo As Long, Angelo_Color_Format As Long, Angelo_Video_Format As Long, Bitrate As...
  • Page 72 < Delphi > Encoder_Index, Result: Longint; Quality: Longint; Bitrate, frame_rate: Longint; Angelo_PortNo, Angelo_ChannelNo: Longint; Angelo_Color_Format, Angelo_Video_Format: Longint; begin Encoder_Index:= 0; Quality := 0; // Normal Quality Bitrate := 480000; frame_rate := 15; Angelo_PortNo := 0; Angelo_ChannelNo := 0; Angelo_Color_Format := 3; // RGB24 Angelo_Video_Format := 2;...
  • Page 73 Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Set_Callback (ByVal Encoder_Index As Long, ByVal Encode_CallBackProcas As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Set_Callback(Encoder_Index:Lo ngint; lpEncodeCallBackProc:EncodeCallBackProc):Lo ngint; @ Argument Encoder_Index: Indicates the channel Index for the MPEG4 encoder. The range of channels is 0 – 15. @ Return Code @ Example <...
  • Page 74 < Visual Basic > Dim Encoder_Index As Long, Result As Long Public Sub encode_callback(ByVal Encoder_Index As Long, ByVal int_status As Long, param_str As param_struct) Select Case (int_status) Case 1: “preview Case 16: “ motion detection End Select End Sub Channel =0 Result = AngeloMPEG4_Encode_Set_Callback(Encoder_Ind ex, Encode_Callback)
  • Page 75 // Main Code Encoder_Index, Result: Longint; begin Encoder_Index:= 0; Result := AngeloMPEG4_Encode_Set_Callback(Encoder_Ind ex, Encode_Callback); end; AngeloMPEG4_Encode_Start– AngeloMPEG4_Encode_Stop– AngeloMPEG4_Encode_Close– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Encode_Start(int Encoder_Index); int AngeloMPEG4_Encode_Stop(int Encoder_Index); int AngeloMPEG4_Encode_Close(int Encoder_Index); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Start (ByVal Encoder_Index As Long) As Long AngeloMPEG4_Encode_Stop (ByVal Encoder_Index As Long) As Long...
  • Page 76 @ Argument Channel: Indicates the channel index for the MPEG4 encoder. The range of channels is 0 – 15. @ Return Code @ Example < VC/BCB > int Result; int Encoder_Index = 0; Result = AngeloMPEG4_Encode_Start(Encoder_Index); Result = AngeloMPEG4_Encode_Stop(Encoder_Index); Result = AngeloMPEG4_Encode_Close(Encoder_Index); <...
  • Page 77 Result := AngeloMPEG4_Encode_Close(Encoder_Index); end; AngeloMPEG4_Encode_Save_File_Start– AngeloMPEG4_Encode_Save_File_Stop– AngeloMPEG4_Encode_Create_Directory– @ Syntax C/C++ (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Save_File_Start(int Encoder_Index, char* n_file_name, long interval_second, long format); AngeloMPEG4_Encode_Save_File_Stop(int Encoder_Index); int AngeloMPEG4_Encode_Create_Directory(int Encoder_Index, char* Dir); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Save_File_Start (ByVal Encoder_Index As Long, ByVal n_file_name As String, ByVal interval_second As Long, ByVal format As Long) As Long AngeloMPEG4_Encode_Save_File_Stop (ByVal Encoder_Index As Long) As Long...
  • Page 78 AngeloMPEG4_Encode_Create_Directory(Encoder_Inde x:Longint; Dir:String):Longint; @ Argument Encoder_Index: Indicates the channel index for the MPEG4 encoder. The range of channels is 0 – 15. n_file_name: The argument is the path and name of the file that the encoded image will be saved to. interval_second: This argument is the number of seconds of encoded video to be saved.
  • Page 79 < Visual Basic > Dim Result As Long, Encoder_Index As Long, interval_second As Long, format As Long Encoder_Index = 0; n_file_name = “test” interval_second = 60 format = 3 “save both format Dir = “temp” Result = AngeloMPEG4_Encode_Save_File_Start(Encoder_ Index, n_file_name, interval_second, format) <...
  • Page 80: Angelompeg4_Encode_Set_Motion_Detection

    AngeloMPEG4_Encode_Set_Motion_Detection– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Encode_Set_Motion_Detection(int Encoder_Index,int Area,int enable, int Threshold,int interval,int action,int X_Start,int Y_Start,int Width,int Height); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Set_Motion_Detection(ByVal Encoder_Index As Long, ByVal Area As Long, ByVal enable As Long, ByVal Threshold As Long, ByVal interval As Long, ByVal action As Long, ByVal X_Start As Long, ByVal Y_Start As Long, ByVal Width As Long, ByVal Height As Long) As Long...
  • Page 81 Threshold: Determines the sensitivity of motion detection measurement. The valid values are from 0 - 15, with 0 being the highest sensitivity. The time interval between measurements of Interval: motion detection. Action: This argument describes what actions the function will do. bit 0: Callback, X_Start, Y_Start, Width, Height: Sets the boundary of the motion detection area.
  • Page 82 < Visual Basic > Dim Result As Long, Encoder_Index As Long, enable As Long, Threshold As Long, interval As Long, action As Long, area As Long, X_Start As Long, Y_Start As Long, Width As Long, Height As Long Encoder_Index = 0 enable = 1 Threshold = 5 interval = 3...
  • Page 83 Width = 160; Height = 120; if (enable = 1) then Result = AngeloMPEG4_Encode_Set_Motion_Detection(Enc oder_Index, area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height) else // disable motion detection Result = AngeloMPEG4_Encode_Set_Motion_Detection(Enc oder_Index, area, 0, Threshold, interval, action, X_Start, Y_Start, Width, Height); end;...
  • Page 84: Decode Functions

    5.3 Decode Functions @ Name AngeloMPEG4_Decode_Set_Callback(Decoder_Index, CallBackProc) – Setup the callback function for decoder. AngeloMPEG4_Decode_Connect(Decoder_Index, Encoder_IP, Encoder_Index) – Connect to the encoder. AngeloMPEG4_Decode_Disconnect(Decoder_Index) – Disconnect from the encoder. AngeloMPEG4_Decode_Set_Image_Config(Decoder_In dex, ConfigIndex , Value) – Adjust the brightness, con- trast, hue etc.. AngeloMPEG4_Decode_Set_Motion_Detection(Decode r_Index, Area,...
  • Page 85 AngeloMPEG4_Decode_Save_File_Start(Decoder_Ind ex, n_file_name, interval_second, format) – Start to save compressed file in decode site. AngeloMPEG4_Decode_Save_File_Stop(Decoder_Inde x) – Stop saving compressed file in decode site. AngeloMPEG4_Decode_File(Decoder_Index, file_name, iWidth, iHeight, Byte_Per_Pixel, - Decode from *.avi or Total_Frame,Time_Seconds) *.m4v file AngeloMPEG4_Decode_File_Start(Decoder_Index, Mode) - Start to decode from file AngeloMPEG4_Decode_File_Set_Position(Decoder_I ndex, Frame_Index) –...
  • Page 86: Angelompeg4_Decode_Connect

    AngeloMPEG4_Decode_ Connect: Use this function to establish a connection between decoder and encoder. The video date will then be transferred through this connection. AngeloMPEG4_Decode_ Disconnect: Use this function to close the connection between decoder and encoder. After closing the connection, the decoder will not receive video data from encoder.
  • Page 87: Angelompeg4_Decode_Stop

    automatically. Use this function to restart the video data transmission, if “AngeloMPEG4_Decode_Stop” has been called to stop the transmission. AngeloMPEG4_Decode_Stop: This function only stops the video data transmission between decoder and encoder, but the connection is still established. AngeloMPEG4_Decode_Get_FlowRate: If the connection between encoder and decoder is established, use this function to query the current data flow rate between encode and decode.
  • Page 88: Angelompeg4_Decode_Save_File_Stop

    Note: 1. Do not add the file extension name. 2. Users must install the XVID Codec from the setup disk. The “.avi” file can be played in MS Media Player. AngeloMPEG4_Decode_Save_File_Stop: If the connection between encoder and decoder is established, use this function to stop saving video file on the decode site.
  • Page 89: Angelompeg4_Decode_File_Pause

    AngeloMPEG4_Decode_File_Pause: The file is paused until AngeloMPEG4_Decode_File_Continue is activated. AngeloMPEG4_Decode_File_Get_Position: Get the current frame index of the file. AngeloMPEG4_AVI_2_M4V: Use this function to translate a closed “.avi” video file into “.m4v” format. AngeloMPEG4_ M4V_2_AVI: Use this function to translate a closed “.m4v” video file into “.avi”...
  • Page 90 Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Connect(Decoder_Index:Longint ; Encoder_IP:String; Encoder_Index:Longint):Longint; AngeloMPEG4_Decode_Disconnect(Decoder_Index:Long int):Longint; @ Argument Decoder_Index: Indicates the channel number of MPEG4 Decoder. The range of channel is 0 - 15. Encoder_IP: The IP address of MPEG4 Encode. Encoder_Index: The channel of MPEG4 Encoder. @ Return Code 0: ERROR_NoError @ Example...
  • Page 91 <Delphi > channel: Longint; Encoder_IP: String; Encoder_channel: Longint; Result: Longint; begin channel := 0; Remote_IP := ‘127.0.0.1’; //localhost Result := AngeloMPEG4_Decode_Connect(channel, Encoder_IP, Encoder_channel); Result := AngeloMPEG4_DecodeDisconnect(channel); end; AngeloMPEG4_Decode_Set_Callback– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_Set_Callback(int Decoder_Index, void ( __stdcall *CallBackProc)(int channel, long int_status, long VideoBufferaddress));...
  • Page 92 int_status: Interrupt status: Bit 0: Image ready Bit 1: Motion Detection occur Bit 2: Connection establish @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int channel = 0; void __stdcall Decode_Callback(int channel, long int_status, long VideoBufferaddress) if((int_status &...
  • Page 93 int Bitrate = 0, frame_rate = 0, colorspace = 0; AngeloMPEG4_Decode_Get_Config(channel, &iWidth, &iHeight, &videoformat, &colorspace, &Bitrate, &frame_rate); Result = AngeloMPEG4_Decode_Set_Callback(channel, Decode_Callback); < Visual Basic > Dim Result As Long, channel As Long Public Sub lpcallback(ByVal channel As Long, ByVal int_status As Long, ByVal VideoBufferaddress As Long) If int_status And &H2 Then 'detected motion...
  • Page 94 Bitrate, Framerate, colorspace, videoformat: Longint; begin case int_status of 1: begin {********* image buffer OK *********} // draw image here end; 2: begin {********* Motion Detected *********} end; 4: begin {********* Connect Ready Interrupt *********} // You can get image config here and do somthing end;...
  • Page 95: Table 5-3: Video Adjustments Table

    Visual Basic(Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Set_Image_Config(ByVal channel As Long, ByVal Decoder_Index As Long, ByVal Value As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Set_Image_Config(Decoder_Inde x:Longint; ConfigIndex:Longint; Value:Longint):Longint; @ Argument Decoder_Index: Indicate the channel number of Decoder. The range of channel is 0 ~ 15. ConfigIndex: 0 for BRIGHTNESS 1 for HUE...
  • Page 96 @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int channel = 0; int ConfigIndex = 0; int value = 128; Result = AngeloMPEG4_Decode_Set_Image_Config(channel , ConfigIndex, value); < Visual Basic > Dim Result As Long, channel As Long, ConfigIndex As Long, value As Long channel = 0 ConfigIndex = 0...
  • Page 97 AngeloMPEG4_Decode_Set_Motion_Detection– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_Set_Motion_Detection(int Decoder_Index,int Area,int enable, int Threshold,int interval,int action,int X_Start,int Y_Start,int Width,int Height); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Set_Motion_Detection(ByVal Decoder_Index As Long, ByVal enable As Long, ByVal Threshold As Long, ByVal interval As Long, ByVal action As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Set_Motion_Detection(Decoder_ Index:Longint;...
  • Page 98 Action: The argument descript what actions the function will bit 0: Callback, bit 1: Reserved, bit 2: Send motion frame Example: when action = 1 + 4, the function will perform callback and send the motion image. X_Start, Y_Start, Width, Height: Set the boundary of motion detection area.
  • Page 99 channel = 0 enable = 1 Threshold = 5 interval = 3 action = 1 + 4 area =1 X_Start = 0 Y_Start =0 Width = 160 Height = 120 Result = AngeloMPEG4_Decode_Set_Motion_Detection(cha nnel, area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height) <...
  • Page 100 Result = AngeloMPEG4_Decode_Set_Motion_Detection(cha nnel, area, 0, Threshold, interval, action, X_Start, Y_Start, Width, Height); end; AngeloMPEG4_Decode_Get_Config– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_Get_Config(int Decoder_Index, int* iWidth, int* iHeight, int* video_format, int* color_format, int* Bitrate, int* frame_rate); Visual Basic(Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Get_Config (ByVal Decoder_Index As Long, ByRef iWidth As Long, ByRef iHeight As Long, ByRef video_format As Long, ByRef color_format As Long, ByRef...
  • Page 101 video_format: Full NTSC (640*480) = 0, Full PAL (768*576) = 1, CIF NTSC (320*240) = 2, CIF PAL (384*288) = 3, QCIF NTSC (160*120) = 4, QCIF PAL (192*144) = 5, color_format: RGB16 = 0, GRAY = 1, RGB15 = 2, RGB24 = 3, RGB32...
  • Page 102 @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int channel = 0; int iWidth = 0; int iHeight = 0; int video_format = 0; int color_format = 0; int Bitrate = 0; int frame_rate = 0; Result = AngeloMPEG4_Decode_Get_Config(channel, &iWidth, &iHeight, &videoformat, &color_format, &Bitrate, &frame_rate);...
  • Page 103 Result := AngeloMPEG4_Decode_Get_Config(channel, iWidth, iHeight, videoformat, colorspace, Bitrate, frame_rate); end; AngeloMPEG4_Decode_Start– AngeloMPEG4_Decode_Stop– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_Start(int Decoder_Index); int AngeloMPEG4_Decode_Stop(int Decoder_Index); Visual Basic(Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Start(ByVal Decoder_Index As Long) As Long AngeloMPEG4_Decode_Stop(ByVal Decoder_Index As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Start(Decoder_Index:Longint): Longint;...
  • Page 104 int Result; int channel = 0; Result = AngeloMPEG4_Decode_Start(channel); Result = AngeloMPEG4_Decode_Stop(channel); < Visual Basic > Dim Result As Long, channel As Long channel = 0 Result = AngeloMPEG4_Decode_Start(channel) Result = AngeloMPEG4_Decode_Stop(channel) < Delphi > channel: Longint; Result: Longint; begin channel := 0;...
  • Page 105 @ Argument Decoder_Index: Indicates the channel number of MPEG4 Decoder. The range of channel is 0 - 15. Byte_Second: The current flow rate of MPEG4 streaming measured in Byte/sec. @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int channel = 0;...
  • Page 106 AngeloMPEG4_Decode_ ReInitial– AngeloMPEG4_Decode_ ReInitialEx– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_ReInitial(int Decoder_Index, int Quality, int Angelo_Video_Format); int AngeloMPEG4_Decode_ReInitialEx(int Decoder_Index, int Bitrate, int frame_rate, int Angelo_Video_Format); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_ReInitial (ByVal Decoder_Index As Long, ByVal Quality As Long, ByVal Video_Format As Long) As Long AngeloMPEG4_Decode_ReInitialEx (ByVal Decoder_Index As Long, ByVal Bitrate As Long, ByVal frame_rate As Long, ByVal...
  • Page 107: Table 5-4: Video Quality Table

    Quality: Quality value image 640*480 image 320*240 image 160*120 Bitrate = 320000*4 Bitrate = 320000 Bitrate = 240000/4 Lowest frame_rate = 3 frame_rate = 3 frame_rate = 3 Bitrate = 400000*2 Bitrate = 400000 Bitrate = 400000/4 frame_rate = 6 frame_rate = 6 frame_rate = 6 Bitrate = 480000*4...
  • Page 108 int Result; int channel = 0; int Quality =0 int Bitrate = 480000; int frame_rate = 15; int Angelo_Video_Format = 2; Result = AngeloMPEG4_Decode_ReInitia(channel, Quality, Angelo_Video_Format); Result = AngeloMPEG4_Decode_ReInitialEx(channel, Bitrate, frame_rate, Angelo_Video_Format); < Visual Basic > Dim Result As Long, channel As Long, Quality As Long, Bitrate As Long, frame_rate As Long, Angelo_Video_Format As Long channel = 0...
  • Page 109 AngeloMPEG4_Decode_ Save_File_Start– AngeloMPEG4_Decode_ Save_File_Stop– @ Syntax C/C++ (Windows 98/NT/2000/XP/CE.NET) int AngeloMPEG4_Decode_Save_File_Start(int Decoder_Index, char* n_file_name, long interval_second, long format); int AngeloMPEG4_Decode_Save_File_Stop(int Decoder_Index); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Save_File_Start (ByVal Decoder_Index As Long, ByVal n_file_name As String, ByVal interval_second As Long, ByVal format As Long) As Long AngeloMPEG4_Decode_Save_File_Stop (ByVal Decoder_Index As Long) As Long Delphi (Windows 98/NT/2000/XP)
  • Page 110: Angelompeg4_Decode_Save_File_Start

    format: 1: m4v, 2: avi. 3: both. @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int channel = 0; char* n_file_name = “test”; int interval_second = 10; //10 seconds long format = 1 + 2; //save both file format Result = AngeloMPEG4_Decode_Save_File_Start(channel, n_file_name, interval_second, format);...
  • Page 111: C/C++ (Windows 98/Nt/2000/Xp/Ce.net)

    interval_second, format: Longint; Result: Longint; begin channel := 0; n_file_name := ‘Video0’; interval_second := 10; format := 3; // Save both format Result := AngeloMPEG4_Decode_Save_File_Start(channel, n_file_name, interval_second, format); end; AngeloMPEG4_Decode_File– AngeloMPEG4_Decode_File_Start– AngeloMPEG4_Decode_File_Set_Position– AngeloMPEG4_Decode_File_Pause– AngeloMPEG4_Decode_File_Continue– AngeloMPEG4_Decode_File_Get_Position– AngeloMPEG4_AVI_2_M4V– AngeloMPEG4_M4V_2_AVI– @ Syntax C/C++ (Windows 98/NT/2000/XP/CE.NET) int AngeloMPEG4_Decode_File(int Decoder_Index,char* file_name,unsigned long* iWidth,unsigned long*...
  • Page 112: Decoder_Index)

    int AngeloMPEG4_Decode_File_Start(int Decoder_Index,int Mode); int AngeloMPEG4_Decode_File_Set_Position(int Decoder_Index, long* Frame_Index); int AngeloMPEG4_Decode_File_Pause(int Decoder_Index); int AngeloMPEG4_Decode_File_Continue(int Decoder_Index); int AngeloMPEG4_Decode_File_Get_Position(int Decoder_Index, long* Cur_Frame_Index); int AngeloMPEG4_AVI_2_M4V(char* file_name,unsigned long* iWidth,unsigned long* iHeight,unsigned long* Byte_Per_Pixel,unsigned long* Total_Frame,unsigned long* Time_Seconds); int AngeloMPEG4_M4V_2_AVI(char* file_name,unsigned long* iWidth,unsigned long* iHeight,unsigned long* Byte_Per_Pixel,unsigned long* Total_Frame,unsigned long* Time_Seconds);...
  • Page 113: Delphi (Windows 98/Nt/2000/Xp)

    Byte_Per_Pixel As Long, Total_Frame As Long, Time_Seconds As Long) As Long AngeloMPEG4_M4V _2_ AVI (ByVal file_name As String, iWidth As Long, iHeight As Long, Byte_Per_Pixel As Long, Total_Frame As Long, Time_Seconds As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_File(Decoder_Index:Longint; file_name:String; var iWidth:Longint; var iHeight:Longint;...
  • Page 114 file_name: The name of file to save to, includes the path and extension of file name. iWidth: Indicate the width of the MPEG4 image size. iHeight: Indicates the height of the MPEG4 image size. Byte_Per_Pixel: Number of Bytes per Pixel Total_Frame: Number of frames in the MPEG4 file.
  • Page 115 char* m4v_filename = “test2.m4v”; char* avi_filename = “test3.avi”; void CM4VPlayerView::MediaStreamProc( int Decoder_Channel ,long int_status,long VideoBufferaddress ) … … AngeloMPEG4_Decode_Set_Callback(m_Decoder_Channe l,MediaStreamProc); AngeloMPEG4_Decode_File(m_Decoder_Channel,m_file name,&Width,&Height,&Byte_Pixel,&m_total_fr ame,&m_Time_Seconds); AngeloMPEG4_Decode_File_Start(m_Decoder_Channel, Mode); AngeloMPEG4_Decode_File_Set_Position(m_Decoder_C hannel,& m_total_frame/2); AngeloMPEG4_Decode_File_Pause(m_Decoder_Channel) AngeloMPEG4_Decode_File_Continue(m_Decoder_Chann el); AngeloMPEG4_Decode_File_Get_Position(m_Decoder_C hannel,&m_pos); AngeloMPEG4_Decode_Stop(m_Decoder_Channel); AngeloMPEG4_Decode_M4V_2_AVI(m4v_filename,&Width ,&Height,&Byte_Pixel,&m_total_frame,&m_Time _Seconds); AngeloMPEG4_Decode_AVI_2_M4V(avi_filename,&Width ,&Height,&Byte_Pixel,&m_total_frame,&m_Time _Seconds); <...
  • Page 116 m_filename = “test1.m4v” m4v_filename = “test2.m4v” avi_filename = “test3.avi” m_Decoder_Channel = 0 Mode = 0 ‘play once Public Sub lpcallback(ByVal Decoder_Index As Long, ByVal int_status As Long, ByVal VideoBufferaddress As Long) … … End Sub Result = AngeloMPEG4_Decode_Set_Callback(m_Decoder_C hannel, AddressOf lpcallback) Result=AngeloMPEG4_Decode_File(m_Decoder_Channel ,m_filename,Width,Height,Byte_Pixel,m_total _frame,m_Time_Seconds)
  • Page 117 Function Library...
  • Page 118 < Delphi > procedure DecoderCallbackProc(Decoder_Index:Longint;i nt_status:Longint;VideoBufferaddress:Longin t); stdcall Str_Addr : Pointer; Bitrate, Framerate, colorspace,videoformat : Longint; begin … … end; … … m_filename, m4v_filename, avi_filename: String; Result, m_Decoder_Channel, Width, Height, Byte_Pixel, m_total_frame, m_Time_Seconds, m_pos, Mode: Longint; begin m_Decoder_Channel:= 0; Mode := 0; //play once m_filenam := ‘test1.m4v’;...
  • Page 119 Result := AngeloMPEG4_Decode_File_Set_Position(m_Deco der_Channel,m_total_frame div 2); Result := AngeloMPEG4_Decode_File_Pause(m_Decoder_Cha nnel); Result := AngeloMPEG4_Decode_File_Continue(m_Decoder_ Channel); Result := AngeloMPEG4_Decode_File_Get_Position(m_Deco der_Channel,m_pos); Result := AngeloMPEG4_Decode_Stop(m_Decoder_Channel); Result:=AngeloMPEG4_Decode_M4V_2_AVI(m4v_filenam e,Width,Height,Byte_Pixel,m_total_frame,m_T ime_Seconds); Result:=AngeloMPEG4_Decode_AVI_2_M4V(avi_filenam e,Width,Height,Byte_Pixel,m_total_frame,m_T ime_Seconds); end; Function Library...
  • Page 120: System Functions

    5.4 System Functions @ Name AngeloMPEG4_Get_Version(lMpeg4_DLLVersion, AngeloRTV_DLLVersion, Reserved) @ Description AngeloMPEG4_Get_Version: Use this function to get the software information. AngeloMPEG4_Get_Version – @ Syntax C/C++ (Windows 98/NT/2000/XP/CE.NET) int AngeloMPEG4_Get_Version(long *Mpeg4_DLLVersion, long *AngeloRTV_DLLVersion, long *Reserved); Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Get_Version(var Mpeg4_DLLVersion:Longint; var AngeloRTV_DLLVersion:Longint; var Reserved:Longint):Longint;...
  • Page 121 @ Argument Mpeg4_DLLVersion: Indicates the current version of the MPEG4 DLL. It is of 4 rows in length. AngeloRTV_DLLVersion: Indicates the current version of AngeloRTV DLL. It is of 4 rows in length. @ Return Code 0: ERROR_NoError @ Example <...
  • Page 122 Result: Longint; Str_AngeloMPEG4_Version, Str_AngeloRTV_Version: String; begin Result := AngeloMPEG4_Get_Version(Mpeg4_DLLVersion[0] , AngeloRTV_DLLVersion[0], Reserved[0]); Str_AngeloMPEG4_Version := IntToStr(Mpeg4_DLLVersion[0]); Str_AngeloMPEG4_Version := Str_AngeloMPEG4_Version + “.” + IntToStr(Mpeg4_DLLVersion[1]); Str_AngeloMPEG4_Version := Str_AngeloMPEG4_Version + “.” + IntToStr(Mpeg4_DLLVersion[2]); Str_AngeloMPEG4_Version := Str_AngeloMPEG4_Version + “.” + IntToStr(Mpeg4_DLLVersion[3]); Str_AngeloRTV_Version := IntToStr(AngeloRTV_DLLVersion[0]); Str_AngeloRTV_Version := Str_AngeloRTV_Version + “.”...
  • Page 123: Appendix

    Appendix Appendix A: Glossary Brightness: Attribute of a visual sensation according to which an area appears to exhibit more or less light CCIR: Committee Consulat International Radiotelegraphique. This is a standards committee of the International Telecommunications Union, which made the technical recommendation for European 625 line standard for video signals.
  • Page 124 Frame: One frame (two fields) of video contains the full vertical interlaced information content of the picture. For NTSC this consists of 525 lines and PAL a frame is consisted of 625 lines. Gamma: Cathode ray tubes (CRTs) do not have a linear relationship between brightness and the input voltage applied.
  • Page 125 Ireland) and PAL M (hybrid standard, having the same resolution as NTSC, but uses PAL transmission and color coding technol- ogy). Saturation: A characteristic describing color amplitude or intensity. A color of a given hue may consist of low or high saturation value, which relates to the vividness of color.
  • Page 126: Appendix B: Standard Compliance

    Appendix B: Standard Compliance Notice for USA Compliance Information Statement (Declaration of Conformity Procedure) DoC FCC Part 15 This equipment has been tested and found to comply with the lim- its for a Class A digital device, pursuant to Part 15 of the FCC Rules.
  • Page 127 Notice for Europe This product is in conformity with the Council Direc- tive 89/336/EEC amended by 92/31/EEC and 93/ 68/EEC This equipment has been tested and found to comply with EN55022/CISPR22 and EN55024/CISPR24. To meet EC require- ments, shielded cables must be used to connect a peripheral to the card.
  • Page 128 Appendix...
  • Page 129: Warranty Policy

    Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the follow- ing carefully. 1. Before using ADLINK’s products please read the user man- ual and follow the instructions exactly. When sending in damaged products for repair, please attach an RMA appli- cation form which can be downloaded from: http:// rma.adlinktech.com/policy/.
  • Page 130 3. Our repair service is not covered by ADLINK's two-year guarantee in the following situations: Damage caused by not following instructions in the user's manual. Damage caused by carelessness on the user's part dur- ing product transportation. Damage caused by fire, earthquakes, floods, lightening, pollution, other acts of God, and/or incorrect usage of voltage transformers.

Table of Contents