Adaptive GOP Encoding for Dynamic Bitrate Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video encoding technologies face challenges in efficiently encoding video files due to the need for uniform quantization settings across all content, leading to increased file sizes and potential artifacts in difficult portions of the video, which can result in corrupted frames if neighboring blocks contain errors.

Innovation Solution

A dynamic encoding system that segments video files into scenes and adjusts quantization parameter (QP) settings based on detected encoding error characteristics within Group of Pictures (GOPs), allowing for adaptive quantization and bitrate allocation to optimize encoding for specific content areas, thereby reducing file size and preventing artifacts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If uniform quantization settings are applied across all video content, then encoding simplicity is maintained, but file size increases and artifacts appear in difficult portions

Engineering Contradiction:
Improveencoding simplicityVSAvoidfile size
Core Design Contradiction:
Ease of manufactureVSQuantity of substance

Solution Approach 1:

The patent implements adaptive quantization where different QP settings are applied to different regions or portions of video content based on their specific encoding requirements. Difficult portions receive higher QP values while easier portions use lower QP values, optimizing the balance between file size and quality locally rather than uniformly across the entire video.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic adjustment of quantization parameters during the encoding process. The encoder analyzes video content characteristics in real-time and modifies QP settings adaptively based on detected encoding difficulty, transitioning from static uniform quantization to dynamic adaptive quantization to optimize compression efficiency.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If higher quantization settings are used to reduce file size, then compression efficiency improves, but encoding errors and artifacts increase in difficult portions

Engineering Contradiction:
Improvefile sizeVSAvoidencoding accuracy
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent applies different quantization levels to different video portions based on their encoding characteristics. Difficult portions with complex textures or motion patterns receive appropriate QP adjustments to prevent artifacts, while simpler portions can use aggressive compression, thereby maintaining overall reliability while optimizing file size.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements a feedback mechanism where the encoder monitors encoding quality and error characteristics during the encoding process. Based on this feedback, the system dynamically adjusts quantization parameters to prevent artifacts and encoding errors, ensuring that quality degradation remains within acceptable thresholds while maximizing compression.

Inventive Principle:
Principle #23Feedback

3Reliability

If the entire video is encoded according to the most difficult portion's requirements, then encoding quality is maintained across all content, but file size increases unnecessarily

Engineering Contradiction:
Improveencoding qualityVSAvoidfile size
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements region-adaptive quantization where each video portion is evaluated independently and assigned appropriate QP settings based on its specific difficulty characteristics. This eliminates the need to apply the most stringent encoding requirements uniformly across the entire video, reducing file size while maintaining quality where needed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically changes quantization parameters based on content analysis. By adjusting QP values according to the specific characteristics of different video portions (such as motion complexity, texture detail, and scene changes), the system optimizes the trade-off between quality and file size for each region rather than using a single global setting.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10778991B1Adaptive group of pictures (GOP) encoding
Publication Date: 2020.09.15 AMAZON TECH INC
  • US10778991B1 patent drawing
  • US10778991B1 patent drawing
  • US10778991B1 patent drawing

AI summary

Encoding of a video file includes determining a plurality of scenes associated with a video file, and determining at least one group of pictures (GOP). Starting sequentially from a beginning frame of the video file, the system identifies a first GOP having a first encoding error characteristic. The system changes a bitrate allocation setting from a first setting to a second setting based on the encoding error characteristic. The system identifies a second frame having a second encoding error characteristic, and changes a second bitrate allocation setting from the second setting to a third setting based on the second encoding error characteristic. The system generates an encoded video file that includes an encoded plurality of scenes.