Konecz

What to check in the final MP4 before you post a video

Article by

Before you post, check the final file for: overall loudness, the sound's peak, silent stretches, black frames, frozen picture, a brightness flash, a click at a cut, and whether sound and picture last the same. These defects only exist in the finished MP4. kodecz inspect measures each of them and returns one line with the exact moment and the fix.

Why is checking the page not enough?

Because the page and the file are different things. In Kodecz, a video is written as a web page and checked before it becomes an MP4: text over a face, captions on two lines, contrast. But the sound is only mixed at the end, and a clip that failed to load only becomes a black stretch in the file. A sound effect cut in the middle only clicks after the mix.

So Kodecz has two checks. kodecz check looks at the page, before. kodecz inspect looks at the file, after. Neither replaces the other.

What are the rules and the thresholds?

Rule Fires when Priority
Loudness integrated loudness more than 1 LU from the target, or a true peak above −1 dBTP P1
Missing audio no audio stream, or a track that is all silence P1; P0 if the edit had voice, music or sounds
Muted audio more than 1 s of digital silence in the middle of the video P1
Black frame at least 0.1 s of real black P1; P2 when the video opens on black
Frozen frame 3 s of still picture; inside a video clip of the edit, from 1 s P2; P1 inside the clip
Flash one frame whose mean brightness jumps more than 60 against both neighbours P1
Click a sharp step in the waveform near a cut P1 at a cut; P2 elsewhere
Length sound and picture more than one frame apart, or a file longer than the destination's limit P1; P2 for the limit
Voice vs music with the edit: music less than 10 dB under the voice for at least 1 s of speech P1

P0 means a broken file, P1 means a viewer will notice, and P2 is a warning that may be intentional.

What loudness should Reels, TikTok and YouTube get?

The default target is −14 LUFS for Reels, Instagram, TikTok, Shorts and ads, and −16 LUFS for YouTube and explainer videos, with a true-peak ceiling of −1 dBTP. The Kodecz docs are upfront about it: these numbers are the trade's consensus (mastering guides, editor presets), not a published rule. Instagram and TikTok publish no loudness target, and YouTube only says it turns down uploads that are too loud.

Why is the black-frame rule so strict?

Because a dark brand background is not black. The common default for black detection mistook a dark navy (#101828) for black. inspect only fires when 98 % of the pixels sit under 2 % of the brightness range: real black, like a clip that never loaded. In a Kodecz timeline, a gap shows the page's background, not black, so real black is almost always a mistake.

And frozen picture?

Three seconds of still picture can be on purpose: a title card, a number that stays on screen. So in general it is only a warning. But inside a video clip of the edit, 1 s of stillness is already a problem: the clip ended before its slot or never played. That becomes P1.

How do you use it in practice?

  1. Render the video.
  2. Run kodecz inspect final.mp4 --destination reels --edit folder/. --edit points to the edit's folder, and each finding then names the item it comes from (itens[1], sons[2], trilha).
  3. Read the JSON line. ok false means there is a P0 or a P1.
  4. Fix it using the conserto field and run it again.

If the video ends on a deliberate fade to black, --fade-out 1 tells inspect so, and the black in the last second is not reported.

What about the length limit?

inspect warns above 90 s for Reels and Instagram and above 60 s for Shorts. It is only a warning (P2), because those platforms now take longer uploads; the old limits remain the common target for the short-video feed. Konecz videos sit well under that: short reels like «O ketchup já foi vendido como remédio» (ketchup was once sold as medicine) on the Gatronomia profile, or «Vinho verde não é verde» (vinho verde is not green) on Vinhedo Digital.

Frequently asked questions

Can I run kodecz inspect on a video not made with Kodecz? Yes. It reads any MP4. Only linking each finding to an item of the edit (--edit) depends on the video having been assembled by Kodecz.

Does inspect fix the loudness? No, it only measures. The fix is kodecz prepare loudness, which brings the audio to the target and copies the video as is.

Does a small click matter? Yes. On a phone, with earbuds, a click at a cut is one of the first things that sounds amateur. That is why near a cut it is P1.

More about the engine on the Kodecz page and in the Kodecz launch post. If you would rather get the videos already checked and posted, see the Konecz plans.

Markdown version