Method for controlling code rate in H263 coding
A control method and medium bit rate technology, applied in the field of encoding and decoding, can solve problems such as obvious block effect and ringing effect, and poor visual effect of images, so as to reduce block effect and ringing effect, increase actual frame rate, and reduce information lost effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Embodiment 1, GOB level control
[0066] The basic steps are the same as the prior art 1, the main difference is that more target bit rates are allocated for I frames, and less bits are allocated for P frames. According to the limited QP max Determines the quantization step size.
[0067] In the initialization step, the target number of bits for an I-frame, P-frame or B-frame image is assigned as follows:
[0068] a1: Determine the total number of bits B_all for each I-frame image cycle:
[0069] B_all=Interval*R / F
[0070] Wherein: Interval is the total number of frames of an I frame image interval cycle; R is the target code rate; F is the target frame rate;
[0071] a2: Determine the target bit number B_P or B_B of the P frame or B frame image:
[0072] B_P=B_B=B_all / (X+Interval-1)
[0073] Among them: X is the multiple of the setting
[0074] a3: Determine the target bit number B_I of the I frame image:
[0075] B_I=X*B_P
[0076] Frame skip processing:
[...
Embodiment 2
[0100] Embodiment 2, macroblock level control
[0101] The basic steps are the same as the prior art 2, the main difference is that more target bits are allocated for I frames, and less bits are allocated for P frames. According to the limited QP max Determines the quantization step size.
[0102] In the initialization step, the allocation of target bit numbers of I-frames, P-frames or B-frame images and the processing method of frame skipping are the same as those in the first embodiment.
[0103] Take the calculation of the quantization step size of the Kth macroblock as an example:
[0104] c1: calculate the initialization model parameter s1;
[0105] If the Kth macroblock is I(intra), set σ k 2 = σ k 2 / 3 . Let i=1 and j=0, B ~ 1 = B ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 