Video encoding code rate control method, apparatus, and device, and storage medium

US11240511B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11240511-B2
Application numberUS-202016884330-A
CountryUS
Kind codeB2
Filing dateMay 27, 2020
Priority dateMar 28, 2018
Publication dateFeb 1, 2022
Grant dateFeb 1, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A video encoding code rate control method of a terminal device is provided. A space domain complexity and a time domain complexity of a first picture frame in a video stream are obtained. A first target bit of the first picture frame is updated to a second target bit according to the space domain complexity and the time domain complexity. A first initial quantization parameter of the first picture frame is updated to a second initial quantization parameter according to the space domain complexity and the time domain complexity. A compressed code stream of the first picture frame is generated according to the second target bit and the second initial quantization parameter.

First claim

Opening claim text (preview).

What is claimed is: 1. A video encoding code rate control method of a terminal device, the method comprising: obtaining, by processing circuitry of the terminal device, a space domain complexity and a time domain complexity of a first picture frame in a video stream; updating, by the processing circuitry, a first target bit of the first picture frame to a second target bit according to the space domain complexity and the time domain complexity; updating, by the processing circuitry, a first initial quantization parameter of the first picture frame to a second initial quantization parameter according to a ratio of the space domain complexity of the first picture frame and a space domain complexity of a second picture frame; and generating, by the processing circuitry, a compressed code stream of the first picture frame according to the second target bit and the second initial quantization parameter. 2. The video encoding code rate control method according to claim 1 , wherein the updating the first target bit of the first picture frame comprises: obtaining a motion estimation attribute of the first picture frame and a motion estimation attribute of the second picture frame, the motion estimation attribute of the first picture frame being a ratio of the space domain complexity to the time domain complexity of the first picture frame and indicating motion intensity of the first picture frame, the motion estimation attribute of the second picture frame being a ratio of the space domain complexity to a time domain complexity of the second picture frame and indicating motion intensity of the second picture frame, and the second picture frame being a previous picture frame of the first picture frame; and updating the first target bit of the first picture frame to the second target bit according to a ratio of the motion estimation attribute of the first picture frame to the motion estimation attribute of the second picture frame. 3. The video encoding code rate control method according to claim 1 , wherein the updating the first initial quantization parameter of the first picture frame comprises: updating the first initial quantization parameter of the first picture frame to the second initial quantization parameter according to (i) the ratio of the space domain complexity of the first picture frame to the space domain complexity of the second picture frame, and (ii) a ratio of the space domain complexity of the first picture frame to a space domain complexity of a previous picture frame of the second picture frame. 4. The video encoding code rate control method according to claim 2 , wherein the updating the first target bit of the first picture frame comprises: adjusting the first target bit of the first picture frame to the second target bit according to a bit adjustment function based on the motion estimation attribute of the first picture frame being less than a section parameter. 5. The video encoding code rate control method according to claim 3 , wherein the updating the first initial quantization parameter of the first picture frame comprises: updating the first initial quantization parameter of the first picture frame to the second initial quantization parameter according to a first quantization adjustment function. 6. The video encoding code rate control method according to claim 3 , wherein after the updating the first initial quantization parameter of the first picture frame to the second initial quantization parameter, the method further comprises: updating at least one of (i) a first maximum quantization parameter of the first picture frame to a second maximum quantization parameter according to a second quantization adjustment function, or (ii) a first minimum quantization parameter of the first picture frame to a second minimum quantization parameter according to a third quantization adjustment function. 7. The video encoding code rate control method according to claim 5 , further comprising: updating the second initial quantization parameter to a target initial quantization parameter according to a fourth quantization adjustment function based on the second initial quantization parameter being greater than a quantization parameter critical threshold. 8. The video encoding code rate control method according to claim 1 , wherein the obtaining the space domain complexity of the first picture frame comprises: obtaining an optimal intra-frame prediction cost of a first basic unit in the first picture frame; and obtaining the space domain complexity of the first picture frame according to the optimal intra-frame prediction cost of the first basic unit. 9. The video encoding code rate control method according to claim 1 , wherein the obtaining the time domain complexity of the first picture frame comprises: obtaining an optimal inter-frame prediction cost of a first basic unit in the first picture frame; and obtaining the time domain complexity of the first picture frame according to the optimal inter-frame prediction cost of the first basic unit. 10. The video encoding code rate control method according to claim 1 , further comprising: obtaining the first picture frame in the video stream; transmitting the compressed code stream to a server, wherein the obtaining the space domain complexity and the time domain complexity includes processing the first picture frame to obtain the space domain complexity and the time domain complexity of the first picture frame. 11. A video encoding code rate control apparatus, comprising: processing circuitry configured to obtain a space domain complexity and a time domain complexity of a first picture frame in a video stream, update a first target bit of the first picture frame to a second target bit according to the space domain complexity and the time domain complexity, update a first initial quantization parameter of the first picture frame to a second initial quantization parameter according to a ratio of the space domain complexity of the first picture frame and a space domain complexity of a second picture frame, and generate a compressed code stream of the first picture frame according to the second target bit and the second initial quantization parameter. 12. The video encoding code rate control apparatus according to claim 11 , wherein the processing circuitry is configured to obtain a motion estimation attribute of the first picture frame and a motion estimation attribute of the second picture frame, the motion estimation attribute of the first picture frame being a ratio of the space domain complexity to the time domain complexity of the first picture frame and indicating motion intensity of the first picture frame, the motion estimation attribute of the second picture frame being a ratio of the space domain complexity to a time domain complexity of the second picture frame and indicating motion intensity of the second picture frame, and the second picture frame being a previous picture frame of the first picture frame; and update the first target bit of the first picture frame to the second target bit according to a ratio of the motion estimation attribute of the first picture frame to the motion estimation attribute of the second picture frame. 13. The video encoding code rate control apparatus according to claim 11 , wherein the processing circuitry is configured to update the first initial quantization parameter of the first picture frame to the second initial quantization parameter according to (i) the ratio of the space domain complexity of the first picture frame to the space domain complexity of the second picture frame, and (ii) a ratio of the space domain complexity of

Assignees

Inventors

Classifications

  • the unit being bits, e.g. of the compressed video stream · CPC title

  • H04N19/124Primary

    Quantisation · CPC title

  • Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction · CPC title

  • involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109) · CPC title

  • according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11240511B2 cover?
A video encoding code rate control method of a terminal device is provided. A space domain complexity and a time domain complexity of a first picture frame in a video stream are obtained. A first target bit of the first picture frame is updated to a second target bit according to the space domain complexity and the time domain complexity. A first initial quantization parameter of the first pict…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/124. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Feb 01 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).