Multi-Pass Video Encoding Rate Control for Bandwidth-Adaptive Streaming

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Electronic devices face challenges in streaming video data due to varying device bandwidths, leading to increased latency and inefficiencies as they switch between different video streams to accommodate available bandwidth, which affects image quality and synchronization.

Innovation Solution

Implementing rate control methods for multiple pass video encoding that include scaling quantization parameters, adaptive quantization matrices, and coefficient masking, along with data partitioning into layers sent as a single stream, allowing real-time adjustment based on device bandwidth.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple video streams with different resolutions are sent to accommodate varying device bandwidths, then adaptability to device bandwidth is improved, but latency increases due to synchronization requirements and stream switching

Engineering Contradiction:
Improveadaptability to device bandwidthVSAvoidlatency
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The video data is partitioned into multiple layers (base layer and enhancement layers) that can be independently transmitted and decoded. This segmentation allows the receiver to selectively decode layers based on available bandwidth without requiring complete stream switching, thereby reducing latency while maintaining adaptability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adjusts the number of decoded layers based on real-time bandwidth availability. The receiver can flexibly decode the base layer alone when bandwidth is limited, or decode additional enhancement layers when bandwidth increases, creating a dynamic adaptation mechanism that eliminates the need for stream switching and reduces latency.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If multiple video streams are used to match device bandwidth, then bandwidth adaptation is improved, but device complexity increases due to stream switching and synchronization requirements

Engineering Contradiction:
Improvebandwidth adaptationVSAvoidstream switching and synchronization
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

Multiple video streams are merged into a single hierarchical structure where the base layer and enhancement layers are combined in one stream. This merging eliminates the need for stream switching and synchronization operations, reducing device complexity while preserving bandwidth adaptation capabilities through selective layer decoding.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The single stream structure serves multiple functions: it provides the base video signal, carries enhancement layers for quality improvement, and enables bandwidth adaptation through selective decoding. This multi-functionality eliminates the need for separate stream management mechanisms, reducing device complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If lossy video compression is used to preserve large quantities of image data, then data compression efficiency is improved, but image quality deteriorates due to quantization distortion

Engineering Contradiction:
Improvedata compression efficiencyVSAvoidimage quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

Different quantization parameters are applied to different layers of video data. The base layer uses stronger quantization for efficient compression, while enhancement layers use weaker quantization to preserve quality for critical details. This local quality differentiation allows the system to achieve high compression efficiency overall while maintaining image quality where it matters most.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The base layer is encoded first with aggressive quantization to establish the foundation for compression efficiency. Enhancement layers are then encoded with preserved quality characteristics, allowing the receiver to reconstruct high-quality video when bandwidth permits while maintaining the compression benefits of the base layer.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250373814A1Systems and methods of rate control for multiple pass video encoding
Publication Date: 2025.12.04 APPLE INC
  • US20250373814A1 patent drawing
  • US20250373814A1 patent drawing
  • US20250373814A1 patent drawing

AI summary

This disclosure is directed to systems and methods of rate control in multiple pass video encoding. The video encoder may complete multiple encoding passes for slices of an image. Rate control algorithms may be implemented that scale the quantization step size and quantization matrix values depending on the determined size of the image slices. This may enable the size of slices to be adjusted based on size parameters for the image data.