PCI-MP4S 4-CH MPEG4 Software Video Compression Card User’s Manual
©Copyright 2004 ADLINK Technology Inc All Rights Reserved. Manual Rev 1.00: March 26, 2004 Part No: 50-15029-100 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.
Getting Service from ADLINK Customer Satisfaction is top priority for ADLINK TECHNOLOGY INC. If you need any help or service, please contact us. 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, Taipei, 235 Taiwan Please email or FAX your detailed information for prompt, satisfactory, and consistent service.
Table of Contents Chapter 1 Introduction ..............................................................................1 1.1 Features .............................................................................................2 1.1.1 Image Acquisition ...............................................................2 1.1.2 MPEG4 Encoding ...............................................................2 1.1.3 MPEG4 Decoding ...............................................................3 1.1.
Appendix B: Standard Compliance ............................................................75 Warranty Policy .......................................................................................
1 Introduction The PCI-MP4S is a MPEG4 software video compression development kit that combines excellent real-time image acquisition and advanced MPEG4 software video compression algorithm for security and remote video surveillance applications. This 32-bit, 33MHz PCI bus frame grabber simultaneously captures four video analog streams in real time. It accepts standard composite color (PAL, NTSC) or monochrome video format (CCIR, EIA) camera input.
1.1 Features 1.1.
Bitrate = Highest 2 1024000*4 frame_rate = 30 Bitrate = 1024000 frame_rate = 30 Bitrate = 1024000/4 frame_rate = 30 Supports setting of initial motion detection area and assigning or creating directory for saved files. Save video file: Supports save continued video to M4V or AVI video file format. User may play AVI file with MS Media Player after installing XVID CODEC (see ADLINK All-in-One CD). Save single image file: Supports save single image to BMP or JPEG image file format. 1.1.
programmable inactivity time-out. This ensures reliable operation of remote systems. 1.1. 7 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 acquisitions or to report alarm signals. 1.1.8 Supported software WDM driver - supports VC++/VB/BCB/Delphi programming under Windows NT/98/2000/XP platforms with DLL.
2 Hardware Reference 2.
Watch Dog Timer For monitoring applications – will reset the PC after a programmable inactivity time-out.
2.1.
2.1.
Channel Extension Video Input (CN2) 9 1 10 2 PIN NO. 1 3 5 7 9 Function GND CH5 video in GND CH7 video in GND PIN NO. 2 4 6 8 10 Function CH4 video in GND CH6 video in GND GND Channel Extension Video Input (CN3) 9 1 10 2 PIN NO. 1 3 5 7 9 Function GND CH9 video in GND CH11 video in GND PIN NO. 2 4 6 8 10 Function CH8 video in GND CH10 video in GND GND Channel Extension Video Input (CN5) 9 1 10 2 PIN NO. 1 3 5 7 9 Function GND CH13 video in GND CH15 video in GND PIN NO.
GPIO (CN8) 9 1 10 2 PIN NO. 1 3 5 7 9 Function IN0 (External interrupt) OUT0 IN1 (External interrupt) OUT1 GND PIN NO. 2 4 6 8 10 Function GND Software Trigger 0 Software Trigger 1 +5V -- GPIO (CN9) 9 1 10 2 PIN NO. 1 3 5 7 9 Function IN2 (External interrupt) OUT2 IN3 (External interrupt) OUT3 GND PIN NO. 2 4 6 8 10 Function GND Software Trigger 2 Software Trigger 3 +5V -- Watchdog Timer Reset 2 JP1 1 PIN NO.
2.1.3 RTV-E4 Extension board for RTV-24 and PCI-MP4S (Optional item, not a standard accessory) RTV-E4 Appearance RTV-E4 Connectors & Pin Definitions Channel Extension Video Input (J11) 9 1 10 2 PIN NO. 1 3 5 7 9 Function GND CH5 video in GND CH7 video in GND PIN NO.
2.1.
RTV-I4 Connectors & 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 1 1 Normal Closed 3 2 1 3 3 J6 J5 J8 J7 Relay I/O voltage requirement: Input: +5V to +24V Output: AC: 0.5A/125V, DC: 1A/30V or 0.
STRG output signal types: Active high or Active low Signal names: STRG_OUT1, STRG_OUT2, STRG_OUT3, STRG_OUT4 Jumper addresses: Type select: Active high =>2-3 Active low =>1-2 J1, J2, J3, J4 Active High 1 1 Active Low 1 3 2 3 3 J1 J3 J2 J4 Trigger output voltage: 0V to +5V Input 2R10P pin header pin definition: GPIO (CN1) 9 1 10 2 PIN NO. 1 Function GPIO Input 1 PIN NO.
9 1 10 2 PIN NO. 1 Function GPIO Input 3 PIN NO.
3 Installation Guide 3.1 Hardware Installation 3.1.1 PCI-MP4S Use the following steps to install the PCI-MP4S board on the PCI bus: 1. 2. 3. 4. Remove the computer cover using the instructions from the computer manual. Check that there is an empty PCI (32-bit) slot to accommodate the board. If there is no empty slot, remove a PCI board from the computer to make room for the PCI-MP4S board and note the chosen slot number (i.e. card index).
8. Turn on the computer. In some cases, when the computer boots up, the “Plug and Play” feature of Windows will detect the new PCI card 8 times (4 videos and 4 audios) and you will require drivers. For details, see the “Installation Guide.
3.2 Driver Installation 3.2.1 WDM Driver Installation 1. Insert the Automation All-in-one CD to CD-ROM drive and click Driver Installation. 2. Select Vision. 3.
4. Select Windows Driver for Windows 98/NT/2000/XP. 5. The driver will begin installing. 6. Click Next until the driver installs completely.
Function Library • 21
Function Library • 22
Function Library • 23
7. Click Finish and restart the system. 8. Go to the System Control Panel and check to see that four “ADLINK Angelo Audio Device” and four “ADLINK Angelo Video Device” are installed as shown.
3.3 MPEG4 registration Each PCI-MP4S must be registered on the ADLINK website for legal authorization of the MPEG4 software compression function library. 1. Please be sure have the following information before going to the ADLINK website for MPEG4 registration: PCI-MP4S card S/N and Original Code 2. Record the serial number of the PCI-MP4S card. 3. Original Code a. Go to “C:\Program Files\ADLINK\AngeloMpeg4\” and execute the “Register.exe” file. You will then see the “Register Utility” form as below.
b. Select the card index number and click the “Register” button. You will then the “Register” form with “Original Code” as below. c. Record the “Original Code” and click the “ADLINK on the Web” button to link to the PCI-MP4S product web page to continue with MPEG4 on-line registration. 4. MPEG4 on-line registration a. Go to the PCI-MP4S product page at http://www.adlinktech.com/products/TR/PCI-MP4S-register.html, and click “Register”, as shown below.
b. Enter your e-mail account and click “Submit” to proceed to “STEP 2”. If you are not yet registered, please go to “New Visitor Registration” to first register your basic information. c. Enter the serial number (S/N) and Original Code in the spaces and provided and click "Submit" to request the “Activation Code.
d. When finished, you will see the “Activation Code” as below. e. Go to “C:\Program Files\ADLINK\AngeloMpeg4\” path to execute the “Register.exe” again, and enter the “Activation Code” as below, and click “Register”. f. When registered successfully, you will see the message below.
4 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 control Angelo series cards to verify correct operation. ViewCreator provides a simple yet powerful means to setup, configure, test, and debug the vision system. Note: ViewCreator is only available for Windows 98/NT/2k/XP with a recommended screen resolution of 800x600 or higher. 4.
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.
4.3 Operation theory ViewCreator provides many functions for the Angelo series card as described below. 4.3.1 MPEG4 Encoding Single channel display z Click a video Port icon in the Tree Browser window. A video frame will appear in the Image View window. z Select Encoder->Encode in menu bar to bring up the Encoder Setting dialog box, and then click the start button. Note: 1. View Creator supports only one channel CIF video encoding. Ensure there is only one channel, CIF image on the screen. 2.
Hue z 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-255. Contrast z Click and hold the left mouse button on the Contrast slider of the Control Panel and drag the cursor to change its value. Values range from 0-255 Brightness z Click and hold the left mouse button on the Brightness slider of the Control Panel and drag the cursor to change its value. Values range from 0-255 4.3.
GPIO & LED z Click Tool in the menu bar and select GPIO & LED to bring up the GPIO dialog box. Select the port to access and select the digital output value. Click the write or read button to write/read to/from the digital I/O ports. z LED status is only supported with the cPCI Angelo series card. EEPROM z Click Tool in the menu bar and select EEPROM to bring up the EEPROM dialog box.
5 Function Library This chapter describes the API for Mpeg4 encoding and decoding. Users can use these functions to develop application programs in Visual C++, Visual Basic, C++ Builder, and Delphi. 5.1 List of Functions Category Section Function Encode 5.2 Decode 5.
AngeloMPEG4_Decode_Set_Image_Config(Decoder_In dex, ConfigIndex , Value) AngeloMPEG4_Decode_Set_Motion_Detection(Decode r_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_From_File(Decoder_Index, file_name, action, speed) AngeloMPEG4_Decode_Start(Decoder_Index) AngeloMPEG4_Decode_Stop(Decoder_Index) AngeloMPEG4_Decode_Get_FlowRate(Decoder_Index,
AngeloMPEG4_Encode_Create_Directory(Encoder_Index, Dir) – Create a new fold in encode site. AngeloMPEG4_Encode_Set_Motion_Detection(Encoder_Index, Area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height) –Set the motion detection criteria, and action when motion occurs in encode site. AngeloMPEG4_Encode_Save_Single_Image(Encoder_Index, FileName, FileFormat, nQuality) –Save singe frame into BMP or JPEG file format.
AngeloMPEG4_Encode_Save_File_Stop: Use this function to stop saving the video file. In general, the video file will close automatically after the “Interval” parameter in AngeloMPEG4_Encode_Save_File_Start. AngeloMPEG4_Encode_Create_Directory: This function is used to create a new directory for saving a video file. The “filename” parameter in AngeloMPEG4_Encode_Save_File_Start contains the file path name.
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.
2: CIF NTSC, 3: CIF PAL, 4: QCIF NTSC, 5: QCIF PAL, with image size 320*240, with image size 320*240, with image size 160*120, with image size 160*120, @ Return Code @ Example int int int int int int int int int Result; Encoder_Index = 0; Quality = 0; Angelo_PortNo = 0; Angelo_ChannelNo = 0; Angelo_Color_Format = 3; //RGB24 Angelo_Video_Format = 2; //CIF NTSC Bitrate = 480000; frame_rate = 15; Result = AngeloMPEG4_Encode_Initial (Encoder_Index, Quality, Angelo_PortNo, Angelo_ChannelNo, Angelo
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) Var 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
AngeloMPEG4_Encode_Set_Callback(Encoder_Index:Longint; lpEncodeCallBackProc:EncodeCallBackProc):Longint; @ Argument Encoder_Index: Indicates the channel Index for the MPEG4 encoder. The range of channels is 0 – 15.
procedure Encode_Callback (Encoder_Index:Longint;int_status:Longint;var param_struct:param_str);stdcall var {* add your var here *} begin case int_status of 1: begin {********* Image Ready *********} end; 2: begin {********* Set Image Config Event *********} end; 4: begin {********* Connected Event *********} end; 8: begin {********* Disconnect Event *********} end; 16: begin {********* Motion Detection Event *********} end; end; // end case int_status of end; // Main Code var Encoder_Index, Resu
AngeloMPEG4_Encode_Close (ByVal Encoder_Index As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Encode_Start(Encoder_Index:Longint):Longint; AngeloMPEG4_Encode_Stop(Encoder_Index:Longint):Longint; AngeloMPEG4_Encode_Close(Encoder_Index:Longint):Longint; @ Argument channel: Indicates the channel index for the MPEG4 encoder. The range of channels is 0 – 15.
Result := AngeloMPEG4_Encode_Stop(Encoder_Index); 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) int AngeloMPEG4_Encode_Save_File_Start(int Encoder_Index, char* n_file_name, long interval_second, long format); int AngeloMPEG4_Encode_Save_File_Stop(int Encoder_Index); int AngeloMPEG4_Encode_Create_Directory(int Encoder_Index, char* Dir); Visual Basic (W
3: both Dir: The argument is the path and name of the directory that will be created.
format := 3; // save both format Result := AngeloMPEG4_Encode_Create_Directory(Encoder_Ind ex, Dir); Result := AngeloMPEG4_Encode_Save_File_Start(Encoder_Inde x, n_file_name, interval_second, format); end; 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_
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.
Result = AngeloMPEG4_Encode_Set_Motion_Detection(Encoder_I ndex, area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height) var Encoder_Index, Result: Longint; enable, Threshold, interval, action: Longint, area:Longint, X_Star:Longint, Y_Start:Longint, Width: Longint, Height:Longint; begin Encoder_Index:= 0; enable := 1; Threshold := 5; Interval := 3; // 3 sec Action := 1; // callback area =1; X_Start = 0; Y_Start =0; Width = 160; Height = 120; if (enable = 1) then Result = Ange
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_Index, ConfigIndex , Value) –Adjust the brightness, contrast, hue etc..
Use this function to establish a connection between decoder and encoder. Video data 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 the encoder. AngeloMPEG4_Decode_Start: If a connection between encoder and decoder is established, video data will transfer from encoder to decoder automatically.
If you save the video file into “.m4v” format and the file is closed, you can use this function to decode the video file and retrieve the video image with a callback function. The video images can then be displayed in the Windows environment. AngeloMPEG4_Decode_Get_FlowRate(channel, Byte_Second): If the connection between encoder and decoder is established, use this function to query the current data flow rate between encoder and decoder.
Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Connect(Decoder_Index:Longint; Encoder_IP:String; Enocder_channel:Longint):Longint; AngeloMPEG4_Decode_Disconnect(Decoder_Index:Longint):Longint; @ Argument Decoder_Index: Indicates the channel index of the MPEG4 decoder. The range of channels is 0 - 15. Encoder_IP: Encoder_IP is the IP address of the MPEG4 encoder. Encoder_Index: Encoder_Index is the channel index of the MPEG4 encoder. Angelo_Video_Format: Reserved for future use.
var Decoder_Index: Longint; Encoder_IP: String; Encoder_Index: Longint; Result: Longint; begin Decoder_Index:= 0; Remote_IP := “61.30.14.
void __stdcall Decode_Callback(int Decoder_Index, long int_status, long VideoBufferaddress) { if((int_status & 0x01) == 1) //Image Ready { //Start Drawing memcpy(Temp,(PVOID)VideoBufferaddress,iWidth*i Height*3); gpDC->BitBlt(10,10,iWidth,iHeight,MemDC,0,0,SR CCOPY); } if((int_status>>1 & 0x01) == 1) //MotionDetection Occur { //Deal with MotionDetection Beep(1024, 100); } if((int_status>>2 & 0x01) == 1) //Connection establish { //Prepare DC for Preview int Bitrate = 0, frame_rate = 0, colorspace = 0; Angelo
procedure DecoderCallbackProc(Decoder_Index:Longint; int_status:Longint; VideoBufferaddress:Longint); stdcall var Str_Addr: Pointer; 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; end; // end case int_status of end; // Main Code var Decod
2 for SATURATION (U) 3 for SATURATION (V) 4 for CONTRAST (LUMA) 5 for luma notch filter (for monochrome video, the notch filter should not be used) value: (0-255) BRIGHTNESS HUE CHROMA (U) CHROMA (V) LUMA LUMA notch filter Range 0 ---- 255 0 ---- 255 0 ---- 255 0 ---- 255 0 ---- 255 0(Enable) Default value 128 0 127 127 108 or 1(Disable) @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int Decoder_Index = 0; int ConfigIndex = 0; int value = 128; Result = AngeloMPEG4_Decode_Set_Image_Conf
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_M
@ Example int int int int int int int int int int int Result; Decoder_Index = 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(Decoder _Index, area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height); < Visual Basic > Dim Result As Long, Decoder_Index As Long, enable As Long, Threshold As Long, interval As Long, action As Long, area As Long, X_Start As Lon
enable, Threshold, interval, action: Longint, area:Longint, X_Star:Longint, Y_Start:Longint, Width: Longint, Height:Longint; begin Decoder_Index:= 0; enable := 1; Threshold := 5; Interval := 3; // 3 sec Action := 1+4; // callback & send motion image area =1; X_Start = 0; Y_Start =0; Width = 160; Height = 120; if (enable = 1) then Result = AngeloMPEG4_Decode_Set_Motion_Detection(Decod er_Index, area, enable, Threshold, interval, action, X_Start, Y_Start, Width, Height) else // disable motion detection Resul
Indicates the width of the MPEG4 image size. iHeight: Indicates the height of the MPEG4 image size. Video_format: Full NTSC (640*480) Full PAL (768*576) CIF NTSC (320*240) CIF PAL (384*288) QCIF NTSC (160*120) QCIF PAL (192*144) = 0, = 1, = 2, = 3, = 4, = 5, Color_format: RGB16 GRAY RGB15 RGB24 RGB32 RGB8 RAW8X YUY2 4:2:2 BtYUV 4:1:1 = 0, = 1, = 2, = 3, = 4, = 5, = 6, = 7, =8 At present, we only support RGB24 color format, so the value should be always be set to 3.
Dim Result As Long, Decoder_Index As Long, iWidth As Long, iHeight As Long, video_format As Long, color_format As Long, Bitrate As Long, frame_rate As Long Decoder_Index = 0 Result = AngeloMPEG4_Decode_Get_Config(Decoder_Index, iWidth, iHeight, videoformat, colorformat, Bitrate, frame_rate) var Decoder_Index: Longint; iWidth, iHeight: Longint; videoformat, colorspace, Bitrate, frame_rate: Longint; Result: Longint; begin Decoder_Index:= 0; Result := AngeloMPEG4_Decode_Get_Config(De
1 for playback. speed: play speed. -2 for 2x slow -4 for 4x slow 0 for normal speed 1 for 1x fast 2 for 2x fast 4 for 4x fast @ Return Code 0: ERROR_NoError @ Example < VC/BCB > int Result; int Decoder_Index = 0; char* file_name = “test.m4v”; int action = 0; int speed = 0; Result = AngeloMPEG4_Decode_From_File(Decoder_Index, file_name, action, speed); Dim Result As Long, Decoder_Index As Long, action As Long, Speed As Long Dim file_name As String Decoder_Index = 0 file_name = “test.
end; AngeloMPEG4_Decode_Start– AngeloMPEG4_Decode_Sop– @ 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; AngeloMPEG4_Decode_Stop(Decoder_Index:Longint):Longint; @ Argument Dec
Result := AngeloMPEG4_Decode_Stop(Decoder_Index); end; AngeloMPEG4_Decode_Expansion– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_Expansion(int Decoder_Index, int Scale); Visual Basic(Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Expansion (ByVal Decoder_Index As Long, ByVal nScale As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Expansion(Decoder_Index:Longint; Scale:Longint):Longint; @ Argument Decoder_Index: Indicates the channel index of the MPEG4 Decoder.
Scale := 2; Result := AngeloMPEG4_Decode_Expansion(Decoder_Index, Scale); end; AngeloMPEG4_Decode_Get_FlowRate– @ Syntax C/C++ (Windows 98/NT/2000/XP) int AngeloMPEG4_Decode_Get_FlowRate(int Decoder_Index, long* Byte_Second); Visual Basic (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Get_FlowRate(ByVal Decoder_Index As Long, ByRef flow_rate As Long) As Long Delphi (Windows 98/NT/2000/XP) AngeloMPEG4_Decode_Get_FlowRate(Decoder_Index:Longint; var Byte_Second:Longint):Longint; @ Argument Decoder_Index: Indic
var Decoder_Index: Longint; Byte_Second: Longint; Result: Longint; begin Decoder_Index:= 0; Result := AngeloMPEG4_Decode_Get_FlowRate(Decoder_Index, Byte_Second); end; 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) An
High 1 Bitrate = 512000*4 frame_rate = 30 Bitrate = 512000 frame_rate = 30 Bitrate = 512000/4 frame_rate = 30 Highest 2 Bitrate = 1024000*4 frame_rate = 30 Bitrate = 1024000 frame_rate = 30 Bitrate = 1024000/4 frame_rate = 30 Bitrate: Indicates the bit rate of the MPEG4 stream from the encode server. Frame_rate: Indicates the frame rate of the MPEG4 stream from the encode server. The value is 0 30.
Result = AngeloMPEG4_Decode_ReInitia(Decoder_Index, Quality, Angelo_Video_Format) Result = AngeloMPEG4_Decode_ReInitiaEx(Decoder_Index, Bitrate, frame_rate, Angelo_Video_Format) var Decoder_Index: Longint; Quality, Bitrate, frame_rate, Angelo_Video_Format: Longint; Result: Longint; begin Decoder_Index:= 0; Quality :=0; Bitrate := 480000; frame_rate := 15; Angelo_Video_Format = 2; Result = AngeloMPEG4_Decode_ReInitial(Decoder_Index, Quality, Angelo_Video_Format); Result = AngeloMPEG4_Decode_ReInit
interval_second: This argument is the number of seconds of encoded video to be saved. format: 1: m4v, 2: avi. 3: both.
format := 3; // Save both format Result := AngeloMPEG4_Decode_Save_File_Start(Decoder_Index, n_file_name, interval_second, format); end; 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.
int Result; long Mp4Version[4] = {0}, DLLVersion[4] = {0}, VersionReserved[4] = {0}; CString str1, str2; Result = AngeloMPEG4_Get_Version(Mp4Version, DLLVersion, VersionReserved); str1.Format("%d.%d.%d.%d", DLLVersion[0], DLLVersion[1], DLLVersion[2], DLLVersion[3]); str2.Format("%d.%d.%d.
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.
Attribution of visual sensation according to which area appears to be similar to one, or proportions of two, of the perceived colors red, yellow, green, and blue. NTSC: Color TV standard developed in the U.S. in 1953 by National Television System Committee. NTSC is used in United States, Canada, Japan, in most of the American continent countries and in various Asian countries. The rest of the world uses either some variety of PAL or SECAM standards.
Appendix B: Standard Compliance Notice for USA Compliance Information Statement (Declaration Conformity Procedure) DoC FCC Part 15 of This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation or when the equipment is operated in a commercial environment.
Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully: 1. Before using ADLINK’s products please read the user manual and follow the instructions exactly. 2. When sending in damaged products for repair, please attach an RMA application form. 3. All ADLINK products come with a two-year guarantee, repaired free of charge. • • • 4.