A Brief Analysis of the Three Mainstream HD Video Codec Technologies in the Market

Publisher:TranquilMindLatest update time:2009-10-11 Source: 硬派网 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

As we all know, compared with standard-definition videos such as RMVB and DVD, the playback of high-definition videos undoubtedly requires higher computer hardware requirements.

1. Let's first look at how high-definition video improves requirements:

(I) The first is the increase in video traffic. This is the most intuitive improvement factor. We can refer to the table below. The table simply presents the traffic comparison of "video source", but in fact, the "different formats" of high-definition video determine the difference in traffic.

It can be seen that the data flow of DVD video is only about 9.5Mb/s, but the highest Blu-ray can reach more than 40Mb/s, which is more than 4 times higher. This is undoubtedly a major reason for the improvement in hardware configuration, because the amount of data that needs to be processed has increased a lot.

(ii) The second is the complexity of the encoding format. We know that each encoding format has its own algorithm. An excellent algorithm can compress the video to a smaller size, but restoring this algorithm requires stronger computing power. The H.264 high-definition encoding format is a typical representative. Perhaps some readers will encounter some high-definition videos, but the playback requirements are not high. It may be that it uses some simple algorithms, such as the Mpeg2 high-definition encoding format, but when encountering an encoding format similar to H.264, it will not be able to play smoothly.

Now it seems that H.264 has gained wide support due to its excellent algorithm. Although its algorithm is complex, it can achieve the highest compression while minimizing the loss of video details. Therefore, if you want to play high-definition videos smoothly in the future, H.264 encoding video is a test that must be passed. Of course, we cannot ignore VC-1 encoding, which is a coding format strongly promoted by Microsoft and has also been widely supported. Although its requirements are slightly lower, it also causes "playback difficulties" on many mainstream computers. As for Mpeg2 high-definition encoding, its requirements are very low and its future development prospects are not outstanding.

Let's take a look at how these codes are processed on computers. The processing of video encoding is generally divided into several steps, each step will complete the corresponding task, and these steps will also exist during decoding, so as to achieve smooth playback of the film. So who will handle these tasks? In the early days on computers, most of the steps of decoding and playback were handled by the CPU, that is, the processor software decoding (hereinafter referred to as soft decoding) playback, which is why the CPU usage rate is very high.

Simply put, any mainstream computer, even a few years ago, can play all the previous standard-definition videos without any problems using processor software decoding. Among high-definition videos, Mpeg2 high-definition encoded videos have the lowest requirements, followed by VC-1 encoded videos, and the most demanding H.264 high-definition videos may cause many old computers to be unable to play smoothly.

Although hardware is developing rapidly now, users can use high-end quad-core processors to control the CPU usage of HD soft decoding playback to less than 50%, but the price of such processors is very high, and the installation cost increases significantly. Although dual-core processors are much cheaper, the CPU usage of soft decoding playback may be very high, even to the point where it cannot be played smoothly.

If you want to reduce the burden on the CPU, you must have another accessory to take over the encoding processing work, and the graphics card is naturally the best choice, that is, the engine in the graphics card replaces the CPU to complete the video decoding processing task, thereby releasing the CPU load. As a general-purpose processor, the CPU has limited efficiency in video decoding, but the graphics card can directly integrate the video decoding engine into the hardware, thereby achieving extremely high efficiency.

[page]

2. HD video encoding process

So what are the steps of high-definition encoding, and which part has the highest load? Taking H.264 video as an example, it is divided into four main parts (see the figure below). The four blocks in the figure are basically the four most important steps of H.264 decoding, and also the four main parts of resource consumption. Among them, the first step "CAVLC/CABAC decoding" consumes the most computing resources, which is far higher than the other three steps (in short, CAVLC/CABAC are two different algorithms in the H.264 encoding specification, in order to improve the compression ratio, CABAC has a higher compression rate than CAVLC, but the decoding requirements are naturally higher).

3. HD video decoding process

Let's take a look at the decoding process comparison of the three mainstream encoding formats, including Mpeg2, VC-1, and H.264 (see the figure below). It can be seen that there are still many differences between the encoding formats, which is also the reason for the different requirements of the encoding formats. The H.264 encoding format is the most complex, so the system requirements are the highest, and VC-1 is slightly lower, but still much higher than Mpeg2.

Other encoding formats are similar to H.264.

[page]

4. Analysis of HD decoding resource consumption

So which step consumes the most CPU usage? The following test comparison should be the best explanation (see the figure below). The compared videos include Mpeg2 and H.264 (AVC), which involve all four steps we mentioned above. Obviously, "stream processing" is the most processor-intensive part of all encoding formats, but this part of Mpeg2 video does not cause much trouble because the CPU usage is less than 2%.

However, problems arise for H.264. The video stream processing at a 20Mb/s encoding rate will reach a considerable CPU usage rate. The 40Mb/s high encoding rate video is even more exaggerated. The CPU usage rate rises very quickly during the stream processing process. Combined with other processing, it is not surprising that the total CPU usage rate is very high.

As mentioned above, the processing components of these four steps are different, mainly the CPU and graphics card. In the past, the CPU had a high occupancy rate because it processed more steps. Therefore, if the graphics card can take on more decoding steps, the CPU can release more load to ensure smooth video playback.

The following figure shows the H.264 decoding process. If the graphics card does not take on any steps (the first line of the diagram), the CPU usage rate is very high, and the video cannot be played smoothly at all. If the graphics card can implement the decoding process of the last two steps (the second line of the diagram), the CPU can be partially freed up, but some graphics cards cannot implement the more critical and most loaded "stream processing", so the CPU usage rate has decreased, but it is still high.

With a graphics card that has an H.264 hardware decoding engine, all four processing steps of H.264 encoding can be completed (the third line in the diagram), that is, full decoding can be achieved. This is the fundamental reason why they can significantly reduce the CPU usage of H.264 HD video playback. Since the graphics card has completed all the HD decoding processing, the CPU is naturally idle. What we call partial decoding means that the CPU still undertakes certain processing tasks, so the usage rate is still much higher.

Reference address:A Brief Analysis of the Three Mainstream HD Video Codec Technologies in the Market

Previous article:High-efficiency LED backlight driver power solution based on AP3031
Next article:MG3500 System-on-Chip Supporting H.264 HD Codec

Recommended ReadingLatest update time:2024-11-16 22:26

HDMI to VGA with audio output solution without HCDP function CS5203 | CS5203 design information
Capstone's CS5203 is an HDMI to VGA conversion chip without HDCP KEY. The difference between it and CS5213 is that the CS5213 chip integrates on-chip HDCP 1.4 KEY and supports HDCP 1.4 specifications. The following is a detailed introduction to the functions and parameter characteristics of CS5203 Ca
[Embedded]
HDMI to VGA with audio output solution without HCDP function CS5203 | CS5203 design information
Choosing the right test platform simplifies debugging and verification of HDMI devices
The High Definition Multimedia Interface ( HDMI ) technology , which is called the catalyst of the DTV revolution, is about to see the dawn of large-scale applications. Under the HDMI standard, content providers, system operators and consumer electronics (CE) manufacturers are engaged in a tug-of-war. This ha
[Test Measurement]
Choosing the right test platform simplifies debugging and verification of HDMI devices
HDYZ-102 arrester monitor tester operation reference wiring
Reference wiring Please pay attention to safety when wiring under live conditions. Please ensure that the test wire clip is in reliable contact with the test object. If there is any rust or oxide layer, please clean it before connecting. 5.1. For current calibration wiring (as shown below), connect the test output
[Test Measurement]
HDYZ-102 arrester monitor tester operation reference wiring
Ballard Launches Heavy Duty Power Module FCmove-HD+ with Smaller Size and Higher Efficiency
According to foreign media reports, Ballard, a global leader in fuel cell technology, announced the launch of a new heavy-duty power module FCmove™-HD+ with a power output of 1000kW. Compared with previous generations of products, the latest power module is smaller in size and lighter in weight, but more efficient a
[Automotive Electronics]
Ballard Launches Heavy Duty Power Module FCmove-HD+ with Smaller Size and Higher Efficiency
Software startup mode causes IWatchDog to fail
Problem: This problem was raised by a customer and occurred on the STM32F103VET6 device. According to its engineers, STM32 is used in its products and has been mass-produced. Among the products sent to its customers, some of them failed to start. After on-site testing, its engineers found that the HSE of STM32 did not
[Microcontroller]
In-depth exploration of HD technology in video system design
The much-anticipated digital video revolution is now well underway. In recent years, advances in technology have enabled new video capabilities to be found in a wide range of devices, from cell phones and MP3 players to video walls and billboards. With the demand for digital video so high and innovations emerging, syst
[Industrial Control]
Panasonic and Nissan jointly develop smart interior rearview mirror with high HDR and flicker suppression
CINNO Research Industry News, Panasonic and Nissan Motor have jointly developed the "Intelligent Room Mirror (electronic rearview mirror)", which can not only greatly improve image clarity and nighttime visibility, but also control the flicker phenomenon generated by the LED lights of the rear vehicles.     Accor
[Automotive Electronics]
Panasonic and Nissan jointly develop smart interior rearview mirror with high HDR and flicker suppression
WiSA E innovative technology allows TVs to transmit multi-channel audio without HDMI cables
WiSA E innovative technology allows TVs to transmit multi-channel audio without HDMI cables New embedded software provides TV manufacturers with a low-cost, feature-rich immersive audio solution BEAVERTON, OR, USA — March 16, 2023 — WiSA Technologies, Inc., a leading provider of
[Analog Electronics]
WiSA E innovative technology allows TVs to transmit multi-channel audio without HDMI cables
Latest Home Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号