arXiv:2611.22996cs.CVNov 2026

Manuscript Offprint

arXiv:2611.22996

The Rhythm of Generated Video: Latent Chunking Leaves Periodic Traces in Compressed Bitstreams

Chen Ye Gan, Bryan Zhen Zhang, Gene Wen, Yuxing han

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Most AI-generated video detectors analyze decoded pixels and overlook how videos are produced. We show that causal video autoencoders leave an architecture-specific rhythm in compressed bitstreams: their temporal stride concentrates ”surprise” at latent-chunk boundaries, so rate–distortion optimized encoders allocate bits periodically. We observe four-frame pulses in CogVideoX and Wan2.2 and eight-frame pulses in LTX-Video, which are absent from similar camera footage. Passing camera footage through a generator’s autoencoder alone induces the pulse. A training-free peak-ratio statistic separates generated from camera video (AUC 0.84–0.94) and persists across tested quantization settings and H.264/H.265 encoding. Frame-size traces also identify four commercial generators, with 89.2%, 84.1%, and 83.0% accuracy under H.264, H.265, and AV1, beating the pixel-based UnivFD baseline (72.7–73.6%). Our results directly link generative architecture to measurable coding demand.

(a) Per-frame bits, x265 at constant QP 27, P-frames only

(b) Where in the chunk the extra bits fall

Figure 1: A standard rate-distortion optimizing encoder spends its bits on AI generated video in pulses. (a) Bits per frame, divided by each clip’s mean, for camera clips and for image-to-video clips generated from their first frames. The pulse comes every fourth frame for CogVideoX and Wan2.2 and every eighth for LTX-Video, the temporal strides ss of their autoencoders; grey lines mark the predicted latent-chunk starts t≡1(mods)t\equiv 1\pmod{s}. Camera footage at its native frame rate has no pulse. (b) The same bits, detrended and averaged by frame residue t mod st\bmod s over P-frames 6–45: the stride-4 models put their excess on the chunk-start residue.

1 Introduction

Text-to-video and image-to-video generators now produce clips that are hard to tell from camera footage by eye [13, 3, 22, 21]. Much work detects AI-generated images, and increasingly video, from decoded pixels [24, 15, 23]. Far less links detection to the generative process itself, perhaps because a delivered video is shaped not only by the generator but also by a video encoder, a system many vision researchers rarely look inside. This paper follows a generated video through both.

Nearly all current generators are latent generators: a diffusion or flow model samples a compact latent video, and a video autoencoder decodes it to pixels [29, 21, 12]. To compress time, these autoencoders are causal 3-D networks with a fixed temporal stride ss: the first frame is decoded alone, and every later latent frame is decoded into ss pixel frames. Call the part of a frame that cannot be predicted from its past its surprise. In camera footage, surprise arrives continuously, at roughly the same rate in every frame. We propose that in a latent video it can enter only where a new latent frame enters, once every ss frames, since the frames in between are decoded from the same latent. Generated video should then carry a surprise rhythm with period ss, locked in phase to the latent-chunk grid (Fig. 2). The stride is an established architectural fact; the rhythm is the mechanism we propose and test.

The second half of the pipeline is a conventional video encoder. Codecs such as H.264/AVC [25], HEVC [20] and AV1 predict each frame from frames already coded and are rate–distortion (RD) optimized [19]: they spend bits only on what their temporal prediction cannot anticipate, that is, on surprise (Fig. 3). The bits an encoder spends on each frame, readable from the bitstream without decoding, should therefore trace the generator’s rhythm. Figure 1 shows that they do. Re-encoded under identical settings, clips from CogVideoX [29] and Wan2.2 [21] (stride 4) pulse every fourth frame and clips from LTX-Video [12] (stride 8) every eighth, while content-matched camera clips do not pulse; a training-free peak ratio separates them at an AUC of 0.84–0.94.

We tell the story in three steps. First, the pattern originates in the latent representation: the pulse frequency moves with the stride, its phase follows the chunk grid for the stride-4 models, and passing camera clips through a generator’s autoencoder alone creates it (Secs. 3 and 6). Second, it survives video encoding: in both H.264 and H.265, and from quantization parameter (QP) 22 to 37 (AUC 0.92 to 0.80) (Secs. 4 and 6). Third, its persistence has limits we state plainly: delivery-style encodes with rate control and B-frames erase the per-frame pulse in 14 of 15 tested cases, although x265 still places its reference frames on the stride-4 grid.

The traces are simple to read (Sec. 5). We divide each frame’s size by the clip’s mean, giving frame-size ratios, and feed them to a logistic regression or to a small transformer with 26K parameters. We evaluate on DeepAction [4], 2,605 clips of human actions from camera footage and six generators, and on a self-collected Frontier dataset of four commercial generators (Grok, HeyGen, MiniMax, Wan) on 40 shared prompts, with 160, 159 and 155 clips re-encoded in H.264, H.265 and AV1. On Frontier, where all generators share frame size and length, the logistic regression identifies the generator at 89.2%, 84.1% and 83.0% in H.264, H.265 and AV1, and the transformer at 80.6% and 78.4% in H.264 and H.265 (chance 25%); on the same clips and task, the pixel-based UnivFD detector [15] reaches 72.7%, 73.6% and 73.4%, so bitstream traces outperform it by 10–17 points. The advantage is specific to this generator-identification task: for camera versus generated video on DeepAction with size and length controlled, UnivFD remains stronger (90.5% vs. 69.9–74.1% balanced accuracy on 16-frame crops, known generators), while gradient-boosted trees on bit statistics reach 88.8% on 192-frame clips. On DeepAction we equalize frame size and clip length throughout, since its sources differ in file format, and a classifier that works need not use the rhythm, which we test with ablations and attributions (Secs. 6 and 6).

Our contributions are two:

  • Linking temporal compression in video generation to a detectable trace. To our knowledge, we are the first to tie a video generator’s temporal stride to a measurable trace, as prior work did for spatial up-sampling and autoencoders in images [10, 9, 17].
  • A decoding-free method that reads the rhythm directly from the encoded bitstream. CoDe takes frame and row sizes from the bitstream without reconstructing pixels and identifies four frontier commercial generators at 83.0–89.2%, against 72.7–73.6% for the pixel-based UnivFD

References (26)