Rate-control-based video coding method and device
A technology of video coding and bit rate control, applied in digital video signal modification, TV, electrical components, etc., can solve the problems of network congestion and packet loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com