Transcript
MPEG4000WA
4 channel MPEG-4, MPEG-2, M-JPEG codec with digital watermarking - PC/104-Plus board
Document version: A.02
HARDWARE REFERENCE MANUAL
Definitions 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
6th June 2008
First full release based on revision A.00 PCB
LF
A.01
9th March 2009
Corrected pin-outs
AJS / LF / GM
A.02
6th November 2009
Updates to format
GM
Advanced Micro Peripherals operates a company-wide quality management system, which has been certified by QMS International plc as compliant with ISO9001:2000
MPEG4000WA Hardware Reference Manual
Contents 1:
Introduction ............................................................................................. 4 Features........................................................................................................................................................... 5 MPEG4000WA ‘at a glance’ ............................................................................................................................. 6 Technical specification ..................................................................................................................................... 7 Functional summary....................................................................................................................................... 10 Ordering information ...................................................................................................................................... 14 Anti-static handling......................................................................................................................................... 14 RoHS compliance .......................................................................................................................................... 14 Related documentation .................................................................................................................................. 14
2:
Installation ............................................................................................. 15 System requirements ..................................................................................................................................... 15 Jumpers and connectors................................................................................................................................ 16 Card and software installation........................................................................................................................ 20 Cable assemble ............................................................................................................................................. 21
3:
Recording options .................................................................................. 22 Single channel recording ............................................................................................................................... 22 Multi-channel recording modes ...................................................................................................................... 22 Frame rates ................................................................................................................................................... 24 Frame type encoding ..................................................................................................................................... 24 Video Bit Rate control .................................................................................................................................... 24
A:
Contacting AMP ...................................................................................... 26
© 2009 Advanced Micro Peripherals Document version A.02
3
1: Introduction The MPEG4000WA is a 4-channel multi-format MPEG-4, MPEG-2 or M-JPEG codec on a single PC/104-Plus form factor. The MPEG4000WA not only provides video compression but can also decompress and playback recordings from storage to display. Utilizing the 32-bit PCI architecture, the MPEG4000WA 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, motion detection and digital water marking on all four channels. The high performance video image compression enables up to four MPEG4000WA cards to be fitted in a single 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 MPEG4000WA. Please contact our Sales team (see A: Contacting Advanced Micro Peripherals, page 26) to discuss your requirements.
© 2009 Advanced Micro Peripherals Document version A.02
4
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
Features ▪
Four asynchronous live inputs selectable from 8 video inputs.
▪
Live input from NTSC/PAL.
▪
1 x D1 size MPEG-4, MPEG-2, M-JPEG encode at full frame rate.
▪
2 x D1 size MPEG-4, MPEG-2, M-JPEG encode at ½ frame rate
▪
4 x D1 size MPEG-4, MPEG-2, M-JPEG encode at ¼ frame rate.
▪
4 x CIF size MPEG-4, MPEG-2, M-JPEG encode at full frame rate.
▪
MPEG-4, MPEG-2, M-JPEG decode/playback.
▪
Full graphics overlay.
▪
Motion detection available on all channels.
▪
128bit HMAC watermark authentication for all channels.
▪
Real-time video preview to system VGA and analog NTSC / PAL output.
▪
Up to four MPEG4000WA 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-(2000, XP, XP Embedded) and Linux.
▪
Single +5V operation.
▪
Compact 3.6" x 3.8" PC/104-Plus stackable card.
© 2009 Advanced Micro Peripherals Document version A.02
5
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
MPEG4000WA ‘at a glance’ Jumpers for IDSEL card and PCI card interrupt selection
16-bit PC/104 bus connectors
© 2009 Advanced Micro Peripherals Document version A.02
PC/104-Plus bus
Input / output for NTSC / PAL video and audio
6
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
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 Two software selectable video sources per channel Software selectable brightness, contrast and saturation control. 1V peak-to-peak (75Ω input impedance).
Video compression: MPEG-4 ASP @ Level5 (ISO/IEC 14496-2) MPEG-2 Main Profile @ main level (ISO/IEC 13812-2) MJPEG Baseline 1 4 1 4 4
channel NTSC full D1 (720x480) at 30fps channels NTSC CIF (352x240) at 120fps channel PAL full D1 (720x576) at 25fps channels PAL CIF (352x288) at 100fps channels NTSC/PAL full D1 at reduced frame rates
Programmable quantization value Constant Bit Rate (CBR), Variable Bit Rate (VBR) support Supports I, P frame compression for MPEG-2 and MPEG-4 MPEG-1 and H.263 are also supported by the hardware (but not currently supported by the SDK) Latency:
NTSC video - 180ms (max). Measured 90ms to 170ms during recording with average of 130ms. Single channel at D1, full frame rate, VBR, Q=5 data output at ≈ 1.5MBits/s PAL video - 250ms (max). Measured 150ms to 240ms during recording with average of 180ms. Single channel at D1, full frame rate, VBR, Q=5 data output at ≈ 2.2MBits/s
Audio input:
© 2009 Advanced Micro Peripherals Document version A.02
Four channel mono input Voice quality mono or microphone sound input per channel (1Vrms)
7
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
Provides Audio/Video synchronization Audio compression: Supports ADPCM PCM at 32kbps per channel uLaw PCM @ 64Kbps MPEG-1 Audio Layer2 (MP2) encoding is supported by the hardware (but not currently supported by the SDK)
Overlay:
Full bit mapped graphics overlay with options for 0, 25, 50 and 75% alpha blending between the video and overlay data.
Motion detection:
1350 (NTSC) or 1620 (PAL) detection blocks. Masking of areas not required for motion detection. Adjustable sensitivity
System file record: AVI format. MPEG-4 files may also be recorded as MP4 or M4V files. File playback:
MPEG-4 files: Windows Media Player (with MPEG-4 video compliant decoder such as DivX). MPEG-2 & M-JPEG files: Windows Media Player with ffdshow.
PC/104-Plus:
133MB/sec bus bandwidth. PC/104-Plus bus master/initiator. Universal add-on board compliant with 3.3V and 5V PC/104-Plus bus signaling Jumper-selectable PC/104-Plus stack level
Power:
Single +5V @ 1.2A (max). (data based on simultaneous encoding on 4 channels with encoder outputs active)
Environmental:
© 2009 Advanced Micro Peripherals Document version A.02
0ºC to 60ºC. -40ºC to +85ºC (-EXT option).
8
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
Reliability data:
MTBF figures calculated at 30ºC (to MIL-HDBK-217F) as follows:Ground Benign = 220,000 hours
Physical size:
Standard 3.6" x 3.8" PC/104-Plus stackable card form factor.
© 2009 Advanced Micro Peripherals Document version A.02
9
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
Functional summary
Signal sources The MPEG4000WA 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 MPEG4000WA features a video frame grabber and an audio digitizer. Each frame grabber contains a digital NTSC/PAL video decoder with a built-in 2-input video multiplexer. Therefore each channel of the MPEG4000WA is able to route in one-of-two analog video sources under software control and each video channel has an associated audio input. Up to 8 video sources can therefore be monitored using a single MPEG4000WA controller. A single audio input is associated with each live video channel.
Video digitization Composite NTSC or PAL video is input to the MPEG4000WA 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 generates the correct timing output signals. Each
© 2009 Advanced Micro Peripherals Document version A.02
10
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
video channel is first decoded to chrominance and luminance signals and then digitized by high speed 10 bit analog-to-digital (A2D) converters. The A2Ds output are passed to an internal digital video frame store controller where scaling, filtering, interpolation and channel re-timing operations are performed prior to encoding.
Digital video frame store controller The Quad Frame Store Controller (QFSC) contains 32 Mbytes of high speed SDRAM memory used as Frame Stores for each of the 4 digitized video channels. The QFSC co-ordinates the transfer of asynchronous video streams into the Frame Store and synchronous reading of all 4 channels to the encoding engine.
Real time live video encoding Digital video data streams from the frame store are managed by the video encoder engine where the video can be compressed as either MPEG-4, MPEG-2 or M-JPEG under the selection of a user API. Each of the video channels can be compressed to a separate video stream resulting in 4 separate video streams which can be written to disk (or LAN) as separate files. These streams can be either CIF resolution at full frame rate or full D1 at quarter frame rate. Alternatively, each of the channels can be regarded as occupying 1 quadrant of the picture frame thus allowing the four channels to be encoded to a single video stream or file. The encoding engine continuously encodes the video streams and uses the PC/104-Plus bus Master/Initiator interface to transfer data across the PCI bus to the system memory or disk. The measured latency for video compression is specified in the Technical Specifications section.
Video Preview The MPEG4000WA 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.
Real time MPEG-4 video decoding / playback The MPEG4000WA can also receive 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 digitalto-analog converter and then encoded to analog composite video as either NTSC
© 2009 Advanced Micro Peripherals Document version A.02
11
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
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 720x480 (NTSC) or 720x576 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 host system display controller, the MPEG4000WA also provides a composite NTSC/PAL playback output suitable for directly driving a PAL/NTSC or RS170 display device.
OSD Graphics Overlay The MPEG4000WA has a bit-mapped graphic overlay feature which allows text and graphics to be overlaid onto the incoming video prior to recording. This is a useful feature for applying real-time annotation and labeling to Preview and video recordings. The MPEG4000WA provides various layers of overlay such as bitmap (720x480 for NTSC and 720 x 576 for PAL), box and 2D box array overlay and mouse pointer which can be overlaid on Preview and record paths independently. The box overlay layer allows up to 4 boxes (of any size and position) to be located on the screen using a palette of 64 colors and with 4 levels of alphablending. This feature can be useful for highlighting areas of text or key information. The mouse pointer layer enables a single pointer shape to be positioned anyone within the screen area. Video source information such as camera reference, location, time and date information can easily be overlayed on both preview and recordings. Information updates are only guaranteed to be completed within 2 frames (although in most cases, the update will be completed in less than one frame). Motion Detection and Event Triggers The MPEG4000WA supports automatic motion detection on a per channel basis. The ‘sensitivity’ of the motion detection can be set independently per channel. The board also allows ‘regions of interest’ to be defined by selecting or masking the macro-blocks (each macro-block is 16 x 16 pixels) of interest. Using the motion-detection feature, the MPEG4000WA 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 MPEG4000WA allows recording of pre-trigger, on-trigger and post-trigger events.
© 2009 Advanced Micro Peripherals Document version A.02
12
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
Watermark Authentication The MPEG4000WA features a powerful, patented watermarking algorithm for the authentication of recordings. Invisible watermarks are generated using a 128bit HMAC (Hash Message Authentication Code) and are embedded in the recording. This secure digital watermark enables any subsequent spacial or temporal tampering to be detected during video playback.
Host interface The MPEG4000WA has a full 32-bit PC/104-Plus (PCI Rev 2.1) host interface to the host computer. On board jumpers allow the MPEG4000WA to be configured for any of the 4 logical PC/104-Plus stack levels of the host computer.
© 2009 Advanced Micro Peripherals Document version A.02
13
1
1:
Introduction
MPEG4000WA Hardware Reference Manual
Ordering information The following part number(s) can be used when ordering: MPEG4000WA
4 channel MPEG-4, MPEG-2, M-JPEG video codec.
MPEG4000WA-EXT Extended temperature (-40ºC to +85ºC) 4 channel video codec. Cable-MP4WA
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 MPEG4000WA is RoHS compliant.
Related documentation The following documentation and software may be of use whilst reading this guide:
▪
MPEG4000WA Video Recording SDK Software Reference Manual.
▪
MPEG4000WA Video Streaming SDK Software Reference Manual.
© 2009 Advanced Micro Peripherals Document version A.02
14
2: Installation System requirements Computer form factor
PC/104-Plus
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.
© 2009 Advanced Micro Peripherals Document version A.02
15
2
2:
Installation
MPEG4000WA Hardware Reference Manual
Jumpers and connectors The following diagram shows the location of the jumpers and connectors available on the MPEG4000WA: Factory use only – do not use LEVEL
JP4
© 2009 Advanced Micro Peripherals Document version A.02
JP3
PCI
VID1
Note: pin 1
16
2
2:
Installation
MPEG4000WA Hardware Reference Manual
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 MPEG4000WA. Pin-out details for the four channels are shown in the following tables.
Channel 1 Pin
Signal
Pin
Signal
1
Video-In A1
2
Video-In GND
3
Video-In B1
4
Video-In GND
5
Comp. Video
6
Video-Out GND
7
Audio-Out 1 Note 3
8
Audio-Out GND
9
Audio-In 1
10
Audio-In GND
Note 2
Channel 2 Pin
Signal
Pin
Signal
11
Video-In A2
12
Video-In GND
13
Video-In B2
14
Video-In GND
15
Not connected
16
GND
17
Audio-Out 2
18
Audio-Out GND
19
Audio-In 2
20
Audio-In GND
© 2009 Advanced Micro Peripherals Document version A.02
17
2
2:
Installation
MPEG4000WA Hardware Reference Manual
Channel 3 Pin
Signal
Pin
Signal
21
Video-In A3
22
Video-In GND
23
Video-In B3
24
Video-In GND
25
Not connected
26
GND
27
Not connected
28
GND
29
Audio-In 3
30
Audio-In GND
Channel 4 Pin
Signal
Pin
Signal
31
Video-In A4
32
Video-In GND
33
Video-In B4
34
Video-In GND
35
S-Video – Luma
36
Video-Out GND
37
S-Video – Chroma
38
Video-Out GND
39
Audio-In 4
40
Audio-In GND
Note 2
Note 2
NOTE 1: EVEN NUMBER PINS (2, 4, 6, 8, 10,) ARE GROUND RETURNS FOR THE CAMERA AND AUDIO SOURCES. AN OPTIONAL CABLE (CABLE-MP4-WA) IS AVAILABLE WITH PHONO PLUGS FOR CONNECTING CAMERAS TO THE COMPOSITE VIDEO INPUTS OF THE HEADER VID1. NOTE 2: COMP. VIDEO AND S-VIDEO OUTPUTS ARE CONFIGURED BY THE DRIVER SOFTWARE TO DISPLAY THE PREVIEW AND PLAYBACK VIDEO OUTPUTS (RESPECTIVELY). NOTE 3: THE STANDARD SOFTWARE DRIVERS SUPPLIED BY AMP ENABLES AUDIO TO BE CAPTURED ON ALL FOUR INPUT CHANNELS, HOWEVER THE DRIVER ONLY SUPPORTS AUDIO OUTPUT ON A SINGLE CHANNEL (1) FOR VIDEO PLAYBACK, I.E . AUDIO-OUT 2 IS NOT USED AS STANDARD.
JP3 and JP4 16-bit PC/104 bus connectors. These bus connectors are not currently used on the MPEG4000WA card except for routing signals to other PC/104 cards.
© 2009 Advanced Micro Peripherals Document version A.02
18
2
2:
Installation
MPEG4000WA Hardware Reference Manual
PCI Universal add-in board for PC/104-Plus bus. Standard 32-bit PC/104-Plus bus PCI Rev 2.1 compliant, 3.3V and +5V tolerant 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 MPEG4000WA on the PC/104-Plus stack. This setting routes the appropriate IDSEL, PCICLK, REQ and GNT signals to the MPEG4000WA Frame Grabber.
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
Default setting:
NOTE: WHEN USING MULTIPLE MPEG4000WA 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.
© 2009 Advanced Micro Peripherals Document version A.02
19
2
2:
Installation
MPEG4000WA Hardware Reference Manual
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 MPEG4000WA card on the PC/104-Plus stack.
The following configurations are valid. Jumpers
Interrupt INTA
Default setting:
INTB
INTC
INTD
Card and software installation Further instructions for using and installing the MPEG4000WA may be included on the CD-ROM. If you are using the optional video input cable (Cable-MP4-WA), this should be plugged into the VID1 connector to provide live video to the Video-In A1 input of the MPEG4000WA. If you are using a recent BIOS version and operating system, the MPEG4000WA should be detected automatically.
© 2009 Advanced Micro Peripherals Document version A.02
20
2
2:
Installation
MPEG4000WA Hardware Reference Manual
Cable assemble The MPEG4000WA may be supplied with the following breakout cable (CableMP4WA). 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 the Composite (CVBS) output Preview x1 audio output (white) – connected to Channel 1 audio output
© 2009 Advanced Micro Peripherals Document version A.02
21
3: Recording options Single channel recording The MPEG4000WA can perform recording of a single channel. In this mode, one channel is recorded at full D1 resolution at configurable frame rates.
Multi-channel recording modes The MPEG4000WA can operate in three modes when performing multi-channel recording. These are:
▪
Split channel mode.
▪
Merged channel mode.
▪
Multiplex channel mode.
In all of these modes there is the option to record only video or both video and audio.
© 2009 Advanced Micro Peripherals Document version A.02
22
3
3:
Recording options
MPEG4000WA Hardware Reference Manual
The following table shows the picture sizes supported for the channel modes under PAL and NTSC. Split channel mode
Merged or multiplexed channel modes
PAL
352 x 288 per channel
720 x 576 (default) or 720 x 288 (option)
NTSC
352 x 240 per channel
720 x 480 (default) or 720 x 240 (option)
Split channel mode In split channel mode, video from the four frame grabber channels 1, 2, 3 and 4 are 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 audio in the split channel mode. Each channel is recorded at CIF resolution.
Merged channel mode In merged channel mode, each of the channels is positioned in a quadrant of a full frame video and video encoding proceeds as if there were a single (composite) video frame. Thus the four channels are merged into the single frame (640x 480 for NTSC or 720 x 576 for PAL) and encoded to a single MPEG-4 file. NOTE: ONLY ONE AUDIO CHANNEL (SOFTWARE SELECTABLE) CAN BE RECORDED IN THE MERGED CHANNEL MODE.
Multiplexed channel mode In multiplexed channel mode, video from the 4 frame grabber channels 1, 2, 3 and 4 are 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 audio in the Multiplexed Channel Mode. Each channel is recorded at full D1 resolution.
© 2009 Advanced Micro Peripherals Document version A.02
23
3
3:
Recording options
MPEG4000WA Hardware Reference Manual
Frame rates The default frame rates are 29.97fps and 25fps for NTSC and PAL respectively. However, for increased flexibility the frame rate can be selected simply by defining the number of inputs frames for each output frame (for example, 1/1 is full frame rate, 2/1 means 2 inputs for each output, i.e. ½ frame rate etc).
Frame type encoding The MPEG4000WA supports two frame encoding schemes within the encoder parameters 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 256.
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 two bit rate control schemes – Variable Bit Rate (VBR) or Constant Bit Rate (CBR). With VBR, the Quantization value (default of 5) can be set between 1 and 31 (for MPEG-4 & MPEG-2) or 1 and 100 (for M-JPEG) to optimize efficiency for a particular application (with 1 being highest 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 MPEG4000WA 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. 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.
© 2009 Advanced Micro Peripherals Document version A.02
24
3
3:
Recording options
MPEG4000WA Hardware Reference Manual
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 MPEG4000WA TO MEET THE SET BIT RATE ONCE THE PICTURE SIZE, FRAME RATE AND I PICTURE INTERVAL ARE FIXED.
© 2009 Advanced Micro Peripherals Document version A.02
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 Advanced Micro Peripherals Inc. Suite 424 234 5th Ave New York, NY USA 10001
Sales office UK Advanced Micro Peripherals Ltd. 1 Harrier House, Sedgeway Business Park Witchford, Cambridge, CB6 2HY United Kingdom
Tel: +1 212 951 7205 Fax: +1 212 951 7206 E-mail:
[email protected] Web: www.amp-usa.com
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 E-mail:
[email protected] © 2009 Advanced Micro Peripherals Document version A.02
Technical support UK E-mail:
[email protected]
26