Method and device for code rate control

A code rate control and code rate technology, applied in the field of code rate control, can solve problems such as the deviation between the overall code rate and the target code rate, the inability to accurately control the code rate, and the inability to correct the code rate deviation in time, so as to achieve precise control of the code rate Effect

Active Publication Date: 2019-03-29
ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a code rate control method and device, aiming to solve the problem that the code rate deviation cannot be corrected in time in the prior art, resulting in a large deviation between the overall code rate and the target code rate, and the problem that the code rate cannot be accurately controlled

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for code rate control
  • Method and device for code rate control
  • Method and device for code rate control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flow chart of a code rate control method provided in Embodiment 1 of the present invention, specifically including steps S101 to S103, which are described in detail as follows:

[0022] S101. Receive and configure parameters required by an encoder for encoding, where the parameters include an initial target code rate, a quantization parameter QP value, and a length of a GOP unit.

[0023] Specifically, before the encoder encodes the video data, it needs to configure parameters related to code rate control required for encoding.

[0024] These parameters include the initial target code rate, the quantization parameter QP value and the length of the GOP unit of the picture group.

[0025] The initial target bit rate is the target bit rate that the encoder is expected to achieve. According to the requirements of storage space or bandwidth limitations, the value range of the initial target bit rate can usually be between 10Kbps and 20Mbps. The QP value is...

Embodiment 2

[0034] figure 2 It is a flowchart of a code rate control method provided in Embodiment 2 of the present invention, specifically including steps S201 to S203, which are described in detail as follows:

[0035] S201. Receive and configure parameters required by an encoder for encoding, where the parameters include an initial target code rate, a quantization parameter QP value, and a length of a GOP unit.

[0036] Specifically, before the encoder encodes the video data, it needs to configure parameters related to code rate control required for encoding.

[0037] These parameters include the initial target code rate, the quantization parameter QP value and the length of the GOP unit of the picture group.

[0038] The initial target bit rate is the target bit rate that the encoder is expected to achieve. According to the requirements of storage space or bandwidth limitations, the value range of the initial target bit rate can usually be between 10Kbps and 20Mbps. The QP value is...

Embodiment 3

[0053] image 3 It is a schematic structural diagram of an apparatus for rate control provided in Embodiment 3 of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown. image 3 An example code rate control apparatus may be an executing subject of the code rate control method provided in Embodiment 1, which may be a control device or a functional module of the control device. image 3 An example code rate control device mainly includes: a parameter configuration module 31 , a code statistics module 32 and a code rate adjustment module 33 . The detailed description of each functional module is as follows:

[0054] The parameter configuration module 31 is used to receive and configure the parameters required for encoding by the encoder, the parameters including the initial target code rate, the quantization parameter QP value and the length of the GOP unit of the picture group;

[0055] Encoding statistics modul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the video encoding field and provides a code rate control method and a code rate control device. The objective of the invention is to solve the problem of incapability of accurately controlling a code rate caused by large deviation of an overall code rate and a target code rate which is further caused by a situation that code rate deviation cannot be timely corrected in the prior art. The method includes the following steps that: parameters required by the encoding of an encoder are received and configured; and the encoder is controlled to encode the n-th GOP unit of video data according to the parameters and calculate the cumulative rate deviation of the first GOP unit to the n-th GOP unit; and the target code rate of the (n+1)-th GOP unit is adjusted according to the cumulative rate deviation until the encoding of the video data is terminated. According to the code rate control method and the code rate control device provided by the technical schemes of the invention, the cumulative rate deviation of GOP units of which the encoding has been completed currently is calculated, and the target code rate of the next GOP unit is adjusted according to the cumulative rate deviation, and therefore, the overall code rate can be dynamically controlled in a video encoding process so as to be made approximate to the target code rate, and code rate accurate control can be realized.

Description

technical field [0001] The present invention relates to the technical field of video coding, in particular to a method and device for rate control. Background technique [0002] During the video encoding process, due to the limitation of factors such as storage space or bandwidth, it is necessary to control the code rate to meet the requirements of storage space or bandwidth. Bit rate control involves three main parameters: target bit rate, QP (Quantization Parameter, quantization parameter) and GOP (Group Of Pictures, group of pictures) unit length. On the premise of ensuring that the code stream meets the requirements of the QP range, the encoder makes the average code rate of the code stream corresponding to each GOP unit of the video as close as possible to the target code rate, so as to achieve the goal of the overall code rate being close to the target code rate. [0003] When the prior art method controls the code rate of each GOP unit, some GOP units may have a larg...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/177H04N19/124H04N19/196H04N19/146
CPCH04N19/124H04N19/146H04N19/177H04N19/196
Inventor 冷永春胡胜发
Owner ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products