System and method for automatically adjusting key frame quantization parameters and frame rate

By automatically adjusting the quantization parameters and frame rate in the real-time video communication system, the problem of screen sharing clarity and sharpness is solved, dynamic adjustment based on network conditions is achieved, the requirements for low latency and low bandwidth are met, and the user experience is improved. .

CN115529300BActive Publication Date: 2024-09-10AGORA LAB INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210117596.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-02-10
Filing Date
2022-02-08
Publication Date
2024-09-10
Estimated Expiration
2042-02-08

AI Technical Summary

Technical Problem

In real-time video communication, the clarity and sharpness of screen sharing cannot meet user needs, and existing technology cannot adjust encoding components in real time according to network bandwidth, resulting in delays and bandwidth requirements not being effectively met.

Method used

Through a dedicated software application in the real-time video communication system, the quantization parameters and frame rate of screen sharing are automatically adjusted, and the quantization parameters and frame rate are dynamically adjusted according to network bandwidth conditions to improve the clarity and low-latency performance of screen sharing.

Benefits of technology

It realizes automatic adjustment of quantization parameters and frame rate according to network conditions in real-time video communication, improves the clarity and sharpness of screen sharing, meets the needs of low latency and low bandwidth, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529300B_ABST
    Figure CN115529300B_ABST
Patent Text Reader

Abstract

The present invention provides a new real-time video communication system and method, which improves the clarity of screen sharing by automatically adjusting the quantization parameter value of the key frame. This adjustment is based on the network bandwidth. When the network bandwidth situation deteriorates, the quantization parameter value of the key frame will be further reduced based on the value calculated by the H.264 encoder to obtain a more suitable quantization parameter value, thereby achieving an ideal user experience of screen sharing. In addition, the new real-time video communication system and method will also adjust the frame rate of screen sharing based on the current quantization parameter value to achieve a more ideal user experience of screen sharing.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] none Technical Field

[0003] The present invention generally relates to the field of real-time video communication, and more particularly, to a system and method for real-time video communication for screen sharing, and more particularly, to a real-time screen sharing system for automatically adjusting quantization parameters and frame rates. Background Art

[0004] In a real-time video communication system, audio and video data are exchanged between the participating electronic devices (such as laptops, desktop computers, tablets, smartphones, etc.). Real-time video communication systems usually follow industry standards such as H.264. H.264 (also known as Advanced Video Coding, or MPEG-4 Part 10: Advanced Video Coding) is a video compression standard based on prediction, transform, quantization and entropy coding, jointly developed by the Moving Picture Experts Group (MPEG) of the International Telecommunication Union (ITU) and the International Organization for Standardization (ISO) / International Electrotechnical Commission (IEC). It is also further standardized by the ITU-T Video Coding Experts Group (VCEG) of Study Group 16 and the ISO / IEC JTC1 Moving Picture Experts Group.

[0005] During a real-time video communication session (such as a video conference), each participating electronic device captures audio data using a microphone device and captures video data using a camera device or a screen capture program. The received audio data is played through a speaker device, and the received video data is played on a display device. People hope that the real-time video communication system can exchange data in real time, and the delay can be negligible, so as to obtain an ideal user experience. The real-time performance of the real-time video communication system is crucial to users.

[0006] During a real-time video communication session, participants often need to share the computer screen of one of the participants. For example, the content displayed on the display screen of the first device is sent to and displayed on the display screens of other participating devices. Screen sharing is a common function in real-time video communication. Screen sharing has its own unique characteristics. The screen display usually contains text, drawing lines, and other graphic elements, so for the viewer (that is, other participants besides the person sharing his computer screen), a higher definition is required than the video frame captured by the camera. For example, we don't want the shared content displayed on the receiving device to be intermittent. For another example, we don't want to see the displayed fonts are blurred. In addition, the content of the shared screen usually does not change frequently, which is different from the camera view. Therefore, the amount of video data sent by the shared screen to other participating devices is generally less than that of a camera video call with the same resolution and frame rate.

[0007] Therefore, a new system and method are needed to improve the clarity and sharpness of screen content in screen sharing according to the characteristics of screen sharing. In addition, the status of the underlying communication network (such as Wi-Fi connection and the Internet) of the real-time video communication system will also change in real time. The network bandwidth is constantly changing. Therefore, a new system and method are needed to automatically reconfigure the shared screen encoding components according to the network conditions to obtain high screen clarity. In addition, the technology should also be able to meet the requirements of low latency and bandwidth in screen sharing. Summary of the invention

[0008] In general, the present invention provides a method for automatically adjusting quantization parameters in screen sharing according to network bandwidth conditions in a real-time video communication system based on various embodiments. The method is performed by an electronic device of the real-time video communication system. The method includes: setting an initial value for a screen sharing key frame quantization parameter by a dedicated real-time video communication software application running on the real-time video communication system electronic device. The real-time video communication system electronic device includes a processor; a memory that can be effectively coupled to the processor; an input interface that can be effectively coupled to the processor; an audio output interface that can be effectively coupled to the processor; a network interface that can be effectively coupled to the processor; a video output interface that can be effectively coupled to the processor; a video input interface that can be effectively coupled to the processor; an audio input interface that can be effectively coupled to the processor; and a dedicated real-time video communication software application that can be run by the processor. The method also includes: determining the current bandwidth amount of the network connection. The real-time video communication system electronic device can share a display screen on the video output interface with a group of electronic devices in the real-time video communication system through a network connection. The method also includes: obtaining a quantization parameter of a key frame of screen sharing from a video encoder; using a dedicated real-time video communication software application to adjust the quantization parameter value obtained above to obtain an adjusted quantization parameter value; encoding the key frame of screen sharing using the adjusted quantization parameter value; setting the key frame as a long-term reference frame for other non-key frames; and sending the encoded key frame to the group of electronic devices via a network connection. For example, in one embodiment, the key frame of screen sharing is an instantaneous decoder refresh frame; the key frame quantization parameter is a quantization parameter of an instantaneous decoder refresh frame; and the video encoder is an H.264 encoder. In one embodiment, when the bandwidth amount is greater than 800 kbps, the dedicated software application adjusts the known quantization parameter value by subtracting 2 from the known quantization parameter value to create the adjusted quantization parameter value. When the bandwidth amount is between 800 kbps and 400 kbps, the known quantization parameter value is subtracted by 4; when the bandwidth amount is between 400 kbps and 200 kbps, the known quantization parameter value is subtracted by 6; when the bandwidth amount is less than 200 kbps, the known quantization parameter value is subtracted by 8.

[0009] In addition, according to the present invention, there is also provided a method for automatically adjusting the frame rate in screen sharing according to a quantization parameter in a real-time video communication system. The method is performed by an electronic device of the real-time video communication system. The method includes: setting an initial frame rate value for encoding of screen sharing by a dedicated real-time video communication software application running on the electronic device of the real-time video communication system. The electronic device of the real-time video communication system includes a processor; a memory that can be effectively coupled to the processor; an input interface that can be effectively coupled to the processor; an audio output interface that can be effectively coupled to the processor; a network interface that can be effectively coupled to the processor; a video output interface that can be effectively coupled to the processor; a video input interface that can be effectively coupled to the processor; an audio input interface that can be effectively coupled to the processor; and a dedicated real-time video communication software application that can be run by the processor. The method also includes: obtaining the quantization parameter value of a frame recently sent by screen sharing; dividing a group of intervals for the quantization parameter value; determining a group of frame rate adjustment values ​​corresponding to the interval of the quantization parameter value; selecting a corresponding frame rate adjustment value from the group of frame rate adjustment values ​​according to the current quantization parameter value; determining a new frame rate according to the current frame rate and the frame rate adjustment value; determining the sending time of the next frame according to the new frame rate; setting the new frame rate as the current frame rate; encoding the next frame; and then sending the next frame to a group of electronic devices in the real-time video communication system. For example, in one embodiment, the current quantization parameter value is obtained from a video encoder. In addition, the video encoder is an H.264 encoder. In one embodiment, the intervals of the group of quantization parameter values ​​include intervals from zero to twenty, twenty to twenty-five, twenty-five to thirty, thirty to thirty-five, and thirty-five to fifty; and a group of frame rate adjustment values ​​corresponding to the intervals of the group of quantization parameter values ​​include frame rate adjustment value 1, frame rate adjustment value 1 / 2, frame rate adjustment value 0, frame rate adjustment value -1 / 2, and frame rate adjustment value -1. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The patent or application file contains at least one drawing drawn in color. The Patent Office will provide copies of this patent or application with color drawings upon request and payment of the relevant fee.

[0011] The functional features of the present invention will be particularly pointed out in the claims, and the present invention itself, the composition and the use of the present invention can also be better understood by referring to the following drawings and related descriptions. In all drawings that form a part of the present invention, the same reference numerals represent the same components:

[0012] Figure 1 is an illustrative block diagram of a real-time video communication system drawn according to an embodiment of the present invention.

[0013] Figure 2is an illustrative block diagram of a real-time video communication device according to an embodiment of the present invention.

[0014] Figure 3 It is an illustrative block diagram of a series of display screen data frames for screen sharing in a real-time video communication session drawn according to an embodiment of the present invention.

[0015] Figure 4 The flowchart of the process of automatically adjusting the QP value (quantization parameter value) of the key frame of screen sharing according to the status of the communication network by the real-time video communication device according to the embodiment of the present invention.

[0016] Figure 5 It is a flowchart of a process in which a real-time video communication device automatically adjusts the OP value of a screen sharing frame rate according to a current network condition, drawn according to an embodiment of the present invention.

[0017] It should be understood by those skilled in the art that, in order to simply and clearly show the various elements in the above drawings, the drawings are not necessarily drawn to scale. The sizes of some elements in the drawings may be enlarged relative to other elements to help understand the present invention. In addition, the specific order of some elements, parts, assemblies, modules, steps, operations, events and / or processes described or illustrated herein may not be necessary in practical applications. It should be understood by those skilled in the art that, for simple and clear explanation, in some embodiments, useful and / or necessary elements that are commercially available, well-known and easy to understand may not be described herein, so that various embodiments of the present invention can be clearly presented. DETAILED DESCRIPTION

[0018] Now let’s look at the attached picture. Figure 1 is an illustrative block diagram of a real-time video communication system, which is generally indicated at 100. The real-time video communication system 100 includes a group of participating electronic devices, such as 102, 104, 106, and 108. The real-time video communication system electronic devices 102-108 communicate with each other via the Internet 110. These real-time video communication system electronic devices are connected to the Internet 110 via a local area network such as Wi-Fi, a public mobile phone network, Ethernet, etc. Figure 2 Each of the electronic devices 102-108 is described in further detail.

[0019] Figure 21 is a simplified block diagram of a set of real-time video communication devices, such as device 102. Device 102 includes a processor (such as a central processing unit (CPU)) 202, a memory 204 with a certain capacity that can be effectively coupled to processor 202, one or more input interfaces (such as a mouse interface, a keyboard interface, a touch screen interface, etc.) 206 that can be effectively coupled to processor 202, an audio output interface 208 that can be effectively coupled to processor 202, a network interface 210 that can be effectively coupled to processor 202, a video output interface 212 (such as a display screen) that can be effectively coupled to processor 202, a video input interface 214 (such as a camera) that can be effectively coupled to processor 202, and an audio input interface 216 (such as a microphone) that can be effectively coupled to processor 202. Device 102 also includes an operating system 220 and a dedicated real-time video communication software application 222 that can be run by processing unit 202, and application 222 is programmed using one or more computer programming languages ​​such as C, C++, C#, Java, etc. The application 222 includes or uses a video encoder, an audio encoder, a video decoder and an audio decoder. In the present invention, the encoder and the decoder are all part of the dedicated real-time video communication software application 222.

[0020] The dedicated real-time video communication software application 222 sends video data (such as frames captured by the video input device 214), audio data (such as audio data captured by the audio input device 216), and screen data (such as video output displayed on the monitor screen 212) to other devices participating in the communication, receives video data, audio data, and screen data from other devices, and outputs the received data on the device on which it is running. Screen data refers to data of a shared display screen, such as data of device 102. The screen data may include data such as text and graphics. Screen data is sent to other devices in the form of frames, see Figure 3 The receiving device (eg, devices 104 - 108 ) receives the data frames and displays them on a corresponding local video output device 212 .

[0021] Figure 32 is a simplified block diagram of a series of display screen data frames, which are generally represented by 300. In a real-time video communication session in which devices 102-108 participate, if the screen 212 of device 102 is a shared screen, device 102 will generate frame 300 and send it to devices 104-108. Frames 302, 304 and 306 are key frames, such as instantaneous decoder refresh (IDR) frames defined in H.264. Each key frame 302-306 is a fully encoded frame and a complete image, encoded by the encoder of software application 222. Frames 312-320 between two consecutive key frames 302-304 are inter-frames, such as P frames defined in H.264. Each inter-frame is different from one or more other frames. Key frames 302 and inter-frame frames 312-320 are also collectively referred to as a group of pictures (GOP), represented by 322. Another GOP is represented by 324.

[0022] In addition, the first inter-frame of two consecutive inter-frames is the previous reference frame of the other inter-frame. Key frames do not need reference frames when directly encoded. Inter-frames need to refer to other frames for encoding. For example, each inter-frame is encoded with reference to its key frame and the previous frame. In this case, inter-frame 316 is encoded with reference to key frame 302 and its frame 314. Therefore, frames 302 and 314 are referred to as reference frames of inter-frame 316 in the present invention. In the present invention, frame 302 also serves as a long-term reference frame for each frame in inter-frame frames 312-320, and inter-frame 314 serves as a short-term reference frame for inter-frame 316.

[0023] In the present invention, the time period between two consecutive key frames is called the key frame interval, such as 200ms (a new key frame is sent every 200 milliseconds). In the present invention, the number of frames sent by the dedicated software application to other participating devices within 1 second is called the frame rate, such as 15.

[0024] When the shared screen is displayed on the display screen 212 of the receiving device 104-108, the quality of the shared screen depends on the value of the quantization parameter (QP) under the H.264 standard. For example, the clarity of a key frame (such as an IDR frame under the H.264 standard) depends on the QP value of the key frame. The lower the QP value, the higher the clarity. In H.264, the residual is transformed to the frequency domain by an integer transform that approximates a discrete cosine transform. The quantization step size is determined by the QP value, and the quantization step size quantizes the transformed coefficients. A larger QP value represents a larger quantization step size, so most of the information is quantized and removed. A small QP can remove less information by quantization, but it will consume more network bandwidth.

[0025] When the bandwidth of the network connection between device 102 and other devices 104-108 decreases, it is necessary to reduce the video frame quality of the key frame. Key frames with lower definition consume less network bandwidth. By reducing the consumption of network bandwidth, the key frames can be received by the receiving device in a timely manner. However, the QP value output by the H.264 standard encoder for the key frame is often too high, and the direct result is that the definition of the IDR frame is too low, so that the user cannot accept it. In addition, when the H.264 standard encoder outputs the QP value for the IDR frame, it cannot fully consider the bit rate of the communication network throughput. Figure 4 The improved method of the present invention will be further described, using a more appropriate QP value to encode key frames, so that the shared screens on the devices 104 - 108 present a more satisfactory definition.

[0026] Figure 4 4 is a flow chart showing a process by which the dedicated software application 222 automatically adjusts the QP value of a key frame based on the network connection status, which is generally indicated at 400. At 402, the dedicated software application 222 sets an initial value (e.g., 24) for the QP parameter of the key frame (e.g., the IDR frame QP parameter under the H.264 standard) to share the display screen of the device 102. Once the initial value is set, the key frame can be encoded using an encoder (e.g., an H.264 standard encoder). The encoded key frame is sent from the device 102 to the receiving device 104-108. Thereafter, the inter-frame is encoded and sent to the receiving device 104-108.

[0027] However, the network connection conditions between devices 102-108 are constantly changing. Therefore, it is necessary to adapt the key frame QP parameters to the actual network bandwidth conditions. At 404, the current bandwidth of the network connection is determined by the dedicated software application 222. The known bandwidth is an estimate of the bit rate that can be used to enable the dedicated software application 222 to send shared screen data, video data, and other data to other devices. Various factors are considered in the bandwidth estimation, such as network packet loss rate and packet round trip time (RTT).

[0028] At 406, the dedicated software application 222 obtains the QP value of the current key frame (such as an IDR frame). In one embodiment, the QP value is output by the H.264 standard encoder. At 408, the dedicated software application 222 adjusts the known QP value based on the bandwidth amount to obtain an adjusted QP value. In one embodiment, when the bandwidth is greater than 800 kbps, the known QP value is reduced by 2 to obtain the adjusted QP value; when the bandwidth is between 800 kbps and 400 kbps, the known QP value is reduced by 4 to obtain the adjusted QP value; when the bandwidth is between 400 kbps and 200 kbps, the known QP value is reduced by 6 to obtain the adjusted QP value; when the bandwidth is less than 200 kbps, the known QP value is reduced by 8 to obtain the adjusted QP value. The adjustment amount (such as 2, 4, 6, 8 mentioned above) is referred to as the key frame QP adjustment value in the present invention.

[0029] At 410, the dedicated software application 222 encodes the current key frame (e.g., IDR frame) using the adjusted QP value. In one embodiment, at 410, the dedicated software application 222 invokes the H.264 encoder to encode the IDR frame. At 412, the dedicated software application 222 sets the current key frame as a long-term reference frame for other non-key frames. At 414, in a real-time video communication session, the dedicated software application 222 sends the encoded key frame to other devices participating in the communication.

[0030] The dedicated software application 222 also adjusts the frame rate according to the current QP value to improve the clarity of the shared screen when it is displayed on the receiving device 104-108. For details on how the dedicated software application 222 adjusts the frame rate according to the current QP value, see Figure 5 Related description.

[0031] Figure 51 is a flow chart showing a process of automatically adjusting the frame rate by the dedicated software application 222 according to the current QP value, which is generally indicated as 500. At 502, the dedicated software application 222 sets an initial frame rate value, such as 15, for the encoded frames of the shared screen of the device 102. When the frame rate is 15, the dedicated software application 222 encodes 15 frames of the display screen 212 of the device 102 and sends them to other participating devices 104-108. At 504, the dedicated software application 222 obtains the current QP value, such as the QP value of the most recently sent frame of the shared screen 212 of the device 102. In one embodiment, the QP value is output by the H.264 standard encoder. At 506, a set of interval ranges of QP values ​​is determined by the dedicated software application 222. In one embodiment, the set of intervals of the set of QP values ​​includes five intervals: zero to twenty; twenty to twenty-five; twenty-five to thirty; thirty to thirty-five; and thirty-five to fifty. At 508, a set of frame rate adjustment values ​​corresponding to a set of QP value intervals are derived by the dedicated software application 222. For example, the adjustment values ​​for the above five intervals are one (1), one-half (0.5), zero (0), negative one-half (-0.5), and negative one (-1).

[0032] At 510, the dedicated software application 222 determines a frame rate adjustment value based on the current QP value. For example, if the current QP value is twenty-three (23), the selected frame rate adjustment value is 0.5. For another example, if the current QP value is forty (40), the selected frame rate adjustment value is -1. At 512, the dedicated software application 222 derives a new frame rate, which is the sum of the current frame rate and the frame rate adjustment value determined at 510. At 514, the dedicated software application 222 determines when to send the next frame based on the new frame rate. For example, when the frame rate is changed from 15 to 16, the next frame is sent approximately 62.5 milliseconds from the last frame instead of 66.67 milliseconds. At 516, the dedicated software application 222 sets the adjusted frame rate as the current frame rate. At 518, the dedicated software application 222 encodes the next frame. At 520, the dedicated software application 222 sends the encoded next frame to the receiving device.

[0033] Based on the above description, it is obvious that the present invention may have many other modifications and variations. Therefore, please note that within the scope of the appended claims, the present invention may be implemented in a manner different from that specifically described above.

[0034] The above description of the present invention is for better explanation and description, and is not intended to be exclusive or to limit the present invention to the above-mentioned specific embodiments. The above description is to better explain the principles of the present invention and the practical application of these principles, so that relevant technical personnel in the field can best utilize the present invention to implement various embodiments and make various modifications in the specific uses envisioned. It should be recognized that the words "one" or "an" in this article include both singular and plural forms. On the contrary, where appropriate, the case of multiple elements mentioned in this article should also include their singular forms.

[0035] The scope of the present invention is not limited to the contents of the specification, but is defined by the claims. In addition, although the claims may be narrow, it should be recognized that the scope of the present invention is broader than the scope set forth in the claims. We will propose broader claims in one or more applications claiming priority to this application. Other inventive subject matter disclosed in the specification and drawings, if not included in the scope of the claims of the present invention, does not belong to the public, and the applicant reserves the right to submit one or more subsequent applications for the inventive subject matter.

Claims

1. A method for automatically adjusting quantization parameters in screen sharing according to network bandwidth conditions in real-time video communication, the method being performed by an electronic device of the real-time video communication system, comprising: 1) Setting an initial value for a quantization parameter of a key frame of a screen sharing sequence by a dedicated real-time video communication software application running on an electronic device of a real-time video communication system, wherein the electronic device of the real-time video communication system comprises: i) processor; ii) a memory operatively coupled to the processor; iii) an input interface operatively coupled to the processor; iv) an audio output interface operatively coupled to the processor; v) a network interface operatively coupled to the processor; vi) a video output interface operatively coupled to the processor; vii) a video input interface operatively coupled to the processor; viii) an audio input interface operatively coupled to the processor; and ix) an application of the dedicated real-time video communication software executable by the processor; 2) determining the current bandwidth of the network connection, so that the dedicated real-time video communication system electronic device can share the screen with a group of electronic devices in the real-time video communication system at the video output interface through the network connection; 3) Obtain the quantization parameter value of the key frame from the video encoder; 4) Adjust the known quantization parameter value according to the following conditions to obtain the adjusted quantization parameter value: i) When the bandwidth is greater than 800 kbps, the known quantization parameter value is reduced by 2; ii) when the bandwidth is between 800 kbps and 400 kbps, the known quantization parameter value is reduced by 4; iii) when the bandwidth is between 400 kbps and 200 kbps, decrement the known quantization parameter value by 6; and iv) when the bandwidth is less than 200 kbps, the known quantization parameter value is reduced by 8; 5) encoding the key frame of the screen sharing using the adjusted quantization parameter value; and 6) Sending the encoded key frames of the screen sharing to the group of electronic devices via a network connection.

2. The method according to claim 1, wherein: 1) The key frame of the screen sharing is the instantaneous decoder refresh frame; 2) the key frame quantization parameter is the quantization parameter of the instantaneous decoder refresh frame; or 3) The video encoder is an H.264 encoder.

3. A method for automatically adjusting quantization parameters in screen sharing according to network bandwidth conditions in real-time video communication, the method being performed by an electronic device of the real-time video communication system, comprising: 1) Setting an initial value for a quantization parameter of a key frame of screen sharing by a dedicated real-time video communication software application running on an electronic device of a real-time video communication system, wherein the electronic device of the real-time video communication system comprises: i) processor; ii) a memory operatively coupled to the processor; iii) an input interface operatively coupled to the processor; iv) an audio output interface operatively coupled to the processor; v) a network interface operatively coupled to the processor; vi) a video output interface operatively coupled to the processor; vii) a video input interface operatively coupled to the processor; viii) an audio input interface operatively coupled to the processor; and ix) the above-mentioned dedicated real-time video communication software application executable by the above-mentioned processor; 2) determining the current bandwidth of the network connection, so that the dedicated real-time video communication system electronic device can share the screen with a group of electronic devices in the real-time video communication system at the video output interface through the network connection; 3) obtaining a quantization parameter value of the screen sharing key frame from a video encoder; 4) adjusting the known quantization parameter value through the dedicated real-time video communication software application to obtain an adjusted quantization parameter value: 5) encoding the key frame of the screen sharing using the adjusted quantization parameter value; 6) setting the key frame as a long-term reference frame for other non-key frames; and 7) Sending the encoded screen sharing key frame to the group of electronic devices via the network connection.

4. The method according to claim 3, wherein: 1) The key frame of the screen sharing is the instantaneous decoder refresh frame; 2) the key frame quantization parameter is the quantization parameter of the instantaneous decoder refresh frame; or 3) The video encoder is an H.264 encoder.

5. The method according to claim 3, wherein the known quantization parameter value is adjusted according to the following conditions to obtain the adjusted quantization parameter value: 1) When the bandwidth is greater than 800 kbps, reduce the known quantization parameter value by 2; 2) When the bandwidth is between 800 kbps and 400 kbps, subtract 4 from the known quantization parameter value; 3) When the bandwidth is between 400 kbps and 200 kbps, subtract 6 from the known quantization parameter value; 4) When the bandwidth is less than 200 kbps, reduce the known quantization parameter value by 8.