Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Fast adaptive code rate control method

A technology of adaptive code rate and control method, which is applied in the field of video coding, can solve the problems of code rate out of control and long time, and achieve the effect of speeding up, improving image quality, and avoiding super high out of control

Inactive Publication Date: 2012-10-24
北京博雅慧视技术有限公司
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The characteristics of the traditional bit rate control method are as follows: the advantage is that the bit rate can be kept stable when the video scene changes little (the proportion of the changed details in the image is small); the disadvantage is that when the video scene changes greatly, the bit rate It will suddenly become larger or smaller, and it takes a long time to return to a stable state again. Generally, it takes at least one encoding unit (0.5 seconds to 1 second of encoding frames) to restore stability. In scenes with drastic changes or frequent switching ( For example, when advertising), the bit rate may be out of control (the actual encoding bit rate exceeds the target bit rate by more than double and lasts for more than 1 second)

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
  • Fast adaptive code rate control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] The current code rate control window is N=5, and the target code rate is that the sum of bits per N frames cannot exceed 500Kb (1Kb equals 1000 bits), and 5 frames of images have been encoded, respectively (qp represents the quantization coefficient):

[0045] #1: 100Kb, qp=23

[0046] #2: 100Kb, qp=22

[0047] #3: 100Kb, qp=21

[0048] #4: 100Kb, qp=22

[0049] #5: 100Kb, qp=22

[0050] The sum of the previous 5 frames is 500Kb, within the target bit rate, the bit rate calculation current frame (#6) is encoded with qp=22, the encoding result is:

[0051] #6: 400Kb, qp=22

[0052] It is found that the total number of bits of the five frames including the current frame is 800Kb, which exceeds 60% of the target code rate of 500Kb (set the threshold as 150% of the target code rate), and recoding is required. When recoding, adjust the quantization coefficient according to the excess range , if it is within 150%, it will be processed as normal, and the adjustment and re...

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 discloses a fast adaptive code rate control method which comprises the following steps of: coding the current image by use of the quantization coefficient obtained by the previous code rate control; storing the intermediate result of the coding; comparing the code rate calculated according to the size of the current coded frame and the size of the previous N-1 frames of the current coded frame with the target code rate; adjusting the quantization coefficient according to the comparison result; if the current coding code rate exceeds the threshold, adjusting the quantization coefficient of the previous N frames, and adjusting the quantization coefficient according to the difference between the coding result of each frame and the target code rate; recoding the N frames by use of the adjusted quantization coefficient by use of the intermediate result of the coded frame before; and calculating the quantization coefficient of the next frame by use of the bit number after the recoding of the N frames and the quantization coefficient when calculating the quantization coefficient in next code rate control. The method disclosed by the invention has the advantages of fast response to the screen change in a complicated scene, fast change of the coding type, fast recovery and stable code rate.

Description

technical field [0001] The invention provides a fast self-adaptive code rate control method, in particular to a coding method for making self-adaptive adjustment according to pre-coded results and actual code rate requirements by using reserved pre-coding information, and belongs to the field of video coding. Background technique [0002] The principles and steps of video encoding are as follows: [0003] 1. Intra-frame coding: [0004] 1) Transformation, according to a fixed division (such as 8x8 pixels), the coefficients in the transformed matrix represent the frequency distribution of the image before transformation, in which the high-frequency part is concentrated in the upper left corner, and the low-frequency part is concentrated in the lower right corner; [0005] 2) Quantization, using quantization coefficients for quantization (for example, dividing the transformation matrix coefficient by the quantization coefficient, this process is called quantization), so that ...

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
IPC IPC(8): H04N7/26H04N19/146
Inventor 李革袁磊
Owner 北京博雅慧视技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products