Video Encoder Quantization Parameter Adjustment for Bandwidth Stability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video encoding technologies face challenges in maintaining stable bandwidth and traffic efficiency due to varying complexity and richness of video frames, leading to inconsistent code rates and increased bandwidth occupation.

Innovation Solution

A method and apparatus for dynamically adjusting the quantization parameter of an encoder based on actual and desired encoding data amounts, calculated using historical data and code rates, to maintain constant encoding data and code rates, thereby stabilizing bandwidth and traffic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If the quantization parameter is adjusted to maintain constant code rate, then the stability of bandwidth and traffic is improved, but the complexity of the encoding system increases

Engineering Contradiction:
Improvestability of bandwidth and trafficVSAvoidcomplexity of encoding system
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The patent implements a feedback mechanism where the encoder monitors the actual code rate and compares it with the target code rate, then adjusts the quantization parameter accordingly. This closed-loop control system continuously adapts the encoding parameters to maintain stable bandwidth and traffic while managing system complexity through automated feedback-driven adjustments.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent dynamically changes the quantization parameter based on the difference between actual and target code rates. By adjusting this key encoding parameter in real-time, the system maintains constant code rate and stabilizes bandwidth occupation without requiring fundamental changes to the encoding architecture.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If real-time adjustment of quantization parameter is implemented, then the efficiency of maintaining constant code rate is improved, but the computational load increases

Engineering Contradiction:
Improveefficiency of maintaining constant code rateVSAvoidcomputational load
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent applies partial adjustment by modifying the quantization parameter only by a calculated difference value rather than complete re-encoding. This partial action approach maintains constant code rate efficiently while avoiding the excessive computational load of full re-encoding, striking a balance between productivity and energy consumption.

Inventive Principle:
Principle #16Partial or excessive action

3Manufacturing precision

If the encoding data amount is increased to improve picture quality, then the picture clarity is improved, but the bandwidth occupation increases

Engineering Contradiction:
Improvepicture clarityVSAvoidbandwidth occupation
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The patent uses parameter changes in the quantization value to control the trade-off between picture quality and bandwidth. By adjusting the quantization parameter dynamically, the system can achieve acceptable picture clarity while maintaining constant and controlled bandwidth occupation, preventing excessive data transmission.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12155833B2Method and apparatus for encoding video, and storage medium
Publication Date: 2024.11.26 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US12155833B2 patent drawing
  • US12155833B2 patent drawing
  • US12155833B2 patent drawing

AI summary

Provided are a method and apparatus for encoding a video, and a storage medium, which relate to the field of cloud computing, in particular to the video encoding technology. The method includes: acquiring an actual encoding data amount and an encoding frame number of an encoder in a historical time period; calculating a desired encoding data amount in the historical time period according to a code rate of the encoder and the encoding frame number; and comparing the actual encoding data amount and the desired encoding data amount, and adjusting a quantization parameter of the encoder according to a comparison result to instruct the encoder to continue encoding using the adjusted quantization parameter.