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

Rate-control-based video coding method and device

A technology of video coding and bit rate control, which is applied in digital video signal modification, electrical components, image communication, etc., and can solve problems such as packet loss and network congestion.

Active Publication Date: 2015-04-29
JLQ TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For a fixed network bandwidth, there is no way to update the quantization coefficient after encoding to solve the network congestion caused by the sudden increase in the number of encoded bits, or even packet loss.

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
  • Rate-control-based video coding method and device
  • Rate-control-based video coding method and device
  • Rate-control-based video coding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] see figure 1 , which is a flowchart of an embodiment of a rate control-based video encoding method of the present application, comprising the following steps:

[0030] Step 101: Before encoding the current macroblock to be encoded, determine whether the current quantization coefficient is within a preset quantization coefficient limit interval;

[0031] It should be noted that, the embodiment of the present application does not limit the specific value of the quantization coefficient limit interval. After the current network bandwidth is obtained, for a sequence to be encoded with a certain resolution, a quantization coefficient limit interval can be determined according to the current network bandwidth and the image to be encoded.

[0032] Step 102: If the current quantization coefficient is located in the quantization coefficient restricted interval, encode the macroblock to be encoded according to the current quantization coefficient, otherwise, encode the macrobloc...

Embodiment 2

[0043] The difference between this embodiment and Embodiment 1 is that after the encoder completes the encoding of a macroblock, it compares the code streams of all coded macroblocks with the preset maximum code stream value of a single frame. If the code stream of the macroblock exceeds the maximum code stream value of a single frame, the encoding of the current frame is terminated ahead of time; otherwise, the encoding is continued until all the macroblocks in the current frame are encoded. see figure 2 , which is a flowchart of another embodiment of a rate control-based video encoding method of the present application, the method includes the following steps:

[0044] Step 201: Before encoding the current macroblock to be encoded, determine whether the current quantization coefficient is within a preset quantization coefficient limit interval;

[0045] Step 202: If the current quantization coefficient is located in the quantization coefficient restricted interval, encode ...

Embodiment 3

[0058] The specific implementation process of a video coding method based on bit rate control is described below. see image 3 , which is a specific implementation flow chart of a video coding method based on bit rate control in this application. Include the following steps:

[0059] Step 301: judging whether all the macroblocks have been encoded, if yes, enter step 314, otherwise, enter step 302;

[0060] Step 302: judging whether the current macroblock is the first macroblock, if yes, proceed to step 303, otherwise, proceed to step 304;

[0061] Step 303: Set an initial value of the quantization coefficient according to the network bandwidth, and use the initial value as the current quantization coefficient;

[0062] Step 304: judging whether the current quantization coefficient is within the preset quantization coefficient limit interval, if yes, proceed to step 305, otherwise, proceed to step 306;

[0063] Step 305: Encode the current macroblock to be encoded according...

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 embodiment of the invention discloses a rate-control-based video coding method and a rate-control-based video coding device. The method comprises the following steps of: before a current macro block to be coded is coded, judging whether a current quantization coefficient is within a preset quantization coefficient limit interval or not; if the current quantization coefficient is within the quantization coefficient limit interval, coding the macro block to be coded according to the current quantization coefficient, otherwise coding the macro block to be coded according to an interval value of the quantization coefficient limit interval; and computing the coded bit number and distortion of the current coded macro block, and updating the current quantization coefficient according to a current network bandwidth and the coded bit number and distortion of the current coded macro block. According to the embodiment of the invention, network congestion and packet loss phenomena can be avoided.

Description

technical field [0001] The present application relates to the technical field of video compression, in particular to a video encoding method and device based on bit rate control. Background technique [0002] After the video data is encoded, the video quality of the output video is determined by the encoding bit rate. The higher the encoding bit rate, the higher the bit stream of the output video, the better the video quality. On the contrary, the lower the encoding bit rate, the lower the bit stream of the output video, the worse the video quality. However, on the other hand, due to the limitation of network bandwidth or video data buffer capacity, it is necessary to control the code stream of the output video within a certain range, so as to meet the limitation of network bandwidth or video buffer capacity and at the same time obtain the best video output as possible. video quality. [0003] The existing code rate control algorithm mainly adjusts the coding code rate by ...

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/147H04N19/124H04N19/176H04N19/146
Inventor 于娜吴铭
Owner JLQ TECH CO LTD
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