Android IOS WebRTC Audio Video Development Summary (82)--VP8 to VP9, quality or bitrate?

Source: Internet
Author: User

This article mainly introduces VP9 (we translate and collation, translator: Weizhenwei, check: Blacker), the earliest published in the "Weaving wind net"

Support original, reprint must indicate the source, welcome attention to my public number blacker (Id:blackerteam or WEBRTCORGCN).

VP8 and VP9 are video codecs developed and driven by Google. Until recently, this prompted me to have a series of interesting conversations with the clients around me: Do I use VP9? When to use VP9? Should we replace VP9 with H.

This VP8 on VP9 often leads to misunderstanding, so let me sort things out first.

The first thing to put in front:

1.VP8 is currently the default video codec for WEBRTC. More than 90% of WEBRTC video sessions use VP8.

2.VP9 is officially available from Chrome 49, but it's not WEBRTC's default video codec.

3.vp8 and H.

4. From video compression quality, VP9 is better than VP8.

5.VP8 video compression consumes less CPU resources.

With these facts in mind, the following conclusions can be drawn:

You can choose to migrate to VP9 for one of the following two things (or all):

1. Improve the quality of your video experience.

2. Reduce the bitrate required for video.

Well, let's take a look at these two choices.

1. Improve the quality of video experience

If you are satisfied with the bandwidth you need for your service, you will get better video quality by using VP9 instead of VP8 for video codec in the same amount of bandwidth.

When is this useful?

· When the user's available bandwidth is limited. Imagine a bandwidth of up to a few Kbps or less-such as a cellular network or congested network.

· When you plan to support a higher resolution or better camera.

2. Reduce the bitrate required for video

Another option is to use VP9 for video codec, but at the same time maintain the video quality at the original VP8 level. Because the VP9 is more efficient, it can reduce the bitrate while maintaining the same video quality.

When is this useful?

· When you want to develop low-level markets, expand your business to bandwidth-constrained areas. It was envisaged that a service from the developed countries would be extended to developing countries.

· When you want to serve corporate customers, and the customer needs to initiate multiple parallel video conferences from the same device. In this case, Internet bandwidth becomes quite scarce.

WebRTC default how to deal with the bitrate/quality relationship?

Some things are often overlooked. I knew these things decades ago, but then I forgot about them, and I didn't remember them until recently. At that time I was online to compare WebRTC's VP8 and VP9.

The standard practice for enterprise video conferencing is to never use more resources than needed. If you try to send a VGA-resolution video, then any reputable conferencing system will not generate more than 1Mbps of bitrate-actually less than that. The reason for this is from the target market and time selection.

Corporate video conferencing has existed for more than 20 years. At the beginning of its birth, 1 Mbps Bandwidth conferencing connectivity is what most businesses dream of. Companies that purchase video conferencing devices need to support multiple video conferencing sessions in parallel between devices, while maintaining a reasonable internet connection for each company employee. A common practice, for example, is that when quarterly analyst meetings are held, the company reduces the number of Internet connections for ordinary employees to ensure that network bandwidth is properly allocated for videoconferencing.

Until today, most businesses with legacy video conferencing systems limit the rate of WEBRTC in browsers because of the above reasons.

However, WEBRTC is based on the development of Internet thinking. In the Internet world, you get what you give. This is why WEBRTC less handles the maximum bandwidth limit and more attention to available bandwidth. You will find that chrome consumes up to 1.77 Mbps bandwidth when using VP8 encoded VGA video.

The difference means that when you turn to VP9, WEBRTC will improve the quality of the video experience without affecting your original part.

Here's one thing to note: Back-end video processing is more sensitive to bandwidth changes and still requires throttling bandwidth based on a single video session.

All magic needs a price.

We haven't even discussed the SVC, it looks more like magic. You turn from VP8 to VP9, and life is better.

However, like all magic, VP9 's goodness is a price to pay. First, VP9 is less stable than VP8. Although this will be improved in the future, you should now consider the following challenges:

· If you think VP8 is very resource-intensive, VP9 also consumes more resources (CPU).

· VP9 has not yet implemented hardware acceleration, which will be a challenge. (VP8 also doesn't usually support hardware acceleration, but we're dealing with it)

· I guess the mobile sector may not be very welcoming to VP9, but not quite sure.

· Microsoft Edge Browser will not support VP9 in the near future. (If you care about this)

Sometimes I'm willing to pay the price--it all depends on the application scenario.

Translator: Weizhenwei, detailed see: " weaving wind net "

Android IOS WebRTC Audio Video Development Summary (82)--VP8 to VP9, quality or bitrate?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.