Video frame encoding method and terminal
A video coding and video frame technology, applied in the video frame coding method and terminal field, can solve problems such as network impact, high peak bit rate, poor coding quality, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] The embodiment of the present invention provides a video frame encoding method, such as figure 2 As shown, the method may include:
[0042]S101. Acquire the i-th video frame of the image group, perform video encoding on the i-th video frame using the first encoding rule, and calculate the actual number of consumed bits corresponding to the i-th video frame after encoding, where i is greater than or equal to 1, and is less than or equal to N, where N is the total number of video frames in the image group.
[0043] A video frame encoding method provided by an embodiment of the present invention is applied to a scene where a terminal encodes a video frame when using an application to perform video communication or video shooting and other video-related functions, for example, video conference, live broadcast, VOIP, etc. Scenes.
[0044] It should be noted that, in the embodiment of the present invention, the video frame is composed of a group of pictures (GOP), and the ...
Embodiment 2
[0154] Based on the realization of Embodiment 1, the process of performing video coding on the i-th video frame by using the first coding rule in S101 in a video frame coding method provided by the embodiment of the present invention may include: S201-206. Such as Figure 6 As shown, the details are as follows:
[0155] S201. When the i-th video frame belongs to the second video frame to be compensated, obtain the third compensation allocation bit number of the i-th video frame from the second compensation allocation bit number corresponding to the second video frame to be compensated, and the second The video frame to be compensated is determined after encoding the video frame before the i-th video frame.
[0156] S202. Calculate a second quantization parameter of the i-th video frame based on the third compensation allocation bit number.
[0157] In the embodiment of the present invention, when the terminal encodes the i-th video frame, it adopts the first encoding rule, b...
Embodiment 3
[0173] Under the same inventive concept based on embodiment one and embodiment two, as Figure 7 As shown, the embodiment of the present invention provides a terminal 1, the terminal 1 may include:
[0174] An acquisition unit 10, configured to acquire the i-th video frame of the image group,
[0175] An encoding unit 11, configured to perform video encoding on the i-th video frame by using a first encoding rule,
[0176] The statistics unit 12 is used to calculate the actual number of consumed bits corresponding to the i-th video frame after encoding, wherein i is greater than or equal to 1 and less than or equal to N, and N is the total number of video frames in the image group;
[0177] A detection unit 13, configured to detect whether the i-th video frame is in a scene switching state based on the actual number of consumed bits, the initial average code rate of the image group, and the video frame detection rule;
[0178]A determining unit 14, configured to determine the...
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