System and method for bit distribution in video coding
A video coding and mid-bit technology, which is applied in the field of video coding, can solve the problems of not being able to reflect, not considering the way of adjusting the bit allocation, and not being able to achieve the optimal video quality, so as to achieve a good visual experience and improve the video quality.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 1 It is a flow chart of a method for bit allocation in video coding provided by Embodiment 1 of the present invention. Such as figure 1 As shown, it mainly includes the following steps:
[0035] Step 11, calculate the corresponding code stream target bit number according to the target code rate of the code rate control unit, and distribute the code stream target number of bits evenly according to the number of picture group GOP in this code rate control unit, obtain the target that each GOP is allocated to number of bits.
[0036] The code rate control unit in this embodiment includes: N GOPs, and each GOP includes M pictures (both N and M are positive integers).
[0037] Among them, the target code rate can be adjusted in real time according to the bandwidth of the user, that is, the code rate can be changed in real time according to the fluctuation of the bandwidth. In this way, even if the user's bandwidth is within a small range, a better visual experienc...
Embodiment 2
[0068] Figure 4 It is a flowchart of another bit allocation method in video coding provided by Embodiment 2 of the present invention. Such as Figure 4 As shown, it mainly includes the following steps:
[0069] Step 41. Obtain the target number of bits of the current picture.
[0070] The bit allocation of the current picture can be performed by a conventional method or by the bit allocation method in Embodiment 1.
[0071] In this step, only the target number of bits of the current picture is obtained to calculate the target number of bits of each BU in the current picture.
[0072] Step 42, respectively calculate the ratio of the original bit number of each basic unit BU in the current picture to the original bit number of the current picture .
[0073] The original number of bits per BU in this embodiment and Lagrangian daily numbers The relationship is as follows:
[0074] R BU i = ...
Embodiment 3
[0082] This embodiment combines the methods provided by Embodiment 1 and Embodiment 2 to perform video coding bit allocation. Such as Figure 5 As shown, it mainly includes the following steps:
[0083] Step 51, calculate the corresponding code stream target bit number according to the target code rate of the code rate control unit, and evenly distribute the code stream target bit number according to the number of picture group GOPs in the code rate control unit, and obtain the target number assigned to each GOP number of bits.
[0084] Step 52, according to the corresponding Lagrange daily number of each picture in the current GOP Computes the ratio between the raw bits of each picture.
[0085] Step 53. Calculate the target number of bits for each picture in the current GOP according to the calculated ratio between the original number of bits and the target number of bits allocated to the current GOP and distribute.
[0086] Step 54, acquiring the target number of bits ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


