AMP MPEG4000-D4 Hardware Reference Manual

Specifications

Brand: AMP
Category: Media Converter
Model: MPEG4000-D4 (Hardware Reference Manual)
File Type: PDF
File Size: —
Pages: 25

Read Online

Read the AMP MPEG4000-D4 Hardware Reference Manual online using the built-in PDF viewer.

Text of the manual

4 channel MPEG-4 codec PC/104-Plus board

Document version: A.01

AMP and Advanced Micro Peripherals are the trading names for Advanced Micro Peripherals Inc. and Advanced Micro Peripherals Ltd.

Disclaimer This document contains information on a new product. Specifications and information herein are subject to change without notice. AMP reserves the right to make changes to any products herein to improve functioning and design. Although the information in this document has been carefully reviewed and is believed to be reliable, AMP does not assume any liability arising out of the application or use of any product or circuit described herein. Nothing in this document is to be taken as a license to operate under or a recommendation to infringe any patents. AMP does not recommend the use of any of its products in life support applications wherein a failure or malfunction of the product may directly threaten life or injury. The user of AMP products in life support applications assumes all risk of such use and indemnifies AMP against all damages. All information contained in this document is proprietary to AMP and may not be reproduced or disclosed to any third parties without the written consent of AMP. The circuit design, EPLD programs and artworks are copyright AMP 2008. The information contained in this document has been carefully checked and is believed to be reliable. However, Advanced Micro Peripherals Ltd (AMP) makes no guarantee or warranty concerning the accuracy of said information and shall not be responsible for any loss or damage of whatever nature resulting from the use of, or reliance upon, it. AMP does not guarantee that the use of any information herein will not infringe upon the patent, trademark, copyright, or other rights of third parties, and no patent or other license is implied hereby AMP reserves the right to make changes in the products or specifications, or both, presented in this document at any time and without notice. Warranty This product is supplied with a 1 year limited warranty. The product warranty covers failure of any AMP manufactured product caused by manufacturing defects. AMP will make all reasonable effort to repair the product or replace it with an identical variant. AMP reserves the right to replace the returned product with an alternative variant or an equivalent fit, form and functional product. Trademarks Tiny486, Tiny486, Tiny586DX, Tiny786LP, Mobile786EBX, Tiny886, Micro886, VAC104, VAC104plus , VAC2000, VAC2000, The Embedded Video Experts are trademarks of Advanced Micro Peripherals. All other trademarks recognized. Revision History Document version Date Comments Approved A.00 10th November 2010 First full release based on revision A.00 PCB SC A.01 20th January 2011 Updates reflected from VCODEC-H264 manual GM Advanced Micro Peripherals operates a company-wide quality management system, which has been certified by QMS International plc as compliant with ISO9001:2000

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 3 Contents 1: Introduction ............................................................................................. 4 Features ........................................................................................................................................................... 5 MPEG4000-D4 ‘at a glance’ ............................................................................................................................ 6 Technical specification ..................................................................................................................................... 7 Functional summary......................................................................................................................................... 9 Ordering information ...................................................................................................................................... 12 Anti-static handling......................................................................................................................................... 12 RoHS compliance .......................................................................................................................................... 12 Related documentation .................................................................................................................................. 12 2: Installation ............................................................................................. 13 System requirements ..................................................................................................................................... 13 Jumpers and connectors ................................................................................................................................ 14 Card and software installation ........................................................................................................................ 19 Cable-MP4D4 cable assembly ....................................................................................................................... 20 3: Recording options .................................................................................. 22 Multi-channel recording modes ...................................................................................................................... 22 Frame rates ................................................................................................................................................... 22 Frame type encoding ..................................................................................................................................... 23 Video Bit Rate control .................................................................................................................................... 23 A: Contacting AMP ...................................................................................... 25

© 2011 Advanced Micro Peripherals

Document version A.01 4 1: Introduction The MPEG4000-D4 is a 4-channel MPEG-4 codec on a single PC/104-Plus form factor. The MPEG4000-D4 provides a low power and high performance solution for capturing and compressing up to 4 concurrent video inputs to MPEG-4 standard. The MPEG4000-D4 not only provides MPEG-4 compression but can also decompress and playback recordings from storage to display. Utilizing the 32-bit PCI architecture, the MPEG4000-D4 allows high quality real-time video and audio capture and compression from (up to) 4 concurrent NTSC or PAL video sources to disk while at the same time providing an additional path for incoming video to be previewed on the host screen. The board also provides a text/graphics overlay and motion detection on all four channels. The high performance MPEG-4 video data compression and reduced bus utilization allows up to four MPEG4000-D4 cards to be fitted in a PC/104-Plus system to provide up to 16 concurrent video streams to disk or across a network. AMP can provide custom configurations (subject to a minimum order quantity) for the MPEG4000-D4. Please contact our Sales team (see A: Contacting Advanced Micro Peripherals, page 25) to discuss your requirements.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 5 Features ▪ Four asynchronous live inputs selectable from 4 video inputs. ▪ Live input from NTSC/PAL. ▪ 4 x 4CIF size MPEG-4) encode at full frame rate. ▪ 4 x 4CIF size Motion-JPEG encode at full frame rate. ▪ MPEG-4 decode/playback. ▪ High speed text overlay (for recording path) ▪ High speed text/bit mapped graphics overlay (for analog preview output) ▪ Real-time video preview to system VGA and analog NTSC / PAL output. ▪ Motion detection available on all channels. ▪ RS-485 PTZ control output (optional) ▪ Up to four MPEG4000-D4 cards per system. ▪ PC/104-Plus DMA operation for low CPU usage. ▪ High performance 133MB/s DMA burst transfer on PC/104-Plus. ▪ Software support under Windows-(XP, XP Embedded) and Linux. ▪ Single +5V operation. ▪ Compact 3.6" x 3.8" PC/104-Plus stackable card.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 6 MPEG4000-D4 ‘at a glance’ Jumpers for IDSEL card and Sensor, RS-485 PC/104-Plus bus PCI card interrupt selection and alarm 16-bit PC/104 Input / output for bus connectors NTSC / PAL video and audio

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 7 Technical specification Video input: One, two or four channel composite video channels Standard CCIR601-NTSC, CCIR-PAL NTSC-M, NTSC-Japan PAL-B, PAL-D, PAL-G, PAL-H, PAL-I, PAL-M, PAL-N Software selectable brightness, contrast and saturation control. 1V peak-to-peak (75Ω input impedance). Video compression: MPEG-4 video compression. ISO/IEC 14496-2, MPEG-4 SOP at Level 3 M-JPEG video compression (optional SDK support). 4 channels NTSC full size (704x480) at 30fps. 4 channels PAL full size (704x576) at 25fps. Programmable quantization value. Constant Bit Rate (CBR), Variable Bit Rate (VBR) support. Supports I, P frame compression. Latency: 80ms encoding Audio input: Four channel mono input. Voice quality mono or microphone sound input per channel (1Vrms) Provides Audio/Video Synchronisation Audio compression: 8bit 8KHz u-Law 64Kbps. G.723 Audio CODEC. System file record: AVI format. System file Windows Media Player (with MPEG-4 video compliant playback: decoder). PC/104-Plus: 133MB/sec bus bandwidth. PC/104-Plus bus master/initiator. 3.3v Add-in Module - compliant with 3.3V PC/104-Plus bus signaling. Jumper-selectable PC/104-Plus stack level. Power: Single +5V @ 0.85A (max).

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 8 Environmental: 0ºC to 60ºC. -40ºC to +85ºC (-EXT option). Physical size: Standard 3.6" x 3.8" PC/104-Plus stackable card form factor. Weight: 80g 5.08 5.08 0 8.89 85.09 82.55 95.89 0 2 1 2 1 PCI1 Note: 1. All Dimensions in Millimeter(mm) 90.81 91.20 20.50 LEVEL 1 3.00mm Dia. Hole 1.50mm Thickness Pad 1 68.50 2 1 2

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 9 Functional summary Signal sources The MPEG4000-D4 is designed to capture and record from up to four separate and unrelated video sources simultaneously. Each of the four video input channels of the MPEG4000-D4 features a video frame grabber and an audio digitizer. Each frame grabber contains a digital NTSC/PAL video and each video channel has an associated audio input. A single audio input is associated with each live video channel. Video digitization Composite NTSC or PAL video is input to the MPEG4000-D4 through the header VID1. The video is AC-coupled and fed to the on-board decoders of the individual frame grabbers. The video decoders automatically detect whether the incoming video signal is NTSC or PAL and generate the correct timing output signals. Each video channel is first decoded to chrominance and luminance signals and then digitized by high speed analog-to-digital (A2D) converters. The A2Ds output are passed to the MPEG-4 encoder.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 10 Real time live video MPEG-4 encoding Digital video data streams from the 4 Frame Stores are routed to the hardware MPEG-4 encoder engine where the video can be compressed. Each of the video channels can be compressed to a separate MPEG-4 stream, resulting in four separate MPEG-4 streams which can be written to disk (or LAN) as separate files. These streams can be up to full size at full frame rate. The encoding engine continuously encodes the video streams and uses its PCI bus Master/Initiator interface to transfer data across the bus to the system memory or disk. Note: The encoding path only supports a simple text overlay capability. Video Preview The MPEG4000-D4 provides a secondary video path allowing the recorded video to be streamed to the graphics controller buffer of the host system for video previewing. The Preview output can also be used to view an alternate video source while recording other inputs. The Preview information is also available as a composite NTSC/PAL output suitable for driving a NTSC/PAL or RS-170 display device. Note: The VGA preview output does not include an overlay capability, however, the composite analog output does offer support for full color, bit mapped graphics overlay with alpha-blending. Real time MPEG-4 video decoding / playback The MPEG4000-D4 can receive MPEG-4 encoded video data over the PC/104-Plus bus and decode it to a raw digital video stream. This is fed into a high speed digital-to-analog converter and then encoded to analog composite video as either NTSC or PAL. Additionally, the raw digital video stream can be displayed on the system VGA using the real time video preview functionality. Maximum image size of decoded video is 704x480 (NTSC) or 704x576 for PAL. Audio data which is part of the original recording is also decoded and played back in synchronisation with the video. In addition to playback to the system display VGA device, the MPEG4000-D4 also provides a composite NTSC/PAL playback output suitable for directly driving a PAL/NTSC or RS170 display device. OSD Video Text/Graphics Overlay The MPEG4000-D4 has two supported modes for OSD overlay; A simple (single color) text overlay may be added to the recording path for the video data. In addition to this, a full color bit-mapped graphics overlay feature is available for the analog preview output. This offers a choice of 64k colors (16 bit)

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 11 and the ability to use up to 64 levels of alpha-blending between the graphics data and input video source. Note: There is no overlay functionality for the host VGA controller preview path. Motion Detection and Event Triggers The MPEG4000-D4 supports automatic motion detection on a per channel basis. The ‘sensitivity’ of the motion detection can be set independently per channel. Each channel supports 330 (NTSC) or 396 (PAL) detection blocks. Using the motion-detection feature, the MPEG4000-D4 can be operated in a ‘baby-sitting’ mode where recording is committed to disk only when scene motion event is detected, to make most efficient use of disk storage. Software for the MPEG4000-D4 allows recording of pre-trigger, on-trigger and post-trigger events. Host interface The MPEG4000-D4 has a full 32-bit PC/104-Plus (PCI Rev 2.1) 3.3v host interface to the host computer. On board jumpers allow the MPEG4000-D4 to be configured for any of the 4 logical PC/104-Plus stack levels of the host computer.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 1 12 Ordering information The following part number(s) can be used when ordering: MPEG4000-D4 4 channel MPEG-4 video encoder. MPEG4000-D4-EXT Extended temperature (-40ºC to +85ºC) 4 channel MPEG-4 video encoder. Cable-MP4D4 750mm A/V breakout cable. Anti-static handling The board(s) supplied contain electrostatic components that are susceptible to permanent damage from electrostatic discharge (static electricity). To prevent electrostatic discharge, the boards are supplied in anti-static packaging. When handling a board, observe the following anti-static precautions to alleviate risk of damage: ▪ Remove the board(s) from the packaging only when you are working on an anti-static, earthed surface and wearing an anti-static wrist strap. ▪ Retain the anti-static packaging that the board(s) were supplied in. If you remove a board from a system, store it in this packaging. RoHS compliance The European RoHS Directive (Restriction on the use of certain Hazardous Substances – Directive 2002/95/EC) limits the amount of six specific substances within the composition of the product. The MPEG4000-D4 is RoHS compliant. Related documentation The following documentation and software may be of use whilst reading this guide: ▪ Video Recording SDK Software Reference Manual for MPEG4000-D4, VCODEC- H264-D4, microMPEG4-D4 and microH264-D4. ▪ Video Streaming SDK Software Reference Manual for MPEG4000-D4, VCODEC- H264-D4, microMPEG4-D4 and microH264-D4.

© 2011 Advanced Micro Peripherals

Document version A.01 13 2: Installation System requirements Computer form factor PC/104-Plus with 3.3v bus signaling Processor Pentium-class CPU, 266MHz or faster Memory 128MB memory or greater Bus PC/104-Plus Operating system Windows (2000, XP, XP Embedded), Linux or QNX.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 14 Jumpers and connectors The following diagram shows the location of the jumpers and connectors available on the MPEG4000-D4: LEVEL CONx PCI JP2 JP1 VID1 Note: pin 1

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 15 Conventions The following pages provide information about these jumpers and connectors. All illustrations on these pages are shown in the same orientation as the photograph above, unless otherwise stated. The following table explains the conventions adopted when specifying jumper settings: Symbol Explanation Jumper is fitted. Jumper is not fitted. VID1 - Input and output for NTSC/PAL video and audio Connector used to attach video sources to the MPEG4000-D4. Pin-out details for the four channels A, B, C and D are shown in the following tables. Channel 1 Pin Signal Pin Signal 1 Video-In A1 2 GND 3 Reserved 4 GND 5 Video-Out 1 Note 2 6 GND 7 Audio-Out 1 8 GND 9 Audio-In 1 10 GND Channel 2 Pin Signal Pin Signal 11 Video-In A2 12 GND 13 Reserved 14 GND 15 Video-Out 2 Note 2 16 GND 17 Reserved 18 GND 19 Audio-In 2 20 GND

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 16 Channel 3 Pin Signal Pin Signal 21 Video-In A3 22 GND 23 Reserved 24 GND 25 Reserved 26 GND 27 Reserved 28 GND 29 Audio-In 3 30 GND Channel 4 Pin Signal Pin Signal 31 Video-In A4 32 GND 33 Reserved 34 GND 35 Reserved 36 GND 37 Reserved 38 GND 39 Audio-In 4 40 GND NOTE 1: EVEN NUMBER PINS (2, 4, 6, 8, 10,) ARE GROUND RETURNS FROM THE CAMERA AND AUDIO SOURCES. AN OPTIONAL CABLE (CABLE-MP4D4) IS AVAILABLE WITH PHONO PLUGS FOR CONNECTING CAMERAS TO THE COMPOSITE VIDEO INPUTS OF THE HEADER VIDEO_IN. NOTE 2: VIDEO-OUT 1 AND VIDEO-OUT 2 DISPLAY THE SAME VIDEO OUTPUT.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 17 CONx – Sensor, RS-485 and Alarm Pin Signal Pin Signal 1 SENSOR0 2 GND 3 SENSOR1 4 GND 5 SENSOR2 6 GND 7 SENSOR3 8 GND 9 SENSOR4 10 GND 11 SENSOR5 12 GND 13 SENSOR6 14 GND 15 SENSOR7 16 GND 17 Reserved 18 GND 19 Reserved 20 GND 21 RS485 - 22 GND 23 RS485 + 24 GND 25 Reserved 26 GND 27 ALARM0 28 GND 29 ALARM1 30 GND 31 ALARM2 32 GND 33 ALARM3 34 GND 35 Reserved 36 GND 37 Reserved 38 GND 39 Reserved 40 GND JP1 and JP2 16-bit PC/104 bus connectors. These bus connectors are not currently used on the MPEG4000-D4 card except for routing signals to other PC/104 cards.

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 18 PCI PC/104-Plus bus. Standard 32-bit PC/104-Plus bus PCI Rev 2.1 compliant, 3.3V operation. LEVEL – links 1-2 and 3-4 Used for IDSEL card selection. The setting of the first two links on the LEVEL header determine the logical stack position of the MPEG4000-D4 on the PC/104-Plus stack. This setting routes the appropriate IDSEL, PCICLK, REQ and GNT signals to the MPEG4000-D4. The following configurations are valid. Jumpers IDSEL PCICLK REQ/GNT IDSEL0 PCICLK0 0/0 IDSEL1 PCICLK1 1/1 IDSEL2 PCICLK2 2/2 IDSEL3 PCICLK3 2/2 NOTE: WHEN USING MULTIPLE MPEG4000-D4 DEVICES IN A SYSTEM, EACH CARD MUST HAVE DIFFERENT REQ/GNT PAIR DEPENDING ON THE LEVEL OF THE DEVICE ON THE PC/104-PLUS STACK. Default setting:

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 19 LEVEL – links 5-6 and 7-8 Used for PCI card interrupt selection. The settings of the third and fourth links on the LEVEL header determine which of the four PCI interrupts service the MPEG4000-D4 card on the PC/104-Plus stack. The following configurations are valid. Jumpers Interrupt INTA INTB INTC INTD Card and software installation Further instructions for the MPEG4000-D4 are provided on the installation CD- ROM. If you are using the optional video input cable (cable-MP4D4), this should be plugged into the VID1 connector to provide live video to the Video-In A1 input of the MPEG4000-D4 . If you are using a recent BIOS version and operating system, the MPEG4000-D4 should be detected automatically. Default setting:

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 20 Cable-MP4D4 cable assembly The MPEG4000-D4 may be supplied with the following breakout cable (Cable- VCH264D4). The cable is approximately 750mm long (150mm ribbon cable plus 600mm coaxial screened cables with phono plug connectors): x4 video inputs (yellow) x4 audio inputs (red) x1 video output (black) – connected to Channel 1 video output - Preview x1 audio output (white) – connected to Channel 1 audio output

MPEG4000-D4 Hardware Reference Manual

© 2011 Advanced Micro Peripherals Document version A.01 2 21 Pin definitions / connector colors for the MP4D4 cable assembly. Pin Signal Pin Signal 1 Video-In A1 (YELLOW) 2 GND 3 4 5 Video-Out 1 (BLACK) 6 GND 7 Audio-Out 1 (WHITE) 8 GND 9 Audio-In 1 (RED) 10 GND 11 Video-In A2 (YELLOW) 12 GND 13 14 15 16 17 18 19 Audio-In 2 (RED) 20 GND 21 Video-In A3 (YELLOW) 22 GND 23 24 25 26 27 28 29 Audio-In 3 (RED) 30 GND 31 Video-In A4 (YELLOW) 32 GND 33 34 35 36 37 38 39 Audio-In 4 (RED) 40 GND

© 2011 Advanced Micro Peripherals

Document version A.01 22 3: Recording options Multi-channel recording modes The MPEG4000-D4 can perform recording of up to four channels at full resolution during multi-channel recording at a configurable frame rates. There is the option to record only video or both video and audio. Video from the four frame grabber channels A, B, C and D is recorded as 4 separate and individual streams. In this mode, encoding parameters can be set for each channel on a per-channel basis allowing different settings for each of the channels. Each channel may be recorded with or without audio. Frame rates The default frame rates are 29.97fps and 25fps for NTSC and PAL respectively. However, for increased flexibility, additional fractional frame rates are supported. Please see the software reference manual for further details.

3: Recording options

MPEG4000-D4 Hardware Reference Manual © 2011 Advanced Micro Peripherals Document version A.01 3 23 Frame type encoding The MPEG4000-D4 supports two frame encoding schemes within the MPEG-4 requirements to provide flexibility and optimize encoding efficiency and storage space. The default is I/P encoding, where both I and P frames are involved in the encoding. An alternative is I-only encoding. With I/P encoding, the I interval, which is defined as the number of P-frames between I-frames can be set to any number between 1 and 255. Video Bit Rate control The Video Bit Rate can be set separately for each channel of compression (and hence storage efficiency) by using one of the three bit rate control schemes – Variable Bit Rate (VBR), Constant Bit Rate (CBR) and Hybrid Bit Rate (HBR). With VBR, the Quantization value (default of 5) can be set between 1 and 31 to optimize efficiency for a particular application (with 1 being highest and 31 being lowest quality). This mode strives to keep the quality constant and will change the bit rate accordingly. The default bit rate for CBR is 1Mbit/sec. However, the actual bit rate may change by +/-10% around the set figure until the system ‘settles down’. CBR therefore does not guarantee that the bit rate in practice will be exactly as set – the MPEG4000-D4 simply does its best to achieve the set CBR figure. The real life bit rate when in CBR mode will depend on the incoming video, motion and other environmental factors. With HBR, the MPEG4000-D4 is given an upper and lower bit rate limit and will attempt to avoid abrupt changes in bit rate by changing the picture quality gradually only when the bit rate limits are exceeded. It may be worth finding out experimentally the optimum CBR setting for a particular application environment in order to make the best use of CBR configuration.

3: Recording options

MPEG4000-D4 Hardware Reference Manual © 2011 Advanced Micro Peripherals Document version A.01 3 24 Hints for reducing bit rates There are four ways that you can reduce the bit rate and hence optimize storage: ▪ Reduce the picture size ▪ Increase the quantization value ▪ Reduce the frame rate ▪ Increase the I picture interval NOTE: THESE OPTIONS MIGHT NOT BE AVAILABLE UNDER CBR. IN CBR, QUANTIZATION VALUE IS CONTROLLED BY THE MPEG4000-D4 TO MEET THE SET BIT RATE ONCE THE PICTURE SIZE, FRAME RATE AND I PICTURE INTERVAL ARE FIXED.

© 2011 Advanced Micro Peripherals

Document version A.01 25 A: Contacting AMP Sales AMP’s sales team is always available to assist you in choosing the board that best meets your requirements. Contact your local sales office or hotline. Sales office US Sales office UK Advanced Micro Peripherals Inc. Suite 424 234 5th Ave New York, NY USA 10001 Tel: +1 212 951 7205 Fax: +1 212 951 7206 E-mail: [email protected] Web: www.amp-usa.com Advanced Micro Peripherals Ltd. 1 Harrier House, Sedgeway Business Park Witchford, Cambridge, CB6 2HY United Kingdom Tel: 01353 659500 Fax: 01353 659600 E-mail: [email protected] Web: www.ampltd.com Technical support Comprehensive technical information is available on our websites (see above). If you can’t find the information or solution you require, AMP has a team of technical support engineers / embedded video experts available to provide a quick and free response to your technical queries. Please submit your technical support query to the appropriate email address: Technical support US Technical support UK E-mail: [email protected] E-mail: [email protected]

Other Media Converter Manuals