Skip to content
A tabby cat lying on a bed
Back to blog
Explained

Video will not play? Codecs explained, and what to do

You got a video file and it will not play, or you hear sound with a black screen. Here is what a codec is, why some videos fail, and the easy ways to fix it.

Eric Rada · Founder · · 3 min read

In short

A video file is like a box with a video inside. The video is squeezed with a method called a codec, so the file is not huge. To play it, your device must know how to open that method.

When the codec is missing, you may see an error, a black screen, or hear sound with no picture. The video itself is fine. The player just does not understand it.

What a codec does

A codec compresses video so it can be stored and sent. MDN gives an example, a 30 minute video conference would need about 447.9 GB of storage without compression.

Most codecs are lossy. That means the decoded video does not match the source exactly, and the more you compress, the more detail you lose.

Codec and container are not the same

The file ending, like MP4 or WebM, names the container. The container holds the video and the audio. The codec is the method used inside it.

The same codec can live in different containers. For example, MDN lists AV1 in both MP4 and WebM. So two files with the same ending can still behave differently.

The codecs you meet most

H.264, also called AVC, is the most widely supported. MDN says it works in all versions of Chrome, Edge, Firefox, Opera and Safari. VP9 is open and free to use, and AV1 is newer and royalty free.

HEVC, also called H.265, can reach files about half the size of H.264 at comparable quality, says MDN. But support is partial, so it is a common reason a video will not open.

How to fix it

First, try VLC. Its website says it plays most codecs with no codec packs needed, runs on Windows, Mac, Linux, iPhone and Android, and is completely free with no ads and no tracking.

If that does not work, ask the sender to export the video again as MP4 with H.264. It is the safest choice when you do not know what the other device can play.

Get the file the way it was made

Some apps convert or shrink a video when you send it, and that can cause playback problems or lost quality. Sending the file itself avoids that.

A Room gives you one link that opens in the browser, with no account needed for the person receiving. The files are never compressed or converted, so you get the video exactly as it was uploaded.

Never compressed or converted, one link, no account needed. Free up to 10 GB.

Send video files as they are →

Questions

Why do I hear sound but see a black screen?

Your player knows the audio codec but not the video codec. Try VLC.

Do I need to install a codec pack?

Usually not. VLC says it plays most codecs without any codec pack.

Which format is the safest to send?

MP4 with H.264 works in all major browsers, according to MDN.

Is a video that will not play damaged?

Often not. It may just use a codec your player does not support.

One link. Everyone’s photos.
Free up to 10 GB. Guests never need an account.
Create a Room