Real-time video encoder rate control using dynamic resolution switching
US-2017208328-A1 · Jul 20, 2017 · US
US11558639B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11558639-B2 |
| Application number | US-202016988501-A |
| Country | US |
| Kind code | B2 |
| Filing date | Aug 7, 2020 |
| Priority date | Jun 20, 2018 |
| Publication date | Jan 17, 2023 |
| Grant date | Jan 17, 2023 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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
Processing of motion vectors · CPC title
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
Related publications grouped by family.
Answers are generated from the same data shown on this page.