Face BenchmarkHow face recognition and deepfake detection are measured, from the papers.

FaceForensics++ c23 and c40: what the compression levels are and what they cost

The Face Benchmark editorsPublishedFigures checked

FaceForensics++ ships every video at three quality levels: raw, c23 and c40, where the numbers are H.264 constant rate factors. The paper calls them Raw, HQ (quantization parameter 23, "visually nearly lossless") and LQ (40). The same XceptionNet detector scores 99.26 percent accuracy on raw, 95.73 on c23 and 81.00 on c40 in the paper's Table 1 (Rössler et al., ICCV 2019).

This page belongs to the deepfake detection hub and is a companion to the FaceForensics++ page, which covers the dataset's sources, methods and splits. Here the subject is only the compression, because it is the condition most often dropped when a FaceForensics++ score is quoted.

01What do c23 and c40 mean?

The labels are release names, not terms from the paper. The dataset README lists three folders for every sequence, "c0/raw", "c23/hq" and "c40/lq", and describes the compressed videos as "h264 compressed videos with compression rate factor" 0, 23 and 40 (FaceForensics dataset README). The constant rate factor is the H.264 encoder's quality setting: a lower value keeps more detail at a higher bitrate, a higher value discards more. Zero is lossless, so the raw release is the uncompressed source and the README notes that frames extracted from it are "100% the same as our raw images used in the paper".

The paper describes the same three levels in its own words. The authors compress with H.264 because "raw videos are rarely found on the internet" and the codec "is widely used by social networks or video-sharing websites"; the high quality level uses "constant rate quantization parameter equal to 23" and "is visually nearly lossless", and the low quality level is "produced using a quantization of 40" (arXiv 1901.08971, section 3). So c23 is the paper's HQ and c40 is its LQ, and any FaceForensics++ figure should carry one of the three labels.

02How much data is in each level?

The README gives the download sizes for all FaceForensics++ videos, original and manipulated: about 500 GB at raw, about 10 GB at c23 and about 2 GB at c40. The 1,000 source videos came from YouTube and were manipulated with four methods, DeepFakes, Face2Face, FaceSwap and NeuralTextures, giving 1,000 real and 4,000 fake videos at each level, which the dataset comparison table lists beside the other public sets.

Level Paper name H.264 constant rate factor Size, all videos Paper's description
raw (c0) Raw 0 about 500 GB uncompressed source; frames identical to the paper's images
c23 HQ 23 about 10 GB "visually nearly lossless"
c40 LQ 40 about 2 GB low quality, "quantization of 40"

Sizes are the README's figures for the FaceForensics++ videos alone; the Google and Jigsaw DeepFakeDetection set that the same script downloads has its own sizes.

03How much accuracy does compression cost?

The paper's Table 1 trains each baseline on all four manipulation methods and reports binary accuracy on the test split of 140 videos at each level. XceptionNet, the strongest baseline, scores 99.26 percent on raw, 95.73 on HQ and 81.00 on LQ. The drop from raw to c23 is 3.53 points; the drop from c23 to c40 is 14.73 points. Every other baseline falls further: MesoNet goes from 95.23 to 83.10 to 70.47, the method of Bayar and Stamm from 98.74 to 82.97 to 66.84, and the steganalysis features with an SVM from 97.63 to 70.97 to 55.98, close to chance at the lowest level.

The ordering of the methods also changes with the level. At raw, six of the seven baselines score above 95 percent and the steganalysis features sit fourth at 97.63; at c40 the same features are last at 55.98, and only XceptionNet stays above 80. A method that reads fine pixel statistics loses most when the encoder smooths them away, so a ranking of detectors made on raw video does not survive compression, which is one reason DeepfakeBench ranks on c23 and tests on c40 separately.

The human observers in the paper's user study, 204 participants classifying randomly selected test images as real or fake, lost less: 68.69 percent on raw, 66.57 on HQ and 58.73 on LQ. Compression hurts the detector more than the eye because the detector was reading high-frequency traces that the encoder removes, while the observers were already near their limit at every level. The paper's conclusion that detectors "clearly outperform human observers" holds at all three levels, but the margin shrinks from 30.57 points at raw to 22.27 at c40.

FaceForensics++ Table 1: XceptionNet and human observers at the three compression levelsHorizontal bars, accuracy in percent. XceptionNet trained on all four methods: raw 99.26, c23 (HQ) 95.73, c40 (LQ) 81.00. Human observers, 204 participants: raw 68.69, c23 66.57, c40 58.73. Source: FaceForensics++ paper, arXiv 1901.08971, Table 1 and section 4.1, read 9 Nov 2026.0.0025.0050.0075.00100.00XceptionNet, raw99.26XceptionNet, c2395.73XceptionNet, c4081.00Human observers, raw68.69Human observers, c2366.57Human observers, c4058.73binary accuracy in percent, FaceForensics++ test split
Figure 1Binary accuracy on the FaceForensics++ test split at the three release levels. The detector loses 14.73 points between c23 and c40; the human observers lose 7.84. Source: FaceForensics++ Table 1 and user study (arXiv 1901.08971, ICCV 2019), read 9 Nov 2026.

04Which level do benchmarks use?

c23, almost always. DeepfakeBench trains every one of its 15 detectors on FaceForensics++ c23 and lists "Only c23" for FaceForensics++, DeepFakeDetection and FaceShifter in its dataset table (DeepfakeBench README). Its results table then tests the c23-trained models on c40 as one of six within-domain columns: Xception falls from 0.9637 AUC on c23 to 0.8261 on c40, UCF from 0.9705 to 0.8399 and SPSL from 0.9610 to 0.8174. The cross-dataset scores by model table carries both columns for every detector.

That choice has two consequences for anyone comparing numbers. A FaceForensics++ score from the paper and one from DeepfakeBench are not the same measurement even on the same level, because the paper reports video-level binary accuracy after training on all four methods and DeepfakeBench reports frame-level AUC averaged over the top-3 checkpoints. And a model trained on c23 has never seen c40 artefacts, so the c40 column in DeepfakeBench is a compression generalisation test, not a within-level score. The cross-dataset page treats the change of generator the same way this page treats the change of compression.

05Why does the level matter when quoting a score?

Because the same detector on the same fakes gives three different numbers, and the highest one is the least like anything found online. The paper's own motivation for compressing was that raw video does not circulate; a score on raw describes a laboratory condition. A score on c23 describes a lightly compressed upload, and a score on c40 describes the kind of re-encoded clip a platform serves after one or two passes. The best deepfake detection model page uses the c40 column as its proxy for heavy compression for that reason, and the equal error rate page notes the same effect in audio, where ASVspoof 2021 scored compressed speech by codec and bitrate.

The quotable caveat: a FaceForensics++ accuracy or AUC quoted without its compression level cannot be compared with any other FaceForensics++ figure. The statutes described on the is a deepfake illegal page define covered content by what it appears to show, not by its bitrate, so a detector's sensitivity to compression is a limit on the evidence, not on the offence.

SRCSources

  1. S1
    FaceForensics++: Learning to Detect Manipulated Facial Images(external)Rössler, Cozzolino, Verdoliva, Riess, Thies, Nießner. ICCV 2019
    Checked
  2. S2Checked
  3. S3
    DeepfakeBench: A Comprehensive Benchmark of Deepfake Detection(external)Yan, Zhang, Yuan, Lyu, Wu. NeurIPS 2023 Datasets and Benchmarks
    Checked

FAQQuestions

What is FaceForensics++ c23?

c23 is the FaceForensics++ release compressed with H.264 at constant rate factor 23, the level the paper calls HQ and describes as "visually nearly lossless". It is about 10 GB for all videos and is the level DeepfakeBench trains on. XceptionNet scores 95.73 percent accuracy on it in the paper's Table 1.

What is FaceForensics++ c40?

c40 is the release compressed at constant rate factor 40, the paper's LQ level, about 2 GB for all videos. XceptionNet falls to 81.00 percent accuracy on it in Table 1, from 95.73 on c23, and in DeepfakeBench a c23-trained Xception falls from 0.9637 to 0.8261 AUC.

Is c0 the same as raw?

Yes. The README names the folder "c0/raw" and states that the videos are lossless compressed, so extracted frames are "100% the same as our raw images used in the paper". XceptionNet scores 99.26 percent accuracy on raw in Table 1; the README notes that raw videos are rarely found online.

Why do most papers report FaceForensics++ c23 and not raw?

Because raw video does not circulate and the full raw release is about 500 GB against about 10 GB for c23. DeepfakeBench lists "Only c23" for FaceForensics++ and uses it as the training set for all 15 detectors, testing on c40 as a separate column.

How much do humans lose to compression on FaceForensics++?

Less than the detectors. The paper's 204 participants scored 68.69 percent on raw, 66.57 on HQ (c23) and 58.73 on LQ (c40), a drop of 9.96 points across the three levels, against 18.26 points for XceptionNet.