Method and apparatus for rate control for constant-bit-rate finite-buffer-size video encoder
First Claim
1. A method for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
- calculating a reference global complexity for each I frame encoded;
calculating a reference power value for each I frame encoded;
calculating a power value for subsequent frames;
calculating a global complexity by multiplying the reference global complexity by the power value and dividing by the reference power value; and
using the global complexity to adjust a frame size.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for rate control for a constant-bit-rate finite-buffer-size video encoder is described. Rate control is provided by adjusting the size of non-intra frames based on the size of intra frames. A sliding window approach is implemented to avoid excessive adjustment of non-intra frames located near the end of a group of pictures. A measurement of “power” based on a sum of absolute values of pixel values is used. The “power” measurement is used to adjust a global complexity value, which is used to adjust the sizes of frames. The global complexity value responds to scene changes. An embodiment of the invention calculates and uses L1 distances and pixel block complexities to provide rate control. An embodiment of the invention implements a number of bit predictor block. Predictions may be performed at a group-of-pictures level, at a picture level, and at a pixel block level. An embodiment of the invention resets a global complexity parameter when a scene change occurs.
27 Citations
5 Claims
-
1. A method for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
calculating a reference global complexity for each I frame encoded; calculating a reference power value for each I frame encoded; calculating a power value for subsequent frames; calculating a global complexity by multiplying the reference global complexity by the power value and dividing by the reference power value; and using the global complexity to adjust a frame size.
-
-
2. Apparatus for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
a prediction error image block to determine L1 distances according to sums of absolute differences; a complexity estimator block coupled to the prediction error image block to determine non-intra pixel block complexity values and intra pixel block complexity values; and a number-of-bit predictor operatively coupled to the prediction error image block to receive the L1 distances and to the complexity estimator block to receive the non-intra pixel block complexity values and the intra pixel block complexity values, the number-of-bit predictor to predict a number of bits generated by the video encoder.
-
-
3. A method for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
obtaining a prediction error frame including a plurality of pixel-level error values; calculating a sum of absolute values of the pixel-level error values for a pixel block of the frame; calculating an expected number of bits for each pixel block in the frame by multiplying a pixel block complexity value for the pixel block by the sum of the absolute values of the pixel-level error values for the pixel block and dividing by a target quantizer step size for the frame; using the calculated expected number of bits for each pixel block located in the frame to calculate an expected number of bits for the frame; and using the expected number of bits for the frame to obtain constant-bit-rate video encoding. - View Dependent Claims (4)
-
-
5. Apparatus for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
a prediction error image block to determine L1 distances according to sums of absolute differences; a picture-level rate control block operatively coupled to the prediction error image block to receive the L1 distances and to produce a target quantizer step size for a pixel; and a complexity estimator block operatively coupled to the prediction error image block to determine non-intra pixel block complexity values and intra pixel block complexity values, wherein the prediction error image block determines a scene change and provides a scene change indication to the complexity estimator block, the complexity estimator block resetting a global complexity value upon receipt of the scene change indication.
-
Specification