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:
- obtaining a scene change indication from a prediction error image;
using the scene change indication to reset a global complexity history; and
using the global complexity history to provide the rate control for the video encoder.
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.
-
Citations
12 Claims
-
1. A method for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
obtaining a scene change indication from a prediction error image; using the scene change indication to reset a global complexity history; and using the global complexity history to provide the rate control for the video encoder. - View Dependent Claims (2)
-
-
3. Apparatus for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
a preprocessing stage for determining a power value based on pixel values of only a first frame; and a group-of-pictures-level rate control block operatively coupled to the preprocessing stage to receive the power value and to provide a target quantizer step size used to provide rate control for the video encoder; wherein the group-of-pictures-level rate control block causes an adjustment of sizes of non-intra frames based on expected sizes of future intra frames. - 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 block; 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.
-
-
6. 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; calculating an expected number of bits for the pixel block based on the sum of the absolute values, and using the expected number of bits for the pixel block to obtain constant-bit-rate video encoding. - View Dependent Claims (7, 8)
-
-
9. A method for rate control for a constant-bit-rate finite-buffer-size video encoder comprising the:
-
predicting a relationship between a quantizer scale factor and a number of encoded bits of a pixel block based on a known relationship in previous pixel blocks of a same type; and using the quantizer scale factor to control a pixel block level rate of the video encoder. - View Dependent Claims (10, 11)
-
-
12. A method for rate control for a constant-bit-rate finite-buffer-size video encoder comprising:
-
calculating a prediction for a number of bits encoded for a pixel block based on a sum of absolute values of pixel-level error values, a pixel block complexity, and a quantizer scale factor; using the prediction for adjusting the quantizer scale factor to meet a targeted picture-level number of bits.
-
Specification