ADLINK Technology PCI-MP4S User manual

Category
Graphics cards
Type
User manual
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
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.
In no event will the manufacturer be liable for direct, indirect, spe-
cial, incidental, or consequential damages arising out of the use or
inability to use the product or documentation, even if advised of
the possibility of such damages.
This document contains proprietary information protected by copy-
right. All rights are reserved. No part of this manual may be repro-
duced by any mechanical, electronic, or other means in any form
without prior written permission of the manufacturer.
Trademarks
Microsoft®, Windows NT®, Windows 98®, Windows 2000®, Win-
dows XP® are registered trademarks of Microsoft Corporation.
Borland C++ Builder® is a registered trademark of Borland Inter-
national, Inc.
Product names mentioned herein are used for identification pur-
poses only and may be trademarks and/or registered trademarks
of their respective companies.
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: [email protected]
TEL: +886-2-82265877
FAX: +886-2-82265717
Address: 9F, No. 166, Jian Yi Road, Chungho City,
Taipei, 235 Taiwan
Please email or FAX this completed service form for prompt and
satisfactory service.
Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX:
Web Site
Product Information
Product Model
Environment
OS:
M/B: CPU:
Chipset: BIOS:
Please give a detailed description of the problem(s):
Table of Contents i
Table of Contents
Table of Contents..................................................................... i
List of Tables.......................................................................... iv
List of Figures ......................................................................... v
1 Introduction ........................................................................ 1
1.1 Features............................................................................... 2
Image Acquisition ........................................................... 2
MPEG4 Encoding ........................................................... 3
MPEG4 Decoding ........................................................... 4
Motion Detection ............................................................. 4
TCP/IP Data Transmission ............................................. 4
Watch Dog Timer ............................................................ 4
I/O Lines ......................................................................... 5
Supported Software ........................................................ 5
1.2 Applications ......................................................................... 5
1.3 System requirement............................................................. 6
1.4 Compression Benchmark .................................................... 6
PCI-33 Platform .............................................................. 6
Video Format: QCIF (160*120) ....................................... 7
Video Format: CIF(320*240) ........................................... 9
Video Format: 4CIF(640*480) ....................................... 10
PCI-X Platform .............................................................. 10
Video Format: QCIF (160*120) ..................................... 11
Video Format: CIF(320*240) ......................................... 13
Video Format: 4CIF(640*480) ....................................... 15
2 Hardware Reference......................................................... 17
2.1 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 ................................. 18
User EEPROM .............................................................. 18
Form Factor .................................................................. 18
PCI-MP4S Appearance ................................................ 19
ii Table of Contents
PCI-MP4S Standard Accessories ................................. 19
PCI-MP4S Connectors and Pin Definitions .................. 20
2.2 RTV-E4 Extension board for RTV-24 and PCI-MP4S........ 23
RTV-E4 Connectors and Pin Definitions ....................... 23
2.3 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 ................................ 27
3 Installation Guide.............................................................. 29
3.1 Hardware Installation ......................................................... 29
PCI-MP4S ..................................................................... 29
3.2 Driver Installation ............................................................... 30
WDM Driver Installation ................................................ 30
4 ViewCreator Utility ............................................................ 47
4.1 Overview ............................................................................ 47
4.2 Component Description ..................................................... 48
4.3 Operation Theory ............................................................... 48
MPEG4 Encoding ......................................................... 49
Video image configuration ............................................ 49
Video adjustments ........................................................ 50
Save image file ............................................................. 50
Special image effect ..................................................... 50
Tools ............................................................................. 51
5 Function Library................................................................ 53
5.1 List of Functions................................................................. 53
5.2 Encode Functions .............................................................. 55
AngeloMPEG4_Encode_Initial– ................................... 57
AngeloMPEG4_Encode_InitialEx– ............................... 57
AngeloMPEG4_Encode_Set_Callback– ....................... 62
AngeloMPEG4_Encode_Start– .................................... 65
AngeloMPEG4_Encode_Stop– .................................... 65
AngeloMPEG4_Encode_Close– ................................... 65
AngeloMPEG4_Encode_Save_File_Start– .................. 67
AngeloMPEG4_Encode_Save_File_Stop– .................. 67
AngeloMPEG4_Encode_Create_Directory– ................. 67
AngeloMPEG4_Encode_Set_Motion_Detection– ........ 70
5.3 Decode Functions .............................................................. 74
Table of Contents iii
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– ................. 99
AngeloMPEG4_Decode_File– .................................... 101
AngeloMPEG4_Decode_File_Start– .......................... 101
AngeloMPEG4_Decode_File_Set_Position– .............. 101
AngeloMPEG4_Decode_File_Pause– ........................ 101
AngeloMPEG4_Decode_File_Continue– ................... 101
AngeloMPEG4_Decode_File_Get_Position– ............. 101
AngeloMPEG4_AVI_2_M4V– ..................................... 101
AngeloMPEG4_M4V_2_AVI– ..................................... 101
5.4 System Functions ............................................................ 110
AngeloMPEG4_Get_Version – ................................... 110
Appendix.............................................................................. 113
Appendix A: Glossary ...................................................... 113
Appendix B: Standard Compliance.................................. 116
Warranty Policy................................................................... 119
iv 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) ................................... 13
Table 1-8: Video Format: 4CIF(640*480) ................................. 15
Table 2-1: General Purpose I/O Lines ..................................... 17
Table 2-2: Video Inputs ............................................................ 20
Table 2-3: Channel Extension Video Input (CN2) .................... 20
Table 2-4: Channel Extension Video Input (CN3) .................... 21
Table 2-5: Channel Extension Video Input (CN5) .................... 21
Table 2-6: GPIO (CN8) ............................................................ 21
Table 2-7: GPIO (CN9) ............................................................ 22
Table 2-8: Watchdog Timer Reset ........................................... 22
Table 2-9: RTV-E4 Connectors and Pin Definitions ................. 23
Table 2-10: GPIO (CN1) ............................................................ 26
Table 2-11: GPIO (CN2) ............................................................ 26
Table 2-12: D-sub 25-pin output connector pin .......................... 27
Table 5-1: List of Functions ...................................................... 53
Table 5-2: Quality Index ........................................................... 59
Table 5-3: Video adjustments table ......................................... 85
Table 5-4: Video quality table .................................................. 97
List of Figures v
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
Introduction 1
1 Introduction
The PCI-MP4S is a MPEG4 software video compression develop-
ment kit that combines excellent real-time image acquisition and
advanced MPEG4 software video compression algorithm for secu-
rity and remote video surveillance applications. This 32-bit,
33MHz/66MHz 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. The resolution can be pro-
grammed (640 x 480 or 768 x 576) and scaled down before
images are transferred to PC memory.
The MPEG4 software video compression function library provides
high quality video encoding and decoding. 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.
Each PCI-MP4S board has a unique hardware ID number. System
integrators can use this to implement protection to lock their sys-
tem product. Other useful features are a watchdog timer for fault-
tolerant applications and easy-to-use standard connectors.
2Introduction
1.1 Features
Image Acquisition
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-
patible with CCIR and EIA (RS-170).
Optional scaling: Optional scaling of acquired image or portions
of an image is available as follows:
X Acquisition of a programmable area of interest.
X Scaling of the image (down to 1:16).
X Adjustment of hue (for NTSC signals), contrast (0 to 200%),
brightness, and saturation (0 to 200% for U and V signals).
X Automatic chrominance gain control.
NTSC 1 Camera 2 Cameras 3 Cameras 4 Cameras 8 Cameras
Fields 60 120 180 240 240
Frames 30 60 90 120 120
PAL 1 Camera 2 Cameras 3 Cameras 4 Cameras 8 Cameras
Fields 50 100 150 200 200
Frames 25 50 75 100 100
Table 1-1: Acquisition Speed
Introduction 3
MPEG4 Encoding
Quality Index:
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. Users can play AVI files using MS Media Player
after installing XVID CODEC (see ADLINK All-in-One CD).
Quality
Level
NTSC
4CIF (640 x 480) CIF (320 x 240) QCIF (160 x 120)
Lowest
Bit-rate = 400000*4
Frame rate = 5
Bit-rate = 400000
Frame rate = 5
Bit-rate = 400000/4
Frame rate = 5
Low
Bit-rate = 480000*4
Frame rate = 10
Bit-rate = 480000
Frame rate = 10
Bit-rate = 480000/4
Frame rate = 10
Normal
Bit-rate = 560000*4
Frame rate =15
Bit-rate = 560000
Frame rate =15
Bit-rate = 560000/4
Frame rate =15
High
Bit-rate = 560000*4
Frame rate = 30
Bit-rate = 560000
Frame rate = 30
Bit-rate = 560000/4
Frame rate = 30
Highest
Bit-rate = 1024000*4
Frame rate = 30
Bit-rate = 1024000
Frame rate = 30
Bit-rate = 1024000/4
Frame rate = 30
Quality
Level
PAL
4CIF (768 x 576) CIF (384 x 288) QCIF (192 x 144)
Lowest
Bit-rate = 400000*4
Frame rate = 4
Bit-rate = 400000
Frame rate = 4
Bit-rate = 400000/4
Frame rate = 4
Low
Bit-rate = 480000*4
Frame rate = 8
Bit-rate = 480000
Frame rate = 8
Bit-rate = 480000/4
Frame rate = 8
Normal
Bit-rate = 560000*4
Frame rate =12
Bit-rate = 560000
Frame rate =12
Bit-rate = 560000/4
Frame rate =12
High
Bit-rate = 560000*4
Frame rate = 25
Bit-rate = 560000
Frame rate = 25
Bit-rate = 560000/4
Frame rate = 25
Highest
Bit-rate = 1024000*4
Frame rate = 25
Bit-rate = 1024000
Frame rate = 25
Bit-rate = 1024000/4
Frame rate = 25
Table 1-2: Quality Index
4Introduction
Save single image file: Supports save single image to BMP or
JPEG image file format.
MPEG4 Decoding
MPEG4 video decoding: Video decoding can be assigned a
source from the local memory buffer, file access, or TCP/IP port.
The quality of decoded video can be used to adjust the video
encoding level. Decoding quality can also be used to control the
flow rate between encoder and decoder and to adjust motion
detection settings.
Save video file: Supports save continued video to M4V or AVI
video file format, User may play AVI file by 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.
Motion Detection
Up to four detection areas can be set in one frame or the entire
frame can be used for motion detection actions. The motion detec-
tion occurrence can be adjusted for sensitivity.
TCP/IP Data Transmission
Video data can be transferred by TCP/IP after connecting to the IP
of the encoding site and data transmission speed can be moni-
tored using the flow rate.
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.
Introduction 5
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.
ViewCreator - This package will assist in initial testing and func-
tional evaluation.
1.2 Applications
X PC Based Surveillance System
X Digital Video Recorder (DVR)
X Factory Monitoring System
X Machine Vision Inspection System
X Scientific Research Instrumentation
X Medical Research Instrumentation
6Introduction
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:
X Platform: Pentium 4, 2.4GHz CPU, 256MB DDRAM above.
X VGA display: AGP 4X above (No recommend VIA or SiS
VGA chipset solution).
X Display setting: 800 x 600 above resolution, 16-bit above
color format.
X OS: if OS uses Windows 2000 then please upgrade to Ser-
vice Pack 4.0 or above.
X The CPU consumption average around 70% when based
on the above system configuration.
X Less system configuration will lower acquisition perfor-
mance.
* Real-time MPEG4 color video – Provides 320 x 240 pixels image
resolution at RGB 16-bit color format, each channel acquired and
compress speed at 30 frames per second and 4-CH with a total of
up to 120 frames per second.
1.4 Compression Benchmark
PCI-33 Platform
X SBC: ADLINK NuPRO-842
X CPU: Intel® Pentium® 4 processor, 2.4HHz
X Memory: DDR266 256MB
X PCI Bus: 32-bit, 33MHz
X VGA: AGP 4X
X OS: Windows 2000/SP4
X Encoding color format: RGB 16-bit
Introduction 7
Video Format: QCIF (160*120)
# Port
Encoding
Quality
CPU loading
(max. %)
Decoding
Microsoft Media
Player
ADLINK M4V
Player
1
Lowest 11 OK OK
Low 13 OK OK
Normal 16 OK OK
High 17 OK OK
Highest 20 OK OK
2
Lowest 13 OK OK
Low 17 OK OK
Normal 17 OK OK
High 25 OK OK
Highest 23 OK OK
3
Lowest 13 OK OK
Low 17 OK OK
Normal 20 OK OK
High 33 OK OK
Highest 30 OK OK
4
Lowest 16 OK OK
Low 17 OK OK
Normal 22 OK OK
High 39 OK OK
Highest 34 OK OK
8
Lowest 17 OK OK
Low 30 OK OK
Normal 39 OK OK
High 61 OK OK
Highest 61 OK OK
Table 1-3: Video Format: QCIF (160*120)
8Introduction
* When CPU loading up to 100% then will start have time-lapse
effect.
12
Lowest 34 OK OK
Low 42 OK OK
Normal 61 OK OK
High 91 OK OK
Highest 91 OK OK
13
Lowest 45 OK OK
Low 58 OK OK
Normal 72 OK OK
High 100* - -
Highest 100* - -
Table 1-3: Video Format: QCIF (160*120)
Introduction 9
Video Format: CIF(320*240)
* When CPU loading up to 100% then will start have time-lapse
effect.
# Port
Encoding
Quality
CPU loading
(max. %)
Decoding
Microsoft
Media Player
ADLINK M4V
Player
1
Lowest 9 OK OK
Low 14 OK OK
Normal 17 OK OK
High 30 OK OK
Highest 28 OK OK
2
Lowest 16 OK OK
Low 20 OK OK
Normal 31 OK OK
High 53 OK OK
Highest 55 OK OK
3
Lowest 22 OK OK
Low 31 OK OK
Normal 44 OK OK
High 80 OK OK
Highest 80 OK OK
4
Lowest 32 OK OK
Low 42 OK OK
Normal 56 OK OK
High 98 OK OK
Highest 95 OK OK
5
Lowest 35 OK OK
Low 53 OK OK
Normal 73 OK OK
High 100* - -
Highest 100* - -
Table 1-4: Video Format: CIF(320*240)
10 Introduction
Video Format: 4CIF(640*480)
* When CPU loading up to 100% then will start have time-lapse
effect.
PCI-X Platform
X SBC: ADLINK NuPRO850
X CPU: Intel Pentium 4, Hyper Threading Disable
X Memory: DDR266 1GB
X PCI-X Bus: 32-bit, 66MHz
X VGA: AGP 8X
X OS: Windows 2000/SP4
X Encoding color format: RGB 16-bit
# Port
Encoding
Quality
CPU loading
(max. %)
Decoding
Microsoft
Media Player
ADLINK M4V
Player
1
Lowest 22 OK OK
Low 39 OK OK
Normal 50 OK OK
High 86 OK OK
Highest 88 OK OK
2
Lowest 42 OK OK
Low 63 OK OK
Normal 67 OK OK
High 100* - -
Highest 100* - -
Table 1-5: Video Format: 4CIF(640*480)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130

ADLINK Technology PCI-MP4S User manual

Category
Graphics cards
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI