Adaptive GOP Sizing Based on Motion Complexity in Video Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveencoding operationVSAvoidrate distortion performance
Core Design Contradiction:
Ease of operationVSReliability

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.

Inventive Principle:
Principle #15Dynamics

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.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If GOP size is adaptively determined based on motion complexity, then rate distortion performance is improved, but device complexity increases

Engineering Contradiction:
Improverate distortion performanceVSAvoidencoding process
Core Design Contradiction:
ReliabilityVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12568222B2Group of pictures size determination method and electronic device
Publication Date: 2026.03.03 ALIBABA (CHINA) CO LTD
  • US12568222B2 patent drawing
  • US12568222B2 patent drawing
  • US12568222B2 patent drawing

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.