H.264 code rate control frame skipping optimization method
A bit rate control and optimization method technology, applied in the field of video coding and decoding, can solve problems such as seldom considering the influence of uncoded frames, low image quality, and less special processing of the first three frames, so as to achieve the effect of good subjective video quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] In video encoding and decoding, when the captured object undergoes violent movement or the scene is switched, the actual bit rate generated by the encoding increases sharply, causing the buffer to overflow, resulting in the loss of encoded data and affecting the image quality. In order to solve this problem, relevant researchers at home and abroad have proposed many algorithms and methods, but these methods still have some shortcomings: the set threshold is too simple, the complexity algorithm cannot reflect the degree of violent motion of the image well, and does not take into account the unforeseen The case of encoded frames and so on. The present invention has launched research and innovation for these present situations, and proposes a kind of H.264 code rate control frame skip optimization method, see figure 1 , including the following steps:
[0030] (1) Set initialization related parameters: set the target code rate T=targetBitRate; set the initial buffer occupa...
Embodiment 2
[0048] A kind of H.264 code rate control frame skip optimization method is the same as embodiment 1, step (3) described setting frame skip related threshold, including setting buffer occupancy rate buf i 4 thresholds, motion complexity C i The 4 thresholds of and the bit factor a of the uncoded frame i thresholds, including:
[0049] (3a) Set the buffer occupancy buf i The 4 thresholds are B 1 = 25%, B 2 = 50%, B 3 = 60%, B 4 = 80%.
[0050] (3b) Set motion complexity C i 4 thresholds, the experiment shows that the 4 thresholds are c 1 = 30%, c 2 = 50%, c 3 = 60%, c 4 = 80%.
[0051] (3c) Set the bit factor threshold β of uncoded frames to 60%.
[0052] The present invention firstly sets the thresholds of 4 buffer occupancy ratios corresponding to the 4 buffer occupancy ratios, which not only avoids the waste of bandwidth when the buffer occupancy ratio is too low, but also prevents the buffer occupancy ratio from being too high to cause overflow and data loss . ...
Embodiment 3
[0054] A kind of H.264 code rate control optimization method is the same as embodiment 1-2, and from the 4th frame described in the step (7) of the present invention, carries out normative frame skip processing, comprises the following steps:
[0055] (7.1) Compare buffer occupancy buf i and buffer occupancy threshold B j The size of j=1, 2, 3, 4, if buf i >B j , then continue to compare buf i and B j+1 the size of up to buf i and B 4 the size of buf if i >B 4 , the frame is skipped, and step (9) is performed after the frame skips.
[0056] (7.2) Judging whether to skip frames according to the motion complexity: if the buffer occupancy rate buf i j , j=1, 2, 3, 4, then further judge whether to skip frame according to motion complexity, if motion complexity is greater than motion complexity threshold value, then skip frame, execute step (9) after frame skipping, otherwise, execute step ( 7.3).
[0057] (7.3) Judging whether frame skipping according to the bit factor of...
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