H264 macroblock-level code rate control method and device and readable storage medium

A bit rate control, H264 technology, applied in the field of video processing, can solve the problems of inaccurate bit rate control and low image matching accuracy.

Pending Publication Date: 2021-09-07
ACTIONS ZHUHAI TECH CO
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide an H264 macroblock-level code rate control method, device and readable storage medium for the defects of low image matching accuracy and inaccurate code rate control in the prior art

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
  • H264 macroblock-level code rate control method and device and readable storage medium
  • H264 macroblock-level code rate control method and device and readable storage medium
  • H264 macroblock-level code rate control method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0090] Regarding step S111, in one alternative embodiment, the SATD value of the current BU unit is predicted by a double linear algorithm for the SATD value of the previous BU unit and the SATD value of the previous frame, specifically, step S111 includes:

[0091] Step S1111. Calculate the SATD predicted value of the current BU unit according to Equation 1:

[0092] K = 1, SATD ' p [K] = (1-b) * bupfsatd [k] + b * bupfsatd [k + 1]

[0093] K = N unit SATD ' p [k] = (1-a) * bupfsatd [k] + a * bucfsatd [k-1]

[0094] Others, Satd ' p [K] = (1-a-b) * bupfsatd [k] + a * bucfsatd [k-1] + b * bupfsatd [k + 1] formula 1;

[0095] Where, A, B is the weight coefficient, for example, a = 2 / 16, b = 1 / 16, n unit For the number of BU units of the current frame, OTHERS represents k as other values ​​other than 1 and NUnit, bucfsatd is the SATD value of the previous BU unit of the current frame, bupfsatd is the SATD value of the previous frame, SATDP [K] is The SATD predictive value of the cur...

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 relates to an H264 macroblock-level code rate control method and device and a readable storage medium. In the H264 macroblock-level code rate control method, if a code rate control switch is in an on state and a target coding code rate is greater than 0, when code rate control is performed on a current BU unit of a current frame, the following steps are performed: judging whether an unallocated coding code rate of the current frame is less than 0; if the quantization value is not less than 0, calculating the quantization value of the current BU of the current frame according to the encoding information of the previous BU of the current frame and the encoding information of the previous frame, wherein the quantization value of the first BU of the current frame is the set quantization initial value of the current frame, and the quantization initial value of the current frame is related to the average value of the quantization values of the BU units of the previous frame; and coding the current BU unit according to the quantized value. By implementing the technical scheme of the invention, the image matching precision is high, and the code rate control is more accurate.

Description

Technical field [0001] The present invention relates to the field of video processing, and more particularly to a H264 macroblock level rate control method, device, and readable storage medium. Background technique [0002] In video transmission, the encoded compressed code stream information often needs to be transmitted in a limited and broadband incompatible network, in order to adapt to the encoded video stream, avoid receiving the receiving end due to transient code rate Code stream buffer overflow or causes a phenomenon such as a taton, so that the encoded video stream is required to control the code stream of the encoded video stream, so that the encoded video stream is required to be more stable output video streams in a certain broadband limit. Also get better video quality. [0003] The H264JM model has a module is a code rate control. The encoded code rate can satisfy the rate limitation in the case where the encoded distortion is as small as possible. In the h264 code...

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 Applications(China)
IPC IPC(8): H04N19/124H04N19/146H04N19/167H04N19/184
CPCH04N19/124H04N19/146H04N19/167H04N19/184
Inventor 白云波
Owner ACTIONS ZHUHAI TECH CO
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