Automatic video checks: what they catch and what they still miss
Article by Pedro Henrique Lahr
The Kodecz automatic check is a command, kodecz check, that looks at every frame of a video before it is rendered and says where there is a problem: on which frame, in which text and why. It catches what has an objective measure, like text over the face, a wrapped caption, low contrast and a zoom out of step with the speech. It does not judge taste and does not read text drawn inside images. On a 75-second composition, it took 14.7 seconds.
What exactly does it check?
Each rule has a code, taken from Konecz's video skill:
| Code | What it checks | Result |
|---|---|---|
| G15 | no text over the presenter's face, with a margin | failure |
| G17 | caption on a single line, not leaving the frame | failure |
| G19 | text outside the strip the app covers, when the destination is Reels, TikTok, Shorts or an ad | failure |
| G20 | text contrast against the real background behind it | warning; failure on captions |
| G21 | emphasis zoom that only returns when the sentence ends, or holds until the cut | failure |
| som-casado | every stage of a step-by-step animation has its own sound, to the end of the stage | failure |
| tremor | text drifting slowly without stopping | warning |
A failure makes the command exit with code 4. A warning does not block, but it shows up for someone to read and explain.
How does it look without rendering the video?
It opens the video page in its own browser, sets each frame N to the right time, as the render would, and reads the page from inside: the box of every line of text, the scale of the presenter's video, the opacity of every element. The face is found by a detector on sampled frames. The speech comes from the word list the page itself publishes, with each word's start and end.
Since it only reads and encodes nothing, it always runs on the CPU, without a GPU. On the 75-second 9:16 test composition (2,250 frames), the measurement from October 30, 2026 came to 7.0 seconds of CPU and 14.7 seconds on the clock. The geometry of all 2,250 frames took 66 milliseconds; the rest was the face search and the captures for contrast.
What does the page need to mark?
Three things, all plain HTML attributes:
- Roles:
data-papel="apresentador"on the speaker's video,data-papel="legenda"on the caption anddata-papel="faixa"on the topic band. With no presenter marked, the face and zoom rules do not run and a warning comes out. - Speech: the timed word list, published by the page. Without it, the zoom is not checked.
- Destination:
<html data-destino="reels">. Without a destination, the safe area is not enforced.
Anyone who assembles the video with kodecz assemble writes none of this by hand: the assembly adds the roles, the speech and the destination.
What does the agent get back?
One JSON line with a count per rule, a conferencia.json file with every failure, and a picture of the worst frame for each, with the boxes drawn. Each failure gives the first and last frame of the stretch, the worst frame, the text, the reason with the measured number and a one-sentence suggested fix. When the video was assembled from a JSON edit, the failure also names the item of the edit that caused it.
That is what separates a check from a score. The agent does not get «the video has problems»; it gets «frames 33 to 63, text Novo, over the face, raise the band to the chin».
How do we know it is right?
Through calibration. The thresholds were approved on October 30, 2026 and tuned on real Konecz videos, approved and rejected. The Kodecz paper reports the result on 17 videos: after tuning, no approved video fails, and every mistake in the rejected ones is still caught.
And the rules are the same as in the Kodecz Bench, the agent test. A single file holds both. What the AI is tested on is what the check enforces on real videos.
What does it still miss?
It is all written in the documentation:
- Text outside the page. Text drawn on a canvas, in an image or inside recorded footage is not seen. When something like that covers the presenter, a warning comes out.
- Zoom inside recorded footage. If the crop happens inside the take, without changing the element's size, the zoom does not show up.
- Decoding flicker. A lost frame of embedded video does not appear on the page; it depends on brightness measured in the final file, which is another command.
- Taste. A weak transition, a video that looks like a template, dragging pace: none of that has an objective measure here.
- Length, loudness and transcript of the final file are left to the MP4 inspection, after the render.
Frequently asked questions
Do I need to set anything up first? Once per machine, with internet: install the check's dependencies and run the setup, which downloads the face model and verifies its checksum.
Can I check both formats at once? Yes. The command takes several folder and composition pairs, like the 16:9 and 9:16 versions of the same video.
Does the check change anything in the video? No. It only reads, in a process separate from the render.
If it passes the check, is the video good? It is free of the mistakes it measures. The rest still needs someone looking at the frames.
More in the summary of the paper on AI agents making video and on the Kodecz page. At Konecz, this check runs before every video goes to a client's profile.