Multi-Pass Rate Control for Video Splicing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video compression systems face challenges in achieving high compression performance while adhering to bandwidth and delay constraints, leading to issues such as decoder buffer overflow or underflow, and suboptimal video quality due to inconsistent bit allocation across frames and splices.

Innovation Solution

The implementation of a multi-pass rate control encoding system that divides the video sequence into splices, allowing for parallel processing and dynamic bit allocation based on overlapping frames' complexity, enabling efficient bit distribution and improved quality by adjusting bit allocation between splices based on neighboring frames' coding difficulty.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If rate control algorithms vary the number of bits allocated to each picture or block to satisfy bandwidth constraints, then decoder buffer overflow and underflow are avoided, but video quality deteriorates due to suboptimal bit allocation

Engineering Contradiction:
Improvebuffer overflow/underflow avoidanceVSAvoidvideo quality
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The video sequence is divided into multiple splices, and rate control is performed independently for each splice. This segmentation allows tailored bit allocation strategies for different splice types (e.g., intra-splice vs. inter-splice boundaries), optimizing video quality while maintaining buffer constraints.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different bit allocation strategies are applied to different regions of the video sequence based on their specific characteristics. For example, splice boundary frames receive different treatment than interior frames, with adjusted quantization parameters and rate control targets to maintain quality at transition points.

Inventive Principle:
Principle #3Local quality

2Productivity

If a single-pass encoding approach is used to reduce computational complexity, then encoding speed increases, but bit rate control accuracy deteriorates leading to inconsistent video quality

Engineering Contradiction:
Improveencoding speedVSAvoidbit rate control accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The encoding process is divided into multiple passes, where the first pass performs analysis and rough encoding, and subsequent passes refine the bit allocation and re-encode specific segments. This multi-pass approach achieves both computational efficiency and accurate rate control.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The first encoding pass performs preliminary analysis of the video sequence, collecting statistics on complexity, motion, and content characteristics. This preliminary information is then used to optimize bit allocation in subsequent passes, improving overall rate control accuracy.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If uniform bit allocation is applied across all frames to simplify rate control, then implementation complexity decreases, but video quality deteriorates due to inconsistent allocation across splices with varying complexity

Engineering Contradiction:
Improverate control implementation complexityVSAvoidvideo quality consistency
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The rate control system applies different bit allocation strategies to different splices based on their specific characteristics. Each splice receives a customized rate control profile that considers its content complexity, motion levels, and position in the sequence, ensuring consistent quality across varying splice types.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts rate control parameters such as quantization parameters, target bit rates, and buffer targets based on the specific characteristics of each splice. These parameter changes are made automatically based on pre-analyzed statistics, maintaining quality consistency without requiring complex real-time decision-making.

Inventive Principle:
Principle #35Parameter changes

4Manufacturing precision

If more bits are allocated to complex splices to maintain quality, then video quality in those regions improves, but overall bit rate constraints are violated causing buffer overflow

Engineering Contradiction:
Improvevideo quality in complex regionsVSAvoidbit rate constraint compliance
Core Design Contradiction:
Manufacturing precisionVSReliability

Solution Approach 1:

The rate control system uses feedback from the first encoding pass to adjust bit allocation in subsequent passes. Statistics collected during preliminary encoding provide information about actual bit consumption and quality metrics, which are used to refine the rate control strategy and ensure compliance with overall bit rate constraints while maintaining quality in complex regions.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically changes rate control parameters based on splice complexity. For complex splices, the system adjusts quantization parameters and local bit rate targets to maintain quality, while simultaneously adjusting global parameters to ensure overall constraint compliance. This is achieved through a hierarchical rate control structure that operates at both local and global levels.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11277619B2Rate control for video splicing applications
Publication Date: 2022.03.15 DOLBY LABORATORIES LICENSING CORP
  • US11277619B2 patent drawing
  • US11277619B2 patent drawing
  • US11277619B2 patent drawing

AI summary

Rate control techniques are provided for encoding an input video sequence into a compressed coded bitstream with multiple coding passes. The final coding pass may comprise final splices with non-overlapping frames that do not extend into neighboring final splices. A final splice in the final coding pass may correspond to at least one non-final splice in a non-final coding pass. A non-final splice may have overlapping frames that extend into neighboring final splices in the final coding pass. The overlapping frames in the non-final splice may be used to derive complexity information about the neighboring final splices. The complexity information about the neighboring final splices, as derived from the overlapping frames, may be used to allocate or improve rate control related budgets in encoding the final splice into the compressed coded bitstream in the final coding pass.