Dynamic Bit Rate Control for Video Frame Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video transmission technologies fail to ensure stability of short-time bit rates during video coding, particularly when GOP video frames are large, as they prioritize overall bit rate allocation over short-term stability.
Innovation Solution
A data coding method that adjusts the target bit rate of a bit-rate-control-unit data frame based on the difference between its real and target bit rates, allowing for flexible frame length settings and ensuring stable bit rates in short durations by dynamically adjusting the bit rate according to the actual coding case of the previous bit-rate-control-unit data frame.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If GOP video frame is used as bit-rate-control-unit with large size, then overall bit rate can reach target bit rate, but stability of short-time bit rate deteriorates
Solution Approach 1:
The patent divides the GOP video frame (bit-rate-control-unit) into multiple smaller sub-units for independent bit rate control. Specifically, it segments the control into I-frame, P-frame, and B-frame portions, allowing each segment to have its own target bit rate allocation. This segmentation enables fine-grained adjustment of bit rates in short time intervals while maintaining overall bit rate targets, thus resolving the contradiction between achieving overall bit rate and maintaining short-time stability.
Solution Approach 2:
The patent implements dynamic adjustment of target bit rates for different frame types (I, P, B frames) within the GOP structure. The system dynamically calculates and adjusts the target bit rate for each frame based on actual encoding conditions and previous frame performance, allowing the bit rate control to adapt to short-time variations while maintaining overall stability. This dynamic approach enables the system to respond to changing conditions within the GOP structure.
2Ease of manufacture
If fixed GOP structure is used for bit rate control, then overall bit rate allocation is simplified, but flexibility in adapting to actual coding requirements deteriorates
Solution Approach 1:
The patent makes the bit-rate-control-unit structure dynamic by allowing flexible determination of frame lengths and types within the GOP. The system can adjust the number and types of frames (I, P, B frames) based on actual coding requirements and content characteristics, while still maintaining a structured approach to bit rate control. This dynamic structure provides both simplicity in control and flexibility in adaptation.
Solution Approach 2:
The patent applies different bit rate control strategies to different portions of the GOP structure. Each frame type (I-frame, P-frame, B-frame) receives customized target bit rate allocation based on its specific characteristics and importance. This local quality approach allows the system to optimize bit rate distribution across different frame types while maintaining overall control simplicity.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application disclose a data coding method and apparatus, a storage device, and a terminal device that are applied to the field of information processing technologies. The method includes: determining, by a data transmitting-end, a length of a first bit-rate-control-unit data frame according to an actual requirement, determining a first target bit rate of a first bit-rate-control-unit, then adjusting the first target bit rate according to a first difference value between a real bit rate of a data frame of a previous bit-rate-control-unit (that is, a second bit-rate-control-unit) and a second target bit rate of the data frame of the previous bit-rate-control-unit, and coding the first bit-rate-control-unit data frame according to the adjusted first target bit rate. According to the embodiments of this application, the length of the first bit-rate-control-unit data frame can be flexibly set, and the first target bit rate is adjusted according to an actual coding case of the previous bit-rate-control-unit data frame, so that after the first bit-rate-control-unit is coded according to the adjusted first target bit rate, a requirement for a stable bit rate in any duration, particularly, in a short time, is satisfied.