TL;DR
The Multi-Codec Bitrate ladder Estimation (MCBE) scheme slashes the massive energy footprint of video streaming by intelligently pruning redundant video representations. By eliminating modern codec versions that underperform compared to legacy AVC and removing perceptually indistinguishable quality steps, MCBE reduces storage energy by up to 95% and encoding energy by 56%.
What Problem Does This Paper Address?
In the world of HTTP Adaptive Streaming (HAS), service providers don't just store one version of a video. To support everything from an old smartphone to a 4K smart TV, they create "bitrate ladders"—multiple versions of the same content at different resolutions and bitrates.
With the arrival of newer, more efficient codecs like HEVC and AV1, providers now often maintain multiple ladders (one for each codec) to ensure compatibility while trying to save bandwidth. This creates a massive overhead:
- Redundant Encoding: Encoding the same content into three different formats is computationally expensive.
- Storage Bloat: Storing multiple ladders for every video segment consumes vast amounts of server space.
- The "Newer isn't Always Better" Paradox: Surprisingly, at very low bitrates or for specific types of video content, older codecs like AVC can actually outperform newer ones in terms of visual quality (VMAF). Encoding an AV1 version that looks worse than the AVC version at the same bitrate is a waste of energy.
Methods
The authors propose MCBE, an online scheme that predicts which parts of a bitrate ladder are actually necessary. The architecture consists of three main phases:
- Spatio-Temporal Feature Extraction: The system analyzes every video segment to extract DCT-energy-based features, such as luma texture energy and luminescence. These features act as a "fingerprint" of the video's complexity.
- Redundant Representation Elimination: This is the core "pruning" engine. It uses Random Forest models to predict the VMAF (Video Multi-Method Assessment Fusion) score for every potential representation in the ladder. It then applies two rules:
- Perceptual Pruning (JND): Using the "Just Noticeable Difference" (JND) threshold, it removes representations that are too close in quality for a human to tell apart. It also removes anything above a "perceptually lossless" cap.
- Cross-Codec Pruning: It compares the predicted Rate-Distortion (RD) curves of the codecs. If a modern codec (HEVC/AV1) representation falls below the RD curve of the legacy codec (AVC), it is eliminated. Why encode a "high-tech" version if the "old" version is already better?
- Optimized Encoding: Only the surviving bitrate-resolution pairs are actually encoded.
Datasets
The study utilized the Video Complexity Dataset (VCD), which contains a wide variety of video sequences.
- Training: 400 sequences (80%) were used to train the Random Forest quality prediction models.
- Testing: The remaining 20% were used for evaluation.
- Encoders: The researchers tested the scheme using industry-standard encoders: x264 (AVC), x265 (HEVC), and svtav1 (AV1).
Key Insights and Ideas
- The Cross-Over Point: Newer codecs are designed for high-efficiency, but they don't always win at the extremes. For certain content (like the Basketball_s000 sequence), AVC can outperform HEVC at bitrates below 0.3 Mbps. MCBE identifies these "cross-over" points to avoid useless encodes.
- Perceptual Capping: There is a point of diminishing returns where increasing bitrate doesn't improve perceived quality. MCBE uses a $v_{max}$ threshold (e.g., 94-98 VMAF) to stop encoding once a video is "good enough" for the human eye.
- Low Overhead: The entire inference process (predicting which versions to keep) takes only 0.37 seconds for a 4-second 4K segment. This makes it highly suitable for live-streaming environments where latency is critical.
Key Results
The energy savings are substantial, especially when using a JND threshold of six VMAF points (a common industry standard for "noticeable difference"):
- Encoding Energy: Reduced by 56.45%.
- Storage Energy: Reduced by a staggering 94.99%.
- Transmission Energy: Reduced by 77.61%.
When compared against other state-of-the-art methods like OPTE or JTPS, MCBE consistently provided better energy efficiency because it is the only one that actively looks for redundancies across different codecs rather than just within a single codec's ladder.
Limitations and Future Work
- Codec Scope: The current implementation focuses on AVC, HEVC, and AV1. The authors note that future work could extend this to even newer standards like VVC (Versatile Video Coding) or LCEVC.
- Quality Metrics: While VMAF is the current gold standard, the authors acknowledge that incorporating other quality metrics could further refine the pruning process.
- Device Awareness: The model assumes a population of devices that can support multiple codecs. Further optimization could be achieved by tailoring the ladder pruning to the specific device distribution of a particular streaming service's audience.
Summary updated