Encoder-Sensitive Stream Buffer Management via HRD Occupancy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The transport of high-resolution media, such as video and audio, is resource-intensive and sensitive to timing precision, with existing mechanisms like UDP lacking guaranteed ordering and delivery, making accurate buffer sizing challenging to optimize resource utilization and provide a consistent user experience.
Innovation Solution
A system using a hypothetical reference decoder (HRD) buffer model to manage output buffer occupancy by adjusting based on the encoder's current HRD buffer occupancy, calculating target durations for packet release to prevent underflow or overflow, and dynamically sizing the output buffer based on time duration of picture data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If the output buffer is underallocated, then resource utilization is optimized, but buffer underflow or overflow risk increases
Solution Approach 1:
The patent implements dynamic buffer sizing where the output buffer allocation is continuously adjusted based on real-time HRD buffer occupancy measurements. The buffer size is not fixed but adapts to changing encoding conditions, allowing the system to optimize resource utilization while maintaining reliability across varying workloads.
Solution Approach 2:
The system uses feedback from the HRD buffer occupancy status to control output buffer management. By monitoring the HRD buffer occupancy and using this information to adjust output buffer allocation and packet release timing, the system creates a closed-loop control mechanism that prevents underflow and overflow while optimizing buffer usage.
2Reliability
If the output buffer is overallocated, then buffer underflow or overflow risk is reduced, but output latency increases
Solution Approach 1:
The patent implements dynamic buffer sizing where the output buffer allocation is continuously adjusted based on real-time HRD buffer occupancy measurements. The buffer size is not fixed but adapts to changing encoding conditions, allowing the system to optimize resource utilization while maintaining reliability across varying workloads.
Solution Approach 2:
The system changes the parameter of buffer size dynamically based on HRD occupancy. By adjusting the buffer size parameter in response to changing conditions rather than using a static allocation, the system achieves low latency during normal operation while maintaining sufficient buffering capacity when needed to prevent underflow or overflow.
3Device complexity
If fixed buffer sizing is used, then device complexity is reduced, but adaptability to varying media stream characteristics deteriorates
Solution Approach 1:
The patent implements a self-adjusting buffer management system that automatically adapts to varying media stream characteristics without requiring complex external control. The system monitors its own HRD buffer occupancy and uses this self-generated information to dynamically adjust output buffer allocation, achieving high adaptability with minimal additional complexity.
Data Source
AI summary
An encoding or transcoding system uses hypothetical reference decoder occupancy data to at least calculate parameters for output buffers for data streams. An output thread receives HRD buffer occupancy data and calculates buffer occupancy based on duration, rather than absolute occupancy, and correlates the HRD buffer occupancy data with target durations for buffered packets prior to release from the buffer.


