Dynamic Resolution Switching for Video Rate Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional video encoders face challenges in maintaining a constant bitrate due to fluctuations in video complexity, leading to bitrate overshoots or undershoots, which affect video quality and user experience, as they struggle to adjust quantization parameters effectively within maximum and minimum thresholds.

Innovation Solution

The implementation of dynamic resolution switching and reference frame scaling, allowing for single-pass and two-pass encoding methods to adjust encoding parameters, such as quantization parameters and motion search areas, to achieve a target bitrate by scaling video resolution and motion search areas dynamically.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional video encoders use fixed quantization parameters within minimum and maximum thresholds, then encoding stability is maintained, but bitrate control precision deteriorates leading to overshoots or undershoots

Engineering Contradiction:
Improveencoding stabilityVSAvoidbitrate control precision
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent applies dynamics by making the quantization parameter adjustable and adaptive rather than fixed. The encoder dynamically modifies the quantization parameter based on real-time feedback from bitrate measurement, allowing the system to respond to changing video complexity and achieve precise bitrate control while maintaining encoding stability through controlled adjustments within acceptable ranges.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements feedback mechanisms where the encoder continuously monitors the actual bitrate after encoding and uses this information to adjust subsequent quantization parameters. This closed-loop feedback system enables the encoder to correct bitrate deviations, preventing both overshoots and undershoots by learning from previous encoding results and adapting to the specific characteristics of each video sequence.

Inventive Principle:
Principle #23Feedback

2Productivity

If video complexity fluctuations are not addressed, then encoding speed is maintained, but bitrate consistency deteriorates

Engineering Contradiction:
Improveencoding speedVSAvoidbitrate consistency
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The patent applies preliminary action by analyzing video complexity characteristics before encoding and pre-adjusting quantization parameters accordingly. The system performs preliminary assessment of scene complexity, motion levels, and detail content to proactively set appropriate quantization values, preventing bitrate fluctuations before they occur and maintaining consistent bitrate without compromising encoding speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements parameter changes by dynamically adjusting quantization parameters based on detected video complexity variations. When high complexity is detected, the encoder increases quantization to reduce bitrate; when complexity is low, it decreases quantization to maintain quality. This adaptive parameter adjustment maintains bitrate consistency while preserving encoding efficiency across varying video content.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10356406B2Real-time video encoder rate control using dynamic resolution switching
Publication Date: 2019.07.16 GOOGLE LLC
  • US10356406B2 patent drawing
  • US10356406B2 patent drawing
  • US10356406B2 patent drawing

AI summary

Dynamic resolution switching achieves a target bitrate for single-pass and two-pass encoding of a video stream. A single-pass encoder determines whether an encoding bitrate for a frame meets a target bitrate. If not, a quantization parameter used to encode the frame is compared against minimum and maximum threshold values to determine whether the video resolution needs to be adjusted. A two-pass encoder encodes an input frame using a quantization parameter and determines whether video resolution for encoding the frame during a second pass may be adjusted based on the bitrate at which the input frame is encoded. The resolution may be adjusted based on encoder limitations with respect to a motion search area used to code a frame.