# Detection of Double Compression in HEVC Videos Containing B-Frames

**Authors:** Yoshihisa Furushita, Daniele Baracchi, Marco Fontani, Dasara Shullani, Alessandro Piva

PMC · DOI: 10.3390/jimaging11070211 · 2025-06-27

## TL;DR

This paper introduces a new method to detect if HEVC videos have been compressed twice, using machine learning and frame-level features.

## Contribution

The novelty lies in detecting double compression in HEVC videos with B-frames using a Bi-LSTM model and frame-level encoding features.

## Key findings

- A 28-dimensional feature vector was used to represent HEVC videos for double compression detection.
- The proposed method achieved 80.06% detection accuracy, outperforming existing methods.
- The method was tested on a dataset of 129 HEVC-encoded YUV videos with various bitrates and GOP structures.

## Abstract

This study proposes a method to detect double compression in H.265/HEVC videos containing B-frames, a scenario underexplored in previous research. The method extracts frame-level encoding features—including frame type, coding unit (CU) size, quantization parameter (QP), and prediction modes—and represents each video as a 28-dimensional feature vector. A bidirectional Long Short-Term Memory (Bi-LSTM) classifier is then trained to model temporal inconsistencies introduced during recompression. To evaluate the method, we created a dataset of 129 HEVC-encoded YUV videos derived from 43 original sequences, covering various bitrate combinations and GOP structures. The proposed method achieved a detection accuracy of 80.06%, outperforming two existing baselines. These results demonstrate the practical applicability of the proposed approach in realistic double compression scenarios.

## Full-text entities

- **Genes:** SP1 (Sp1 transcription factor) [NCBI Gene 6667], OPN1MW3 (opsin 1, medium wave sensitive 3) [NCBI Gene 101060233] {aka GCP, GOP}, SP2 (Sp2 transcription factor) [NCBI Gene 6668], SP3 (Sp3 transcription factor) [NCBI Gene 6670] {aka SPR2}
- **Diseases:** injury to (MESH:D014947)
- **Chemicals:** HEVC (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12295784/full.md

---
Source: https://tomesphere.com/paper/PMC12295784