Adaptive GOP Sizing Based on Motion Complexity in Video Encoding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional video encoding methods maintain a fixed Group Of Pictures (GOP) size, leading to poor rate distortion performance.
Innovation Solution
Adaptively determine the GOP size based on motion complexity of picture sets, selecting a target size that matches the motion complexity of the to-be-encoded frames, enhancing encoding efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a fixed GOP size is used to facilitate encoding operation, then ease of operation is improved, but rate distortion performance deteriorates
Solution Approach 1:
The patent applies dynamics by transitioning from a fixed GOP size to a dynamically adaptive GOP size that changes based on motion complexity. The encoder calculates motion complexity metrics (such as motion vector magnitude, motion vector difference, or prediction error) for different candidate GOP sizes and selects the optimal size adaptively. This allows the encoding structure to dynamically adjust to content characteristics, resolving the contradiction between operational simplicity and encoding performance.
Solution Approach 2:
The patent changes the parameter of GOP size from a fixed constant to a variable parameter that adapts based on motion complexity. By computing motion complexity for multiple candidate GOP sizes and selecting the optimal one, the system transforms the GOP size parameter to respond to content characteristics, thereby improving rate distortion performance while maintaining encoding feasibility through automated selection.
2Reliability
If GOP size is adaptively determined based on motion complexity, then rate distortion performance is improved, but device complexity increases
Solution Approach 1:
The patent segments the encoding process into distinct stages: motion complexity calculation for multiple candidate GOP sizes, evaluation of rate distortion metrics for each candidate, and selection of the optimal GOP size. This segmentation allows the complex adaptive process to be broken down into manageable computational steps, making the increased device complexity more acceptable by organizing the computation efficiently.
Solution Approach 2:
The patent computes motion complexity for multiple candidate GOP sizes rather than evaluating all possible sizes. By selecting a limited set of candidate sizes (e.g., common GOP sizes like 16, 32, 64) and evaluating only those, the system performs partial action that achieves good rate distortion performance without the excessive computational cost of evaluating every possible GOP size, thus balancing performance improvement with acceptable device complexity.
Data Source
AI summary
Embodiments of the present disclosure provide a method, an electronic device and a computer storage medium for determining the size of group of pictures. The method includes: determining a plurality of candidate sizes; computing motion complexity of picture sets corresponding to the plurality of candidate sizes; and performing preset operation based on the motion complexity of each of the picture sets, and selecting a target size from the plurality of candidate sizes as the GOP size according to the operation result, the GOP including continuous to-be-encoded picture frames in the picture set corresponding to the target size.


