Method for distributing video image set bit based on H.264

A video image and bit allocation technology, applied in image communication, digital video signal modification, television, etc., can solve the problems of poor image quality, out-of-control video bit rate, different bit stream sizes, etc., and achieve stable image quality and rate distortion. Optimize and realize the effect of rate control

Inactive Publication Date: 2011-08-17
SHENZHEN TEMOBI SCI &TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Therefore, the disadvantage of the above x264 encoder rate control method: the image quality has a significant jump in the first few seconds, that is, the image quality of the first few frames is very poor, and then it improves, which is actually a very fatal weakness
[0012] In order to ensure the continuity and stability of image quality, if all frames of the same GOP are compressed using the same QP, problems will also occur, because the encoding types and image contents between frames are different. If the same QP is used for compression, the size of the compressed code stream will be different, which will inevitably cause the video code rate to be out of control and the image quality to fluctuate more.

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 for distributing video image set bit based on H.264
  • Method for distributing video image set bit based on H.264
  • Method for distributing video image set bit based on H.264

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] refer to Figure 1 ~ Figure 3 , implement a kind of video image group bit allocation method based on H.264, be applied in the video image coder that carries out code rate control to the video stream of real-time encoding, comprise the following steps, see figure 2 :

[0054] A, estimate the approximate value of the quantitative parameter mean value QPm of the first frame of video stream GOP, be set to QPi;

[0055] B. Encoding the I frame in the video stream GOP;

[0056] C. Statistically calculate the current output code rate;

[0057] D. Adjust the QP value of the subsequent B frame or P frame according to the code rate calculated in step C;

[0058] E. Coding the B frame or the P frame;

[0059] F. When the video stream is not over, turn to step C again;

[0060] G. The video stream ends.

[0061] In the above implementation method, the average value QPm of the quantization parameter in the step A is an integer value after rounding and rounding a real number. ...

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

A bit distribution method of groups of video pictures based on H.264 is applied to a video picture encoder which controls the code rate of video stream encoded in real time. The method comprises the following steps: A. the approximation of the quantization parameter mean QPm of a first frame in the video stream GOP is estimated and set as QPi; B. the frame I in the video stream GOP is encoded; C.the present output code rate is calculated; D. according to the code rate calculated in the step C, the QP value of the subsequent frame B or P is adjusted; E. the frame B or P is encoded; F. when the video stream is not over, the step C is executed once again; G. the video stream is over. According to the target code rate and the complexity of the picture contents, the bit distribution method reasonably determines a quantization parameter of the first frame in the groups of video pictures, thus carrying out the bit distribution on the groups of pictures; under the circumstance of one-time encoding, the optimization of the rate distortion can be well realized and the quality of the pictures is relatively stable.

Description

technical field [0001] The invention relates to codec technology in the field of video compression, in particular to an H.264-based image group bit allocation method. Used for rate control of real-time encoded video streams. Background technique [0002] For real-time video communication, due to the limited bandwidth of the communication channel, it is necessary to control the bit rate of the video coding to ensure the smooth transmission of the video bit stream and the full utilization of the channel bandwidth. For different application occasions, there are various rate control strategies in the prior art. The so-called code rate control is to dynamically adjust the parameters of the encoder to obtain the target number of bits. It allocates certain bits for a video group of picture (GOP: Group Of Picture), picture or sub-picture in a video sequence. GOP is a group of images with strong time correlation. A GOP usually contains frames in three formats: I frame, P frame, an...

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): H04N7/15H04N7/26H04N19/114H04N19/124H04N19/147H04N19/157H04N19/176
Inventor 钟似玢曾嘉亮
Owner SHENZHEN TEMOBI SCI &TECH
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