Predicting Encoding Energy from Low-Pass Anchors for Green Video Streaming

Zoha Azimi, Reza Farahani, Vignesh V Menon, Christian TimmererarXiv 2025

TL;DR

This paper introduces a lightweight framework that predicts the encoding energy, decoding energy, and perceptual quality of high-resolution video representations using a single, computationally cheap low-resolution "anchor" encoding. By leveraging these predictions, the system automatically selects optimal encoding parameters to slash encoding energy by 51.22% and decoding energy by 53.54% with an imperceptible drop in visual quality.

What Problem Does This Paper Address?

Video streaming accounts for over 70% of all global internet traffic. To ensure a smooth user experience across diverse devices and network conditions, video platforms use HTTP Adaptive Streaming (HAS). This requires encoding every video into a "bitrate ladder"—a matrix of multiple resolutions and bitrates.

However, building these ladders is incredibly energy-intensive, a problem exacerbated by modern, highly complex video codecs like Versatile Video Coding (VVC). While researchers have tried to optimize this process, existing methods focus almost entirely on compression efficiency and visual quality, ignoring the massive carbon footprint of the encoding and decoding processes. Furthermore, accurately measuring energy consumption across every possible configuration is far too resource-intensive to perform at scale.

Methods

The authors propose a Green Encoding Framework built on two core observations:

  1. There is a strong linear correlation between the time it takes to encode a video and the actual energy it consumes.
  2. Encoding characteristics are highly correlated across different resolutions and qualities for the same video content.

Instead of running exhaustive test encodings, the framework uses a three-step pipeline:

  • Anchor Processing: The video segment is encoded and decoded just once at the lowest resolution (360p) and highest compression/Quantization Parameter (QP=47). This "anchor" takes less than 10 seconds to process but captures the video's spatial and temporal complexity.
  • ML-Based Prediction: The execution times and quality metrics from this anchor are fed into lightweight machine learning models (Multi-Layer Perceptrons and LightGBM). These models accurately extrapolate and predict the encoding energy, decoding energy, and VMAF (Video Multimethod Fusion Assessment) scores for all target high-resolution configurations (up to 4K/2160p).
  • Green Configuration Selection: Using the predicted values, the system selects the encoding parameters that minimize total energy consumption while satisfying a user-defined maximum quality degradation threshold ($\rho$).

Datasets

The authors evaluated their approach using 100 ultra-high-definition (UHD) video sequences selected from the Inter4K dataset (which contains 1,000 sequences in total). To ensure their 100-video subset was statistically representative of the full dataset's diverse spatiotemporal characteristics, they validated it using Self-Organizing Map (SOM) clustering based on video complexity features.

Videos were encoded using the open-source VVenC (VVC encoder) and decoded using VVdeC. Energy tracking was performed using the CodeCarbon tool, utilizing Intel RAPL for CPU tracking and NVIDIA Management Library bindings for GPU tracking.

Key Insights and Ideas

  • Time as a Free Proxy for Energy: Measuring energy consumption typically requires specialized hardware instrumentation or software tracking tools. The authors demonstrated that encoding time is a highly reliable proxy for energy across various threading configurations, making measurement computationally inexpensive.
Figure 1: The correlation between encoding time and encod- ing energy for 100 video sequences, encoded with 720p/30fps and 2160p/60fps with three different number of threads.
  • The "Low-Pass Anchor" Effect: Even though a 360p video stripped of high-frequency details looks poor, it still retains the fundamental motion dynamics, texture richness, and scene complexity of its 4K counterpart. This allows a tiny, sub-10-second encoding to act as a predictive blueprint for massive 4K workloads.
  • End-to-End Green Optimization: Unlike prior works that only look at the server-side encoding cost, this framework explicitly predicts and optimizes for decoding energy as well, directly reducing power consumption on end-user mobile devices and smart TVs.

Key Results

  • High Predictive Accuracy: The Multi-Layer Perceptron (MLP) model achieved a Coefficient of Determination ($R^2$) of 0.91 for encoding energy prediction, while LightGBM achieved an $R^2$ of 0.95 for decoding energy prediction.
  • Massive Energy Savings: By allowing a modest quality relaxation threshold ($\rho = 0.05$), the framework achieved an average encoding energy saving of 51.22% and a decoding energy saving of 53.54%.
  • Imperceptible Quality Loss: The energy savings came at the cost of an average VMAF score reduction of only 1.68 points. In video streaming literature, this is well below the Just Noticeable Difference (JND) threshold (typically between 2 and 6 points), meaning the average viewer would not perceive any drop in quality.

Limitations and Future Work

While the results are promising, the authors acknowledge a few limitations:

  • Encoder and Preset Dependency: The models were trained and evaluated using a single encoder (VVenC) set to a specific "faster" preset. How well these models generalize across different presets, hardware architectures, or other modern codecs like AV1 remains an open question.
  • Static Anchor Selection: The framework currently relies on a fixed 360p/QP47 anchor. Future work could explore dynamic anchor selection tailored to specific content types to further optimize prediction accuracy.

Summary updated

BibTeX
@misc{azimi2025predicting,
  author = {Zoha Azimi and Reza Farahani and Vignesh V Menon and Christian Timmerer},
  title = {{Predicting Encoding Energy from Low-Pass Anchors for Green Video Streaming}},
  year = {2025},
  eprint = {2511.00707},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.00707},
}
Figure