Hybrid Bitrate Constrained Audio Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current audio coding techniques, such as VBR codecs, often result in bitrates that are either too high, wasting bits, or too low, leading to undesirable sound quality due to inaccuracies in psychoacoustic models and masking thresholds, which fail to perfectly match human perception of sound quality.

Innovation Solution

A hybrid bitrate constrained variable bitrate coding approach that incorporates both Average Bit Rate (ABR) and Constant Bit Rate (CBR) encoding modes, with a secondary quantization loop to adaptively control the final bitrate for each audio block, ensuring it falls within a specified range to meet sound quality targets, thereby optimizing bitrate usage and maintaining consistent perceptual quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If VBR encoding is used to achieve constant sound quality, then perceptual quality is improved, but bitrate becomes unpredictable and may be too high or too low

Engineering Contradiction:
Improvesound quality consistencyVSAvoidbitrate predictability
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The patent implements a feedback mechanism where the encoder monitors the actual bitrate consumption during encoding and dynamically adjusts the quantization parameters to maintain the target average bitrate. This allows the system to achieve consistent sound quality while controlling the overall bitrate within acceptable ranges.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts encoding parameters between blocks of audio data, transitioning between VBR and ABR modes based on local audio characteristics and global bitrate constraints. This dynamic adaptation allows the encoder to optimize quality locally while maintaining predictable overall bitrate.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If CBR encoding is used to maintain constant bitrate, then bitrate predictability is improved, but sound quality becomes variable and may be insufficient for complex audio

Engineering Contradiction:
Improvebitrate consistencyVSAvoidsound quality adequacy
Core Design Contradiction:
Quantity of substanceVSManufacturing precision

Solution Approach 1:

The audio stream is divided into small blocks that are encoded independently with locally optimized bitrate allocation. This segmentation allows the system to maintain constant overall bitrate while permitting local variations in quality based on audio complexity, ensuring adequate quality for complex passages without wasting bits on simple passages.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different quantization precision is applied to different blocks of audio data based on their local characteristics. Complex audio blocks receive higher precision (more bits) while simple blocks receive lower precision (fewer bits), maintaining overall bitrate consistency while ensuring adequate sound quality where needed.

Inventive Principle:
Principle #3Local quality

3Productivity

If psychoacoustic masking thresholds are used to determine bitrate allocation, then encoding efficiency is improved, but inaccuracies in masking models lead to suboptimal quality-bitrate tradeoffs

Engineering Contradiction:
Improveencoding efficiencyVSAvoidquality-bitrate accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The system uses feedback from actual encoding results to refine and adjust the psychoacoustic models. By monitoring the relationship between allocated bitrate and actual perceived quality, the system adapts the masking thresholds to better match human perception, improving the accuracy of quality-bitrate tradeoffs over time.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent dynamically adjusts psychoacoustic model parameters based on local audio characteristics and encoding conditions. Rather than using fixed masking thresholds, the system modifies these parameters adaptively to better predict actual perceived quality, improving the accuracy of bitrate allocation decisions.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS7634413B1Bitrate constrained variable bitrate audio encoding
Publication Date: 2009.12.15 APPLE INC
  • US7634413B1 patent drawing
  • US7634413B1 patent drawing
  • US7634413B1 patent drawing

AI summary

A hybrid audio encoding technique incorporates both ABR, or CBR, and VBR encoding modes. For each audio coding block, after a VBR quantization loop meets the NMR target, a second quantization loop might be called to adaptively control the final bitrate. That is, if the NMR-based quantization loop results in a bitrate that is not within a specified range, then a bitrate-based CBR or ABR quantization loop determines a final bitrate that is within the range and is adaptively determined based on the encoding difficulty of the audio data. Excessive bitrates from use of conventional VBR mode are eliminated, while still providing much more constant perceptual sound quality than use of conventional CBR mode can achieve.