VIDEO ENCODING CONTROL METHOD, VIDEO ENCODING APPARATUS AND VIDEO ENCODING PROGRAM
1 Assignment
0 Petitions
Accused Products
Abstract
In a video encoding control method of the present invention, each picture is encoded in units of encoding-order picture groups such as GOPs, and when CPB underflow has occurred, an encoding parameter such as a quantization parameter and filter strength of a pre-filter is changed in such a manner that a generated bit rate is reduced, and an encoding-order picture group that is being encoded is re-encoded from its first picture using the changed encoding parameter.
37 Citations
21 Claims
-
1. (canceled)
-
2. A video encoding control method in which a generated bit rate is controlled so that a hypothetical buffer in a decoder does not collapse and an input video signal is encoded, the method comprising the steps of:
-
sequentially encoding each picture in an encoding-order picture group according to a predetermined encoding parameter, the encoding-order picture group including a predetermined number of pictures and being a collection of pictures successive in an encoding order; checking if underflow has occurred in the hypothetical buffer based on bit rate information generated in encoding of each picture; and when the underflow has occurred in the hypothetical buffer, changing the encoding parameter in such a manner that a generated bit rate resulting from encoding is reduced and re-encoding the encoding-order picture group that is being encoded from its first picture using the changed encoding parameter, wherein; the step of sequentially encoding includes sequentially encoding each picture in the encoding-order picture group according to an encoding parameter set according to a retry count indicating the number of times of re-encoding, and the step of re-encoding includes incrementing the retry count when the underflow has occurred in the hypothetical buffer and changing the encoding parameter into an encoding parameter with which the generated bit rate resulting from encoding is reduced as a value of the retry count increases. - View Dependent Claims (3, 4, 5, 8, 9, 16)
-
-
6. A video encoding control method in which a generated bit rate is controlled so that a hypothetical buffer in a decoder does not collapse and an input video signal is encoded, the method comprising the steps of:
-
sequentially encoding each picture in an encoding-order picture group according to a predetermined encoding parameter, the encoding-order picture group including a predetermined number of pictures, with a first picture being an intra predictive encoded picture, and being a collection of pictures successive in a encoding order; checking if underflow has occurred in the hypothetical buffer based on bit rate information generated in encoding of each picture; when the underflow has occurred in the hypothetical buffer, changing the encoding parameter in such a manner that a generated bit rate resulting from encoding is reduced, and re-encoding the encoding-order picture group from its first picture set as a retry point using the changed encoding parameter; and when encoding of the encoding-order picture group is completed, checking a residual bit rate of the hypothetical buffer, setting the retry point to a first picture in a next encoding-order picture group when the residual bit rate is equal to or greater than a predetermined residual bit rate threshold value, not changing the retry point when the residual bit rate of the hypothetical buffer is smaller than the predetermined residual bit rate threshold value, and setting the retry point to the first picture in the encoding-order picture group after encoding of the first picture of the next encoding-order picture group is completed without occurrence of the underflow of the hypothetical buffer. - View Dependent Claims (10, 17, 19)
-
-
7. A video encoding control method in which a generated bit rate is controlled so that a hypothetical buffer in a decoder does not collapse and an input video signal is encoded, the method comprising the steps of:
-
sequentially encoding each picture in an encoding-order picture group according to a predetermined encoding parameter, the encoding-order picture group including a predetermined number of pictures and being a collection of pictures successive in an encoding order; checking if underflow has occurred in the hypothetical buffer based on bit rate information generated in encoding of each picture; when the underflow has occurred in the hypothetical buffer, changing the encoding parameter in such a manner that a generated bit rate resulting from encoding is reduced, and re-encoding the encoding-order picture group that is being encoded from its picture set as a retry point using the changed encoding parameter; and setting the retry point indicating a position of the picture from which the re-encoding starts based on a maximum inter-picture distance that is a maximum number of pictures capable of being traced back as re-encoding target pictures at the time of re-encoding. - View Dependent Claims (18, 20, 21)
-
-
11. (canceled)
-
12. A video encoding apparatus in which a generated bit rate is controlled so that a hypothetical buffer in a decoder does not collapse and an input video signal is encoded, the apparatus comprising:
-
an encoding unit configured to sequentially encode each picture of an encoding-order picture group according to a predetermined encoding parameter, the encoding-order picture group including a predetermined number of pictures and being a collection of pictures successive in an encoding order; a buffer management unit configured to check if underflow has occurred in the hypothetical buffer based on bit rate information generated in encoding of each picture and output retry information when detecting that the underflow has occurred in the hypothetical buffer; and a parameter adjustment unit configured to change the encoding parameter in such a manner that a generated bit rate resulting from encoding is reduced when the retry information is output and signal the encoding unit of the changed encoding parameter, wherein; when the retry information is output, the encoding unit re-encodes the input video signal from a first picture in the encoding-order picture group that is being encoded, using the encoding parameter changed by the parameter adjustment unit, and the encoding unit sequentially encodes each picture of the encoding-order picture group according to an encoding parameter set according to a retry count indicating the number of times of re-encoding; the video encoding apparatus includes a retry count management unit configured to increment the retry count when the retry information is output and decrement the retry count when the retry information is not output until encoding of a last picture in the encoding-order picture group is completed, and the parameter adjustment unit sets an encoding parameter with which a generated bit rate resulting from encoding is reduced as a value of the retry count increases, and notifies the encoding unit of the set encoding parameter, the encoding parameter being determined according to the retry count. - View Dependent Claims (13)
-
-
14. A video encoding apparatus in which a generated bit rate is controlled so that a hypothetical buffer in a decoder does not collapse and an input video signal is encoded, the apparatus comprising:
-
an encoding unit configured to sequentially encode each picture in an encoding-order picture group according to a predetermined encoding parameter, the encoding-order picture group including a predetermined number of pictures and being a collection of pictures successive in an encoding order; a buffer management unit configured to check if underflow has occurred in the hypothetical buffer based on bit rate information generated in encoding of each picture and output retry information when detecting that the underflow has occurred in the hypothetical buffer; a parameter adjustment unit configured to change the encoding parameter in such a manner that a generated bit rate resulting from encoding is reduced when the retry information is output, and signal the encoding unit of the changed encoding parameter; a buffer state prediction unit configured to check a residual bit rate of the hypothetical buffer when encoding of the encoding-order picture group is completed and determine whether the residual bit rate is equal to or greater than a predetermined residual bit rate threshold value; and a retry point management unit configured to set the retry point to a first picture in a next encoding-order picture group when the residual bit rate of the hypothetical buffer is equal to or greater than the predetermined residual bit rate threshold value according to a determination result of the buffer state prediction unit, not to change the retry point when the residual bit rate of the hypothetical buffer is smaller than the predetermined residual bit rate threshold value, and to set the retry point to the first picture in the encoding-order picture group after encoding of the first picture in the next encoding-order picture group is completed without occurrence of underflow of the hypothetical buffer, wherein the encoding unit re-encodes the input video signal from the first picture in the encoding-order picture group set as the retry point using the encoding parameter changed by the parameter adjustment unit when the retry information is output.
-
-
15. A video encoding apparatus in which a generated bit rate is controlled so that a hypothetical buffer in a decoder does not collapse and an input video signal is encoded, the apparatus comprising:
-
a encoding unit configured to sequentially encode each picture in an encoding-order picture group according to a predetermined encoding parameter, the encoding-order picture group including a predetermined number of pictures and being a collection of pictures successive in an encoding order; a buffer management unit configured to check if underflow has occurred in the hypothetical buffer based on bit rate information generated in encoding of each picture, and output retry information when detecting that the underflow has occurred in the hypothetical buffer; a parameter adjustment unit configured to change the encoding parameter in such a manner that a generated bit rate resulting from encoding is reduced when the retry information is output, and signal the encoding unit of the changed encoding parameter; and a retry point management unit configured to set a retry point indicating a position of the picture from which the re-encoding starts based on a maximum inter-picture distance that is a maximum number of pictures capable of being traced back as re-encoding target pictures at the time of re-encoding, wherein the encoding unit re-encodes the input video signal from the picture set as the retry point in the encoding-order picture group that is being encoded using the encoding parameter changed by the parameter adjustment unit when the retry information is output.
-
Specification