Advertorial
Containers, codecs and captions

The file is fine. Your player just cannot read it.

MP4, MKV, H.264, HEVC, AV1, SRT, 5.1 — the labels around video sound like a different language until someone separates the box from what is inside it.

About 5 minutes Written for everyday viewers Advertorial by Prime Thicket LLC

A young person sitting cross-legged in a dim living room at night, holding a bowl of popcorn and watching a screen just out of frame

Local playback: no buffering, no bitrate ladder — and no safety net either.

Why a file refuses to play

Almost everyone has hit the same wall. A video arrives — a recording from a relative, an episode saved for a flight — and the player already on the machine simply shrugs.

Sometimes there is an error message, sometimes a black rectangle, and sometimes — most confusingly — the picture runs perfectly while the sound never arrives. Video and audio are decoded separately, so a player can draw H.264 frames beautifully and still have no idea what to do with the Dolby Digital stream beside them. The instinct is to blame the file. Usually the file is fine, and what has gone wrong is a mismatch between what the file contains and what the player knows how to read.

Before you re-download anything: none of these symptoms reliably indicates a corrupt file. Try a player with a broader decoder library first.

Containers and codecs, plainly

Think of a video file as a lunchbox. The lunchbox is the container: MP4, MKV, AVI, MOV, WebM. Its job is to keep the picture and the sound in step. It does not tell you what is inside.

The codec is what is inside — the method used to squeeze picture and sound down to a sensible size. H.264 is the long-standing default and plays almost everywhere; HEVC does the same work in roughly half the space, which is why 4K phone recordings use it; AV1 is newer and common on streaming platforms. For audio, AAC, MP3 and AC-3.

So two files can both end in .mp4 and behave completely differently: the extension describes the lunchbox, not the sandwich. An .mkv is not a type of video but a flexible container, favoured by people who want several audio and subtitle tracks in one file.

Subtitles: formats, sync and where they live

Subtitles arrive in three arrangements. Burned in means the words are painted into the frames themselves, so nothing can turn them off or restyle them. Muxed means the track lives inside the container as its own stream — normal in MKV, switchable from the player. Sidecar means a separate file, usually .srt, beside the video with a matching name: put episode.mkv and episode.srt in one folder and a competent player loads both.

Sync is a separate problem. Subtitles carry timestamps, and if those were written for a release with different opening credits the text drifts; a player worth using puts a delay control on a keyboard shortcut. If the gap stays constant, a fixed offset fixes it. If it grows as the film goes on, the file was timed for a different frame rate and needs a speed adjustment instead.

A person seen from behind in a dark cinema, silhouetted against the bright screen with red-piped seats on either side
A cinema decides the format, the sound mix and the subtitles for you. At home, those choices land on whichever player is open.

Audio tracks and dialogue clarity

A single file can carry several audio streams: an original-language mix, a dub, a commentary, an audio-description track. Whether you can reach them depends entirely on the player — plenty quietly take the first and give no sign the others exist.

Channel layout matters just as much. A 5.1 mix played through headphones has to be folded down into two channels, and a careless downmix is exactly what makes dialogue sound distant while explosions feel enormous: the centre channel, where almost all speech lives, gets buried.

Hardware decoding, and the local-file trade

Every modern processor and graphics chip contains fixed-function blocks built to decode particular codecs — H.264 almost universally, HEVC widely, AV1 on recent hardware. Decoding there is far more efficient than general-purpose arithmetic on the same chip, which is why one player runs a 4K file coolly while another turns a laptop into a hairdryer.

Acceleration is codec- and generation-specific, though, and hardware decoders are stricter than CPU-based ones, so a few unusual files play correctly only with it switched off — which is why the setting matters as much as the capability.

That is the local-file trade. A streaming service knows what your device can decode and adjusts as your connection wobbles; a local file makes none of those adjustments. It needs no network and keeps every track it was built with — in exchange you take on the decoding, which is why dedicated player apps exist.

Questions

Questions people ask

Short answers to what comes up most often.

What is the difference between a container and a codec?

The container is the file format that holds everything together — MP4, MKV, AVI, MOV, WebM. The codec is the method used to compress the picture and sound inside it, such as H.264, HEVC, AV1, AAC or AC-3. The extension tells you the container only, which is why two files that both end in .mp4 can behave completely differently.

Why does my video play with no sound?

Video and audio are decoded separately. A player can understand the video codec while having no decoder for the audio codec in the same file — AC-3, E-AC-3 and DTS are common causes. It is usually not a damaged download, and a player with a wider decoder library will often open the same file with sound intact.

My subtitles are out of sync — can I fix that without editing the file?

Yes, if your player exposes a subtitle delay control. A constant offset — the text always arrives a second early or late — is corrected by nudging the delay while the video plays. If the drift grows as the film goes on, the file was timed for a different frame rate and needs a speed adjustment rather than a fixed offset.

Should I leave hardware acceleration switched on?

For most people, yes — automatic mode uses the dedicated decoding block in your processor or graphics chip, which runs cooler and uses less battery. Keep the ability to turn it off, though: hardware decoders are stricter than CPU-based ones, so an occasional unusual file plays correctly only with acceleration disabled.

Ready when you are

Video player

Containers, codecs, sidecar subtitles and second audio tracks all lead back to the same practical question: does the thing opening the file carry its own decoders, or does it borrow whatever your system happens to licence this month? A dedicated player carries them. The listing below names the app this page has had in mind throughout, with the plain details of what it is and where it runs.

KMPlayer

  • Media player
  • Windows

Plays local video and audio in a broad range of formats.

KMPlayer is a desktop media player for Windows, not a browser extension. The details on this card are shown for information only, and features, requirements and terms are set by its publisher and can change.

Advertorial disclosure. This page is published by Prime Thicket LLC on primethicket.com and is promotional material, not independent journalism, a review or a ranking. The app named above is shown for information only; there is nothing to click through to and nothing is sold here. Prime Thicket LLC does not develop or operate that app, is not endorsed by its publisher, and makes no promise about how it behaves on your device. Features, requirements, pricing and terms belong to the publisher and can change at any time. See our disclaimer for more.

A note on how this page was written

The explanations above are general technical background about how video files are put together, written for readers who are not specialists. They describe how containers, codecs, subtitle tracks and hardware decoding work in principle. Exactly which formats your own device can handle depends on its processor, its graphics chip and its installed components, so treat everything here as orientation rather than a specification. Prime Thicket LLC has a commercial relationship with the app promoted on this page, which is disclosed in full in the block above.