Altera Home Page
文档资料 许可
在线购买 下载

  主页   |   产品   |   支持   |   最终市场   |   技术中心   |   教育与活动   |   公司介绍   |   在线购买  
  汽车   |   广播   |   计算机和存储   |   消费类   |   工业   |   医疗   |   军事和航空航天   |   测试和测量   |   无线通信   |   有线通信  

 广播最终市场
      行业发展趋势
  
 视频制作
   产品介绍
  
 视频传输
   传输中心
          DTV Demodulator
          DTV Decoder
          DTV Encoder
          DTV Modulator
          Digital Cable QAM
  
 广播解决方案
      HD质量解决方案
      1080p视频工作台
      3G SDI
  
 资源
      相关组织
      常用术语
      资料
  

DTV Video Encoder

Video encoders compress the raw video data for efficient storage or transmission. Video encoders are used in applications such as digital TV transmitters, video conferencing systems, video servers, and DVD recorders. MPEG2 is the most popular encoding scheme and works well for standard definition video. However, the video industry’s move towards high-definition (HD) video creates a need for more efficient compression schemes to handle much higher data rate HD requirements. In response, the Moving Picture Experts (MPEG) and the ITU Video Coding Experts Group created a next-generation compression scheme called H.264/MPEG4 AVC, which handles HD data rates more effectively.

MPEG Encoder

An MPEG encoder receives raw video in digitized red-green-blue (RGB) or serial digital interface (SDI) format and outputs compressed video. The video compression schemes take advantage of the fact that humans cannot notice the differences in colors from frame-to-frame and there is very little change between consecutive frames in a video sequence. Figure 1 shows the components of a typical MPEG encoder.

Figure 1. H.264 MPEG Encoder Block Diagram

Figure 1. H264 Encoder

Motion estimation/compensation blocks identify parts of the frame that have changed or moved from the preceding frame and codes only the changed parts. Starting this process requires a frame entirely coded within itself and is not dependent on other frames. Such a frame is called an Intra-coded frame (I-frame). The following frames are predicted from the I-frame using motion compensation:

  • Predicted frame (P-frame)
  • Bidirectional predictive frame (B-frame)

An I-frame typically requires more bits for encoding than a P- or a B-frame as it needs to be independently encoded/decoded. A group of pictures (GOPs) is a sequence of pictures from one I-frame to the next. The GOP size defines the overall bit rate required for transmission of a video sequence. A longer GOP means fewer I-frames and hence lesser bandwidth is required and vice versa. However, longer GOP-sized video sequences can be more vulnerable to transmission errors.

The discrete cosine transform (DCT) recognizes that adjacent pixel values within a frame are similar and hence redundant for transmission. DCT typically takes 8 x 8 blocks of pixels within a frame called macro blocks and transforms them into the frequency domain. The newer H.264 standard allows different sized blocks of pixels ranging from 16 x 16 to 4 x 4 pixels.The output of the DCT is an 8 x 8 matrix of frequency coefficients. By converting the pixel values to the frequency domain, the data redundancy is more easily observed. The average of these coefficients, called DC or Zero coefficients, is then calculated. The remaining coefficients are then expressed with respect to the Zero coefficient. The adjacent pixel values are similar within a macro block and therefore most of these coefficients become zero, making it redundant to transmit or store these values.

The next step is the quantization of the transformed coefficients in which each sample coefficient is rounded off to the closest digital value from a set of discrete digital values.

Encoding follows quantization. Compression schemes typically use entropy encoding techniques which are lossless coding techniques to code the quantized transform coefficients. Variable length coding (VLC) or binary arithmetic coding (BAC) are two types of entropy coding techniques used commonly in the MPEG4/H.264 schemes. VLC assigns different length codes to data elements. More frequently occurring elements are assigned shorter length codes while less frequently occurring elements are assigned longer codes, reducing overall data bits. BAC codes the whole pattern or message instead of each element or symbol. The H.264 standard uses both context adaptive VLC (CAVLC) and context adaptive BAC (CABAC) techniques.

The H.264/MPEG4 compression scheme has different profiles for different applications. The H.264 standard's main profile is best suited for broadcast applications where quality is maintained with limited transmission bandwidth. Conversely, video conference applications require low latency, so the H.264 standard baseline is preferred.

Related Altera and Partner IP

Altera has partnered with intellectual property (IP) developers who are experts in video coder/decoder (CODEC) solutions and offer solutions for different application markets such as video broadcast, video surveillance, and conferencing systems. Altera also offers the video and image processing library, which includes a number of functions required for video coding and processing. 

Feature-Rich Programmable Solutions for Video Encoders

The feature-rich architecture of the Stratix® II (with HardCopy® structured ASIC versions available) and Stratix II GX device families provides excellent solutions for implementing video CODECs. These programmable device families provide flexibility, performance, integration, and design resources that are not available in any other solution.

The Stratix II device series uses a high-performance architecture that accelerates block-based designs for maximum system performance. Stratix II devices include high-performance digital signal processing (DSP) blocks to implement DSP functions such as DCT, up to 9 Mbits of embedded TriMatrix memory, up to 180K equivalent logic elements (LEs), and flexible I/O standard support. The Stratix II series feature set provides an ideal solution for implementing video pre-processing functions and video compression.

The Stratix II GX device family includes up to 20 full-duplex transceiver channels that support HD SDI rates of 1.485 Gbps. Built on the Stratix device architecture, Stratix II GX devices include the TriMatrix memory and LE resources needed for SDI input data processing functions (such as framing, de-scrambling, and clock signal synchronization). Refer to the Using Stratix II GX in HDTV Video Production Applications white paper (PDF) for more information.

Related Links

 
Ateme’s Broadcast Quality H.264 Encoder

SDI MegaCore Function

ASI MegaCore Function

   
注册索取最新邮件通知

Learn About Altera's HD Quality Initiative

  请填写反馈意见
  注册索取最新邮件通知