A code rate control method and device for video coding

A bit rate control and video coding technology, applied in the field of video coding, can solve the problems of coded image quality degradation, ignoring image complexity, etc., and achieve the effect of accurate control

Active Publication Date: 2021-07-13
BEIJING JIAXUN FEIHONG ELECTRIC CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the conventional rate control method, the target number of bits allocated to each coded image is too average, and the complexity of the image is ignored, resulting in a decrease in the quality of the coded image.

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
  • A code rate control method and device for video coding
  • A code rate control method and device for video coding
  • A code rate control method and device for video coding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0086] See figure 1 , figure 1 It is a flow chart of a video coding rate control method provided in Embodiment 1 of the present application, as shown in figure 1 As shown in , the bit rate control method for video coding provided in the embodiment of the present application includes:

[0087] S101: Acquire a first frame of image to be encoded and a second frame of image after encoding, where the second frame of image is an image of a previous frame of the first frame of image.

[0088] S102: Calculate a difference degree between each pixel in the first frame image and the second frame image, and determine a target number of bits allocated to the first frame image based on the difference degree.

[0089] In a specific implementation, when encoding the first frame of image to be encoded, it is necessary to know the target number of bits allocated for the first frame of image, and calculate the quantization parameter of the first frame of image, so that, according to the first ...

Embodiment 2

[0105] See figure 2 , figure 2 It is a flow chart of another video coding rate control method provided in Embodiment 1 of the present application, as shown in figure 2 As shown in , the bit rate control method for video coding provided in the embodiment of the present application includes:

[0106] S201: Acquire a first frame of image to be encoded and a second frame of image after encoding, where the second frame of image is an image of a previous frame of the first frame of image.

[0107] S202: Calculate a difference degree between each pixel in the first frame image and the second frame image, and determine a target number of bits allocated to the first frame image based on the difference degree.

[0108] S203: Determine whether the degree of difference is greater than or equal to a preset threshold; if the degree of difference is greater than or equal to the preset threshold, determine that the scenes of the first frame image and the second frame image are different,...

Embodiment 3

[0151] Based on the same application idea, Embodiment 3 of the present application also provides a video coding rate control device corresponding to the video coding rate control methods provided in Embodiment 1 and Embodiment 2. Since the device in the embodiment of the present application solves the The principle of the problem is similar to the bit rate control method of video coding in the first and second embodiments of the present application, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.

[0152] see image 3 As shown, it is one of the functional block diagrams of a video coding rate control device 300 provided in Embodiment 3 of the present application, see Figure 4 As shown, it is the second functional block diagram of a video coding rate control device 300 provided in Embodiment 3 of the present application, wherein the video coding rate control device 300 includes:

[0153] An acquisitio...

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 present application provides a code rate control method and device for video coding, which relate to the technical field of video coding. The present application can determine the target number of bits allocated to the first frame image by calculating the degree of difference between the pixels in the first frame image to be encoded and the second frame image after encoding. Further, based on the target bit number and The preset code rate control model can determine the quantization parameters of the first frame of images, and further, based on the target number of bits allocated to the second frame of images and the actual number of bits, the correction factor of the quantization parameters of the first frame of images can be determined, further Specifically, according to the value corresponding to the correction factor, the corrected quantization parameter of the first frame of image can be determined, and the encoding bit rate of the first frame of image can be controlled based on the corrected quantization parameter. Using the above method, it is possible to ensure that the video In the case of image quality, more accurately control the bit rate of video encoding.

Description

technical field [0001] The present application relates to the technical field of video coding, and in particular, to a video coding rate control method and device. Background technique [0002] HEVC (High Efficiency Video Coding, high-efficiency video coding) is a new video compression standard. In HEVC, the purpose of the rate control algorithm is to achieve a balance between bit rate and image quality by calculating QP (Quantization Parameter, quantization parameter). On the basis of achieving the target compression rate, the best image quality can be achieved. [0003] However, in conventional bit rate control methods, the target number of bits allocated to each coded image is too average, and the complexity of the image is ignored, resulting in a decrease in the quality of the coded image. Contents of the invention [0004] In view of this, the purpose of the present application is to provide a method and device for video coding bit rate control, which can more accura...

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/146H04N19/124H04N19/184
CPCH04N19/124H04N19/146H04N19/184
Inventor 欧阳国胜
Owner BEIJING JIAXUN FEIHONG ELECTRIC 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