A code rate control method and device for video coding
A bit rate control and video coding technology, applied in the field of video coding, can solve the problems of coded image quality degradation, ignoring image complexity, etc., and achieve the effect of accurate control
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] See figure 1 , figure 1 It is a flow chart of a video coding rate control method provided in Embodiment 1 of the present application, as shown in figure 1 As shown in , the bit rate control method for video coding provided in the embodiment of the present application includes:
[0087] S101: Acquire a first frame of image to be encoded and a second frame of image after encoding, where the second frame of image is an image of a previous frame of the first frame of image.
[0088] S102: Calculate a difference degree between each pixel in the first frame image and the second frame image, and determine a target number of bits allocated to the first frame image based on the difference degree.
[0089] In a specific implementation, when encoding the first frame of image to be encoded, it is necessary to know the target number of bits allocated for the first frame of image, and calculate the quantization parameter of the first frame of image, so that, according to the first ...
Embodiment 2
[0105] See figure 2 , figure 2 It is a flow chart of another video coding rate control method provided in Embodiment 1 of the present application, as shown in figure 2 As shown in , the bit rate control method for video coding provided in the embodiment of the present application includes:
[0106] S201: Acquire a first frame of image to be encoded and a second frame of image after encoding, where the second frame of image is an image of a previous frame of the first frame of image.
[0107] S202: Calculate a difference degree between each pixel in the first frame image and the second frame image, and determine a target number of bits allocated to the first frame image based on the difference degree.
[0108] S203: Determine whether the degree of difference is greater than or equal to a preset threshold; if the degree of difference is greater than or equal to the preset threshold, determine that the scenes of the first frame image and the second frame image are different,...
Embodiment 3
[0151] Based on the same application idea, Embodiment 3 of the present application also provides a video coding rate control device corresponding to the video coding rate control methods provided in Embodiment 1 and Embodiment 2. Since the device in the embodiment of the present application solves the The principle of the problem is similar to the bit rate control method of video coding in the first and second embodiments of the present application, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
[0152] see image 3 As shown, it is one of the functional block diagrams of a video coding rate control device 300 provided in Embodiment 3 of the present application, see Figure 4 As shown, it is the second functional block diagram of a video coding rate control device 300 provided in Embodiment 3 of the present application, wherein the video coding rate control device 300 includes:
[0153] An acquisitio...
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