Code rate control method and apparatus, and electronic device
A code rate control and code rate technology, which is applied in the field of code rate control methods, devices and electronic equipment, can solve the problems of affecting the smoothness of streaming, increasing the code rate of video encoders, and failing to upload data in time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0110] Embodiment 1. A code rate control method, such as figure 1 As shown, including steps S110-S120:
[0111] S110. Obtain a QP threshold value corresponding to the target coding rate;
[0112] S120. When the actual coding rate is inconsistent with the target coding rate, adjust the QP value; if the adjusted QP value is smaller than the QP threshold value, set the QP value to the QP threshold value.
[0113]In this embodiment, the inconsistency between the actual encoding rate and the target encoding rate may refer to: the actual encoding rate is different from the target encoding rate, or the absolute value of the difference between the actual encoding rate and the target encoding rate is greater than the expected Set a threshold. When the actual encoding rate is adjusted by adjusting the QP value, the larger the QP value, the higher the compression rate, and the smaller the actual encoding rate; the smaller the QP value, the lower the compression rate, and the greater th...
Embodiment 2
[0166] Embodiment 2, a code rate control method, such as figure 2 As shown, including steps S210-S220:
[0167] S210. Obtain buffered data volume, data upload speed, and actual encoding rate;
[0168] S220. When the predetermined condition is met, determine the target encoding rate according to the acquired buffered data volume, data upload speed, and actual encoding rate.
[0169] For the implementation details of this embodiment, refer to the specific implementation details of steps S130 and S140 in an implementation manner of the first embodiment.
[0170] In an implementation manner, when the predetermined condition is met, determining the target encoding rate according to the acquired buffered data volume, data upload speed, and actual encoding rate may include:
[0171] When the amount of buffered data is greater than the preset threshold, if the data upload rate is lower than the actual encoding rate, then the target encoding rate is set to a first encoding rate less...
Embodiment 3
[0190] Embodiment 3, a code rate control device, such as image 3 shown, including:
[0191] Obtaining module 31, is used for obtaining the QP threshold value corresponding to target code rate;
[0192] Quantization parameter adjustment module 32, for when the actual code rate and the target code rate are inconsistent, adjust the QP value; if the adjusted QP value is less than the QP threshold value, then the QP value is set to the QP threshold value value.
[0193] In this embodiment, the obtaining module 31 is the part responsible for obtaining the QP threshold value in the above code rate control device, which may be software, hardware or a combination of both.
[0194] In this embodiment, the quantization parameter adjustment module 32 is the part responsible for adjusting the QP value in the code rate control device, which may be software, hardware or a combination of both.
[0195] In an implementation manner, the acquiring module acquiring the QP threshold value corr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com