Abstract
Adaptive HTTP streaming requires encoding the same video content at multiple resolutions, a process that is computationally intensive when using advanced codecs like AOMedia Video 1 (AV1). This paper presents a fast block structure determination algorithm designed to accelerate high-resolution AV1 encoding by leveraging partition data from lower-resolution encodes. By employing a statistical inference model based on neighborhood block depth and a dynamic calibration mechanism, the proposed method reduces high-resolution encoding time by over 30% with a negligible impact on video quality (less than 1% BD-rate increase).
Introduction
Modern video platforms such as YouTube and Twitch utilize adaptive HTTP streaming to deliver content efficiently across varying network conditions. This necessitates the generation of multiple versions of the same video at different resolutions and bitrates. While the AV1 codec offers superior compression efficiency compared to its predecessors, its computational complexity—particularly during the Rate-Distortion Optimization (RDO) process—poses a significant challenge for real-time or high-throughput encoding pipelines.
The RDO process involves an exhaustive search to determine the optimal partitioning of frames into blocks. In a multi-resolution encoding environment, the highest resolution version typically acts as the bottleneck. This research addresses the bottleneck by exploiting cross-resolution similarity: the observation that complex motion and high-detail areas generally require fine-grained partitioning regardless of the target resolution.
Proposed Methodology
The core of the proposed algorithm is an inference model that uses the RDO results from a fast, low-resolution encoding pass to guide the high-resolution encoder.
Neighborhood-Based Prediction
Direct block-to-block mapping between resolutions is often statistically noisy due to the inherent randomness of the RDO search. To mitigate this, the authors propose calculating the average block depth of a co-located "neighborhood" in the low-resolution frame. This neighborhood average provides a more stable and reliable predictor of the required partition depth in the high-resolution frame. If the model predicts that a block does not require further splitting, the RDO search is terminated early, saving significant computational resources.
Dynamic Calibration and Pipeline
To maintain accuracy across varying scene content, the system incorporates a dynamic calibration phase. As shown in the framework flowchart below, the encoder fully processes a small subset of frames (e.g., 5 out of every 50) using full RDO. This allows the inference model to update its prediction thresholds continuously, ensuring that the "accelerated" mode remains synchronized with the actual video characteristics.
Experimental Results
The algorithm was evaluated using eight standard test sequences from the Common Test Conditions (CTC), including both 720p and 1080p content. The results demonstrate a substantial reduction in encoding time with minimal loss in compression efficiency.
Performance Metrics
As summarized in the table below, the proposed method achieved an average time saving ($\Delta T$) of 30.1%, with some sequences reaching up to 35.5% or higher. This speedup comes at the cost of a very small BD-rate increase, averaging only 0.71%. This corresponds to a virtually imperceptible drop in BD-PSNR of approximately 0.017dB.
Comparative Analysis
When compared to existing multi-resolution encoding techniques adapted from HEVC, the proposed AV1-specific method demonstrated superior performance. While achieving similar time savings (~35%), the authors' method reduced the quality loss by half (1.04% BD-rate increase compared to 2.12% for the competitor), highlighting the effectiveness of the neighborhood-based inference model.
Conclusion
This paper introduces an effective strategy for accelerating AV1 encoding in multi-resolution pipelines. By utilizing cross-resolution block structure similarity and a robust neighborhood-based prediction model, the proposed algorithm significantly reduces the computational burden of high-resolution encoding. Future work may involve integrating explicit image features, such as gradients or optical flow, to further refine the prediction accuracy and extend the method to experimental AV1 partitioning tools.
Summary updated