AI Image Detector on a Video Frame Grab: What the Codec Erases (2026)

Short answer: a frame pulled from a video is not a photograph, and an AI image detector does not know the difference. It is a decoded prediction plus a small quantized correction, rebuilt on a 16×16 or 64×64 grid, then filtered at every block boundary. Whatever the tool reports about that file, it is reporting on video compression as much as on the image. If the frame came from an ordinary camera video, treat any "AI" verdict on it as one line in a file, not a conclusion.

This page is for the case that keeps coming up in practice: someone sends you an MP4, you need a still, you grab a frame, you run it through a detector, and it says 94% AI. The video is a phone recording of a real street. Now what.

The three most visible detector pages do not address this at all. As of 2026, zerogpt.com/ai-image-detector and deepai.org/ai-image-detector describe still-image uploads and say nothing about video sources, frames, or codecs (third-party pages, checked October 2026). isthisai.com does advertise a separate video detector that reads frames and frame timing (third-party reports, isthisai.com, 2026), but that product treats the video as the unit of analysis. None of the three tells you what a codec did to a single frame before an image model scored it. That is the gap this page fills.

Three different things people call "a frame"

The same second of the same video produces three different files depending on how you grabbed it, and the differences matter more than most people expect.

  1. Pause and screenshot. The decoder outputs a frame, the player converts colour and scales it to your screen size, the operating system captures the screen, and the screenshot encoder writes it again. Two resamplings and one more encode, and the resolution is now whatever your display is, not what the video is.
  2. Direct extraction. A tool like ffmpeg decodes one frame and writes it, losslessly, as PNG. This avoids a second generation of loss. It does not undo the first one: the frame was already lossy-compressed inside the video, and PNG preserves those artifacts faithfully.
  3. The player's own "save frame" button. Usually a JPEG at some quality setting chosen by the app, so you get a second compression stacked on the first.
  4. A photo of the screen with your phone. Add screen pixel grid, moiré, ambient reflections, and a fresh camera JPEG on top of everything above.
How you got the frameWhat gets added8×8 grid still measurableCamera identification possible
Pause + screenshotrescale to display size, second encodeusually smeared by rescalingno
ffmpeg to PNG (lossless)nothing addedyes, exactly as in the videono
Player "save frame" (JPEG)second JPEG generationyes, but now two grids overlapno
Phone photo of screenoptics, screen grid, third encodenono

The practical consequence: the lossless extraction is the only path that gives a detector the same bytes the decoder produced. It is also the path almost nobody uses, because it requires a command line rather than a screenshot key.

What the encoder did before you saw the frame

A video frame is not stored as a picture. It is stored as a prediction from previously decoded pictures plus a residual, and only the residual is transformed and quantized. In H.264 the picture is divided into 16×16 macroblocks, the residual goes through a 4×4 integer transform, and a deblocking filter runs inside the prediction loop at block edges with strength tied to the quantization parameter (Wiegand, Sullivan, Bjontegaard and Luthra 2003, IEEE Transactions on Circuits and Systems for Video Technology 13(7):560–576). In HEVC the coding tree block can be as large as 64×64, and a sample adaptive offset filter is added after deblocking (Sullivan, Ohm, Han and Wiegand 2012, IEEE Transactions on Circuits and Systems for Video Technology 22(12):1649–1668).

Three properties of that pipeline decide what a detector can still see.

Quantization sets a floor on detail. The quantization step size doubles for every 6 steps of QP (Wiegand et al. 2003, IEEE TCSVT 13(7):560–576). A transform coefficient has to clear roughly half the step to survive rounding. At QP 22 the step is about 8, so a coefficient of magnitude 6 becomes 0.75 and rounds to 1 — it lives. At QP 28 the step is about 16, the same coefficient becomes 0.375 and rounds to 0 — it is gone. Raise QP by 6 and the floor above which any fine detail must sit has doubled. Typical delivery encodes sit well above QP 22.

Deblocking erases the grid that fingerprints live on. The filter is applied precisely at transform-block boundaries, which is where a periodic 8×8 or 4×4 signal lives. A detector looking for regularity on that grid is looking at the one structure the encoder is actively smoothing.

Prediction makes most blocks nearly empty. In a P or B frame the residual in flat or well-predicted areas is close to zero, so the high-frequency coefficients are mostly zeros after quantization. The reconstructed block is smooth because the compressor made it smooth, not because the scene was.

The arithmetic of one 1080p frame

This is where a frame grab separates from a photo, and none of it requires a detector to see.

A 1920×1080 frame holds 2,073,600 luma samples; at 4:2:0 chroma subsampling the total is 3,110,400 samples, of which exactly one third is chroma. Under H.264 the macroblock grid is 120 columns by 68 rows, because 1080 is not a multiple of 16 — the encoder pads to 1920×1088 and codes 8 rows that contain nothing from the scene.

Quantity1920×1080 frame in H.264Same picture as a still JPEG
Coded luma height1088 (8 padding rows)1080
8×8 luma blocks240 × 136 = 32,640240 × 135 = 32,400
Chroma planes (960×540 each)120 × 68 = 8,160 per plane8,160 per plane
Total 8×8 blocks, 4:2:048,96048,960
Blocks containing no scene content240 luma blocks = 15,360 coefficients0

The padding row is the detail worth remembering. A still JPEG at the same nominal size has 32,400 luma blocks; the coded frame has 32,640, and 240 of them are invented. If a detector reports a per-block map, a strip along one edge of the image is measuring padding.

Switch codec and the block count changes by a factor of 64. In HEVC with 64×64 coding tree blocks the same 1080p frame is 30 columns by 17 rows: 510 units, against 32,640 8×8 luma blocks under H.264. The number of regions a detector can examine depends on which codec the sender's phone chose, before any question about the image is asked.

Bitrate finishes the argument. At a common 8 Mbit/s for 1080p at 30 frames per second, each frame receives about 33,333 bytes. The raw frame is 3,110,400 bytes. That is roughly 93 to 1 — about 99% of the information in the frame was discarded by the encoder before the detector opened the file. A tool that reports two decimal places of confidence about that file is reporting precision it cannot have.

I-frames and P-frames are not the same evidence

This is the part that changes how you should read a score, and no detector page mentions it.

A two-second group of pictures at 30 frames per second contains 60 frames, of which one is coded intra — an I-frame — and the rest are predicted. Pick a frame at random and the chance it is the I-frame is 1 in 60, about 1.67%. So in the overwhelming majority of grabs, you are not looking at a coded picture at all. You are looking at a prediction with a thin correction layer.

Frame typeWhat is codedHigh-frequency contentWhat a spectrum-based detector tends to concludeHow much to trust it
I-frameintra prediction, full block codedclosest to a still imagewhatever the scene actually looks likethe most usable grab
P/B frame, static areanear-zero residualmostly quantized to zero"clean", "smooth", "real"low
P/B frame, motion arearesidual with visible edgespartly preserved, plus blockingunstable, often "AI"low
Screenshot of a paused playerdecoded frame rescaled and re-encodedresampled grid, new edgesdepends on the scalerlowest

Detectors that key on spectral fingerprints are reading exactly the band that prediction and quantization flatten. The classic result is that GAN images leave periodic artifacts caused by the upsampling operations used in GAN architectures (Frank, Eisenhofer, Schönherr, Fischer, Kolossa and Holz 2020, arXiv:2003.08685). That signal is a few coefficients wide. A quantizer with a step of 16 deletes coefficients of that size routinely. So a P-frame from an AI-generated video can read as clean, and a P-frame from a real video can read as either clean or unnaturally smooth depending on how the model was trained — and the same detector will disagree with itself between frame 12 and frame 13 of one clip.

What survives a frame grab, and what does not

Not all evidence lives in the same layer, and a frame grab damages some layers far more than others.

Evidence layerStill photo from a cameraI-frame grabP/B frame grabNote
8×8 DCT gridpresentpresentpresent but filtered at edgesdeblocking works on this grid
Sensor pattern noise (PRNU)presentweakenedheavily weakenedsee below
Chroma statisticsfull resolution at 4:4:4 or 4:2:04:2:0, half resolution4:2:0, half resolution, quantized harderalways subsampled in video
Camera make/model in EXIFusualgonegonecontainers rarely carry it through extraction
Provenance manifestpossiblegonegonebound to the asset's bytes
Generator fingerprintpossiblepartlymostly destroyedthe band quantization flattens

Sensor pattern noise is the multiplicative fingerprint that camera identification is built on (Lukas, Fridrich and Goljan 2006, IEEE Transactions on Information Forensics and Security, "Digital camera identification from sensor pattern noise"). It survives a single JPEG reasonably well because it is a fixed pattern and JPEG keeps low and mid frequencies. A video frame is a harder case for a different reason: the pattern is present in every frame, but the deblocking filter and the residual coding operate over the same pixels that carry it, and the encoder spends its bits where the eye looks. The pattern does not vanish, but its reliable detection needs several frames averaged — which is precisely what a single extracted still throws away.

A provenance manifest does not survive at all, and this is not a bug. A manifest is bound to the exact bytes of an asset, so a re-encoded frame is a different asset with no credential. Absence of a manifest therefore tells you nothing about the frame; it tells you the frame was re-encoded, which you already knew.

One channel does survive, in one direction only. If the video itself was AI-generated and carried an invisible watermark, Google's SynthID is described on DeepMind's own page as "designed to stand up to modifications like cropping, adding filters, changing frame rates, or lossy compression" (third-party reports, Google DeepMind SynthID page, 2025). Note what that claim covers: it is about a watermark embedded in generated content, checked by a watermark detector. It is not evidence that a frame from an ordinary camera video is real, and it does not make an image classifier's percentage more trustworthy.

The three ways this goes wrong

Real footage, "AI" verdict, high confidence. Flat residual areas plus deblocking regularity produce a picture that is smoother and more periodic than any camera output. Models trained mostly on still photographs have not seen this distribution. The failure is quiet: you get 90-something percent and no explanation.

AI-generated video, "real" verdict. This is the direction that damages fact-checking. The generator's fingerprint sat in the high band, the encoder removed it, and the detector correctly reports that it cannot find what it is looking for. A negative result on a frame grab is not evidence that the video is genuine; it is evidence that the encoder won.

A number that moves when nothing about the scene moves. Grab frame 20 and frame 21 of a static shot and watch the score. If it swings, the tool is reading the codec's decisions frame by frame — where the encoder put its bits, whether that block was skipped, how strong deblocking was — and not the content.

Three questions before you trust any number on a frame

  1. Was this ever a still photograph? If the answer is no, an image detector is answering a question about a file type that no longer exists in the chain. It can still be run, but the result describes a re-encode.
  2. Which frame, exactly, and from which file? Frame index and timestamp, codec, resolution, bitrate. Without those four, the number is not reproducible by anyone, including you.
  3. Does the number move when you change only the frame? This single check separates a content measurement from a codec measurement, and it takes two minutes.

A ten-minute stability test

You do not need a dataset. You need one file and five numbers.

  1. Get the original video file, not a copy that has been through a messaging app. Copy the exact path.
  2. Find the keyframe interval. With ffmpeg installed, run ffprobe on the file with the frame-reading option and look for the frames flagged as key frames; the gap between two of them is your group of pictures.
  3. Extract five frames spread across one group — the first, roughly a quarter, half, three quarters, and the last — as lossless PNG at the video's native resolution.
  4. Submit all five to the detector. Record the score for each, in order.
  5. Run the same five frames again, this time exporting each as JPEG at high quality. Record those five as well.

Read the results like this.

Pattern in the ten numbersWhat it meansWhat to do
Scores are stable across frames, and PNG and JPEG agreethe tool is responding to image contentthe number is worth quoting, with the frame index
Scores swing widely between frames of one static shotthe tool is reading codec decisionsquote no single number; say the result is unstable
PNG scores high, JPEG scores low (or the reverse)the tool is sensitive to the container, not the scenestate that the verdict depends on the export format
One outlier frame, rest clusteredthat frame is an I-frame or a scene cutreport which frame and why

As a rule of thumb rather than a measured law: if the five scores from one static shot span more than a fifth of the scale — 20 points on a 0–100 score — stop treating the output as a measurement of the image.

What to write down instead of a percentage

If the frame matters for a decision — a claim, a dispute, a moderation call — the sentence you write should contain the file, not the score.

Short answers to the questions people actually ask

Can I just upload the MP4? Not to the three best-known tools. zerogpt.com lists JPG, PNG and WEBP for its image detector, and deepai.org lists JPG, JPEG, PNG, WebP, AVIF and HEIC (third-party pages, October 2026). Extraction and conversion are therefore compulsory — and conversion is precisely the step that changes the answer, which is the awkward part.

Isn't a PNG grab better than a JPEG grab? Yes, and it does less than people hope. Lossless storage stops a second generation of loss; it cannot restore what the first generation removed. You get the codec's output exactly, not the camera's.

Can I upscale the frame to help the detector? No. Resampling invents its own spectrum, and interpolation filters add periodic structure on a new grid. You would be feeding the detector artifacts you created.

Can't I just look at hands and eyes on the frame? Those are exactly the regions quantization hits hardest — small, high-frequency, and often inside fast-moving areas that were coded as a cheap residual. Detail-level tells that work on a photograph are unreliable on a P-frame.

Does this mean frame grabs are useless? No. It means the frame answers a narrower question than the one usually asked. It is fine for "what does this object look like", "what does the sign say", "who is in the shot". It is poor for "was this made by AI", because the codec removed the part of the signal that question depends on.

If the video was AI-generated, does the frame still look AI? Sometimes, and less often than you would expect from the video itself. The generator's fingerprint is the first casualty of quantization at delivery bitrates. If you have the video, analyse the video — motion coherence, temporal consistency, and frame-to-frame behaviour carry evidence that survives compression far better than a single still does.

The bottom line

An AI image detector applied to a frame grab is a detector applied to a compression artifact. The frame has been predicted from its neighbours, transformed on a 16×16 or 64×64 grid, quantized with a step that doubles every 6 QP, and filtered at every block edge. At a typical 1080p delivery bitrate, roughly 99% of the frame's information is gone before the model sees it. The score you get back describes that process at least as much as it describes who made the picture.

Use the frame for what a frame is good for: identifying objects, reading text, establishing what was on screen at a moment. For the question of origin, use the video, keep the original file, and if you must quote a still-image score, quote it with the frame index and say out loud that a codec stood between the camera and the model. That sentence is the difference between evidence and a number someone will later regret repeating.

Links on this site may be affiliate links.