Code rate adjusting method and device in coding process

An adjustment method and coding technology, applied in the Internet field, can solve the problems of poor picture quality, inconvenience, and wasted bandwidth of live video, so as to ensure the viewing experience and improve convenience.

CN110876060AActive Publication Date: 2020-03-10CHINANETCENT TECH
4 Cites 7 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2020-03-10

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a code rate adjusting method and device in a coding process, and the method comprises the steps: determining a complexity adjustment factor of a target video frame according tothe frame type and duration of the target video frame for the target video frame which has been subjected to complexity analysis; acquiring a current video frame to be coded, and calculating the long-term complexity corresponding to the current video frame according to the complexity of the target video frame subjected to the complexity analysis and the complexity adjustment factor; determining atarget value of the bit number of each pixel corresponding to the current video frame according to the long-term complexity and a preset reference value of the bit number of each pixel; and determining a target code rate value used for current coding according to the target value of the bit number of each pixel and the configuration parameter of the target video to which the current video frame belongs. According to the technical scheme provided by the invention, the convenience of code rate adjustment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of the Internet, in particular to a code rate adjustment method and device in the encoding process. Background technique

[0002] With the continuous development of Internet technology, a large number of webcast platforms have emerged. While the live webcast platform brings real-time video experience to users, it also puts forward higher requirements on the network bandwidth of users. Currently, webcast platforms usually limit the bit rate of live video, so that the bit rate after limitation can adapt to the bandwidth that users can provide, thereby providing users with a smooth video experience.

[0003] Currently, when limiting the bit rate of live video, an upper limit is usually set, and the real-time bit rate of live video usually cannot exceed the upper limit of bit rate. However, if the bit rate upper limit is set too low, the picture quality of the live video will be poor; if the bit rate upper lim...

Examples

Embodiment Construction

[0013] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0014] This application provides a bit rate adjustment method in the encoding process, please refer to figure 1 , the method may include the following steps.

[0015] S1: For the target video frame whose complexity analysis has been completed, determine the complexity adjustment factor of the target video frame according to the frame type and duration of the target video frame.

[0016] In this embodiment, when analyzing the complexity of the current video frame, in order to reduce the amount of data processed each time, the current video frame may be divided into a specified number of picture blocks. Wherein, each divided picture block may have the same size. In addition, the size of the divided picture block may be determined accor...