Video coding with dynamic background

Manoranjan Paul, Weisi Lin, Chiew Tong Lau, Bu-Sung LeeEURASIP J. Adv. Signal Process 2013

Introduction

Modern video compression standards like H.264/AVC rely heavily on Multiple Reference Frames (MRFs) to improve rate-distortion performance. By searching through several previous frames, encoders can better handle repetitive motion and uncovered backgrounds. However, this approach introduces significant computational complexity, memory overhead, and bitrate costs associated with signaling reference indices.

This paper proposes a novel alternative: replacing the sliding window of multiple frames with a single, intelligently generated background frame called the Most Common Frame in Scene (McFIS). By utilizing just two reference frames—the immediate previous frame and the McFIS—the proposed method achieves substantial performance gains while drastically reducing complexity.

The McFIS Framework

The core of the proposed system is the Proposed Dynamic Background Modeling (pDBM). Unlike traditional background modeling that uses original video, pDBM operates on decoded (quantized) frames. This ensures that the encoder and decoder remain synchronized, preventing the drift that occurs when modeling on lossless source material.

The system employs a Two-Frame Referencing strategy. Instead of searching through five previous frames, the encoder references only:

  1. The immediate previous frame (capturing local, short-term motion).
  2. The McFIS (representing the stable background and long-term repetitive motion).

This "1+1" strategy leverages the observation that the previous frame is used for prediction in the vast majority of cases (68–92%), while the McFIS provides a high-quality alternative for everything else.

Efficiency and Scene Adaptivity

Beyond simple referencing, the McFIS enables several system-level optimizations:

  • Integrated Scene Change Detection (SCD): The similarity between the current frame and the McFIS serves as a natural indicator of scene changes. This allows for an Adaptive Group of Pictures (GOP) size without the need for a separate, computationally heavy SCD algorithm.
  • Enhanced Skip Mode: A new macroblock "skip" condition is introduced. If a block in the current frame matches the co-located block in the McFIS, it is skipped, saving both bits and processing cycles.

Experimental Results

The authors evaluated the method using 23 standard video sequences (QCIF to 4CIF resolutions) and custom mixed datasets.

Rate-Distortion and Complexity

The proposed scheme outperformed standard H.264 with five reference frames by 0.5 to 2.0 dB in PSNR. More impressively, it achieved an average 61% reduction in computational time. The overhead for background modeling was negligible, adding only about 2% to the total encoding time.

Stability and Consistency

One of the primary advantages of the McFIS approach is the stability it brings to the encoding process. As shown in the performance plots for the Paris sequence, the method maintains consistent bitrates and PSNR values across frames.

Figure 5: Bitrate and PSNR performance for the Paris sequence at different quantization parameters (QP).

This consistency translates to a superior subjective viewing experience, as it minimizes the "flicker" artifacts often seen at GOP boundaries in standard encoders. Furthermore, the integrated SCD achieved a remarkable 98% accuracy, effectively handling high-motion sequences that typically trigger false alarms.

Conclusion and Future Work

By replacing generic multiple reference frames with a scene-specific dynamic background model, this research demonstrates that "smarter" referencing is more effective than "more" referencing. While the method shows slightly lower gains in sequences with heavy camera motion (e.g., Tennis), its overall efficiency makes it highly suitable for real-time applications and resource-constrained environments. Future work will focus on making the background modeling learning rate adaptive to motion intensity and refining pixel selection to further enhance McFIS quality.

Summary updated

BibTeX
@article{paul2013video,
  author = {Manoranjan Paul and Weisi Lin and Chiew Tong Lau and Bu-Sung Lee},
  title = {{Video coding with dynamic background}},
  journal = {EURASIP J. Adv. Signal Process.},
  year = {2013},
  doi = {10.1186/1687-6180-2013-11},
}
Figure