Dynamic Video Code Rate Control for Scene-Change Bit Spikes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video encoding technologies struggle to adaptively adjust bit allocation and quantization parameters in response to changes in video content during real-time video calls, leading to increased bit consumption, time delays, and video freezing phenomena.

Innovation Solution

A method that involves obtaining space and time domain complexities of a video frame to dynamically update target bits and quantization parameters, using motion estimation attributes and quadratic rate-distortion models to adjust bit allocation and quantization, thereby smoothing video transmission and reducing peak code rates during scene changes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If average allocation or predetermined weight allocation is used for bit allocation at frame level, then continuous natural scenes can be encoded with desirable effect, but scene changes cause large bit consumption and time delay

Engineering Contradiction:
Improvevideo encoding qualityVSAvoidtime delay
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent applies dynamics by making the bit allocation and quantization parameter adjustment adaptive to changing video content characteristics. The encoder dynamically adjusts quantization parameters based on detected scene changes, motion complexity, and spatial complexity, transforming the static allocation into a dynamic response system that adapts to real-time conditions.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements parameter changes by modifying quantization parameters (QP) and bit allocation based on detected scene characteristics. When scene changes are detected, the system adjusts QP values and target bit allocation to match the new content complexity, thereby controlling bit consumption and preventing time delay during transitions.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If average allocation or predetermined weight allocation is used for bit allocation at frame level, then continuous natural scenes can be encoded with desirable effect, but scene changes cause large bit consumption

Engineering Contradiction:
Improvevideo encoding qualityVSAvoidbit consumption
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The system dynamically adjusts quantization parameters and bit allocation based on real-time detection of scene changes and content complexity metrics, allowing efficient bit distribution that responds to actual video content requirements rather than using fixed allocation patterns.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes quantization parameters and target bit allocation dynamically based on detected scene characteristics. During scene changes with high complexity, the system adjusts QP values and bit allocation to optimize compression efficiency while maintaining acceptable quality, thereby controlling overall bit consumption.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If fixed quantization parameters are used during encoding, then encoding process is simple, but the encoder cannot adapt to video content changes causing code rate runaway

Engineering Contradiction:
Improveencoding process complexityVSAvoidadaptability to video content changes
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements feedback mechanisms by detecting scene changes and content complexity metrics during encoding, then using this information to dynamically adjust quantization parameters and bit allocation. This closed-loop approach allows the encoder to respond to actual video content characteristics and prevent code rate runaway.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The encoder performs self-adjustment by automatically detecting scene changes and modifying its own quantization parameters and bit allocation based on detected content characteristics, eliminating the need for external control while maintaining adaptability to varying video content.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP3780610B1Video coding code rate control method, apparatus and device, and storage medium
Publication Date: 2025.10.15 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • EP3780610B1 patent drawingFigure 1A~1B
  • EP3780610B1 patent drawingFigure 2~3
  • EP3780610B1 patent drawingFigure 4~5

AI summary

This disclosure discloses a video encoding code rate control method, apparatus, and device, and a storage medium. The method includes: obtaining a space domain complexity and a time domain complexity of a first picture frame in a video stream; updating a first target bit of the first picture frame to a second target bit according to the space domain complexity and the time domain complexity, and updating a first initial quantization parameter of the first picture frame to a second initial quantization parameter according to the space domain complexity and the time domain complexity; and generating a compressed code stream of the first picture frame according to the second target bit and the second initial quantization parameter.