Selective resolution video encoding method, computer device, and readable storage medium

US11558639B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11558639-B2
Application numberUS-202016988501-A
CountryUS
Kind codeB2
Filing dateAug 7, 2020
Priority dateJun 20, 2018
Publication dateJan 17, 2023
Grant dateJan 17, 2023

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.

This application relates to a video encoding method performed at a computer device. The method includes: obtaining an input video frame; determining a processing parameter corresponding to the input video frame; selecting, from candidate processing manners according to the processing parameter, a target processing manner corresponding to the input video frame, the candidate processing manners comprising a full-resolution processing manner and a downsampling processing manner; and encoding the input video frame according to the target processing manner, to obtain encoded data corresponding to the input video frame. Therefore, the target processing manner of the input video frame can be flexibly selected, and the input video frame is encoded according to the target processing manner, to adaptively adjust a resolution of the input video frame, and improve video encoding quality.

First claim

Opening claim text (preview).

What is claimed is: 1. A video encoding method, applied to a computer device having a processor and memory storing a plurality of computer programs to be executed by the processor, the method comprising: obtaining an input video frame; determining a processing parameter corresponding to the input video frame by calculating a proportion of a target predicted type code block in a forward encoded video frame, the calculated proportion comprising a ratio between a number of code blocks of the target predicted type and a total number of code blocks in the forward encoded video frame; selecting, from candidate processing manners according to the processing parameter, a target processing manner corresponding to the input video frame, the candidate processing manners comprising a full-resolution processing manner and a downsampling processing manner, the selecting further including: comparing the calculated proportion of the target prediction type code block with a target threshold; when the calculated proportion exceeds the target threshold, selecting the downsampling processing manner as the target processing manner; and when the calculated proportion does not exceed the target threshold, selecting the full-resolution processing manner as the target processing manner; and encoding the input video frame according to the target processing manner, to obtain encoded data corresponding to the input video frame, the encoding including: adding the target processing manner to the encoded data corresponding to the input video frame when the processing parameter cannot be generated in a decoding process, the processing parameter including at least one of: original image feature information, rate-distortion cost information, and encoded data distortion information that correspond to the input video frame. 2. The method according to claim 1 , wherein encoding the input video frame according to the target processing manner comprises: adding target processing manner information corresponding to the target processing manner to frame-level encoding header information corresponding to the input video frame. 3. The method according to claim 2 , wherein the target processing manner information comprises a flag bit that describes the target processing manner; and adding the target processing manner information corresponding to the target processing manner to frame-level encoding header information corresponding to the input video frame comprises: when the target processing manner is the full-resolution processing manner, adding the flag bit assigned with a first value to the frame-level encoding header information corresponding to the input video frame; or when the target processing manner is the downsampling processing manner, adding the flag bit assigned with a second value to the frame-level encoding header information corresponding to the input video frame. 4. The method according to claim 1 , wherein determining the processing parameter corresponding to the input video frame further comprises: obtaining a frame type corresponding to the input video frame; and determining the processing parameter corresponding to the input video frame according to the frame type. 5. The method according to claim 1 , further comprising determining the target processing manner according to the calculated proportion. 6. The method according to claim 5 , wherein: calculating the proportion of a target predicted type code block in the forward encoded video frame comprises calculating a proportion of an intra-frame code block of the forward encoded video frame in the forward encoded video frame. 7. The method according to claim 1 , further comprising: obtaining a processing manner of processing a reference frame corresponding to the input video frame; and determining the target threshold according to the processing manner of processing the reference frame. 8. The method according to claim 1 , wherein determining the processing parameter and selecting the target processing manner comprises: obtaining a current quantization parameter corresponding to the input video frame; obtaining a quantization parameter threshold corresponding to the input video frame; and determining the target processing manner corresponding to the input video frame according to a size relationship between the current quantization parameter and the quantization parameter threshold. 9. The method according to claim 1 , wherein encoding the input video frame comprises: processing the input video frame according to the target processing manner, to obtain a current frame; and encoding the current frame in a resolution of the current frame, to obtain the encoded data corresponding to the input video frame. 10. A computer device, comprising memory and a processor, the memory storing a plurality of computer programs, the computer programs, when executed by the processor, causing the processor to perform a plurality of operations including: obtaining an input video frame; determining a processing parameter corresponding to the input video frame by calculating a proportion of a target predicted type code block in a forward encoded video frame, the calculated proportion comprising a ratio between a number of code blocks of the target predicted type and a total number of code blocks in the forward encoded video frame; selecting, from candidate processing manners according to the processing parameter, a target processing manner corresponding to the input video frame, the candidate processing manners comprising a full-resolution processing manner and a downsampling processing manner, the selecting including: comparing the calculated proportion of the target prediction type code block with a target threshold; when the calculated proportion exceeds the target threshold, selecting the downsampling processing manner as the target processing manner; and when the calculated proportion does not exceed the target threshold, selecting the full-resolution processing manner as the target processing manner; and encoding the input video frame according to the target processing manner, to obtain encoded data corresponding to the input video frame, the encoding including: adding the target processing manner to the encoded data corresponding to the input video frame when the processing parameter cannot be generated in a decoding process, the processing parameter including at least one of: original image feature information, rate-distortion cost information, and encoded data distortion information that correspond to the input video frame. 11. The computer device according to claim 10 , wherein encoding the input video frame according to the target processing manner comprises: adding target processing manner information corresponding to the target processing manner to frame-level encoding header information corresponding to the input video frame. 12. The computer device according to claim 10 , wherein determining the processing parameter corresponding to the input video frame further comprises: obtaining a frame type corresponding to the input video frame; and determining the processing parameter corresponding to the input video frame according to the frame type. 13. The computer device according to claim 10 , the plurality of operations further including: determining the target processing manner corresponding to the input video frame according to the proportion. 14. The computer device according to claim 10 , wherein determining the processing parameter and selecting the target processing manner comprises: obtaining a current quantization parameter corresponding to the input video fr

Assignees

Inventors

Classifications

  • Processing of motion vectors · CPC title

  • H04N19/146Primary

    Data rate or code amount at the encoder output · CPC title

  • between spatial and temporal predictive coding, e.g. picture refresh · CPC title

  • involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution · CPC title

  • Quantisation · 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 US11558639B2 cover?
This application relates to a video encoding method performed at a computer device. The method includes: obtaining an input video frame; determining a processing parameter corresponding to the input video frame; selecting, from candidate processing manners according to the processing parameter, a target processing manner corresponding to the input video frame, the candidate processing manners c…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/146. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 17 2023 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).