New: a free MP4 Checker that tells you which browsers will play your video

Today we’re releasing a new free tool: the MP4 Checker. Choose a video file, and it tells you whether it will play in Chrome, Edge, Firefox, Safari, on iPhone and iPad, and on Android. When it won’t, it says why, and gives you the command that fixes it.

It’s free, needs no account, and your video never leaves your computer.

Why we built it

“It plays on my computer” is the most misleading sentence in web video. You export a video, open it in your browser, it plays, you publish it. Then someone writes that it’s a black box on their iPhone.

The trouble is that you tested in the browser that works. A video file holds choices that browsers judge differently: the video codec and how it was tagged, how many bits per color, the sound format, where the file’s index sits. Chrome on your laptop forgives most of them; an iPhone forgives fewer.

The online checkers we found only tell you whether your current browser can play the file, which is exactly the one that already does. So we built a checker that answers for every browser at once, and doesn’t stop at the diagnosis.

How it works

  1. Choose a video, drop it on the page, or pick one of our samples. MP4, MOV, WebM and MKV all work. The checker only reads the file’s headers, so even a multi-gigabyte file is checked in a moment.
  2. Read the verdict. A status at the top says “Plays everywhere”, “Depends on the browser” or “Won’t play in 2 browsers”. Below it, one tag per browser in green, amber or red, and the file’s facts: format, faststart, video and sound codecs, picture size and frame rate, length, bitrate and size.
  3. See it in your own browser. The checker also plays the file right there, as a real test: it tells you whether your browser shows the picture and plays the sound.

The MP4 Checker with an HEVC sample file: “Won’t play in 2 browsers”, Safari and iPhone & iPad in red, Chrome, Edge, Firefox and Android in amber, the file’s facts, and the video playing in Fluid Player

Rest the mouse on a browser’s tag to see why. Here, the reason is a single tag in the file: Apple only plays HEVC video tagged hvc1, and this file is tagged hev1, which is what ffmpeg writes by default.

The reason bubble under the Safari tag: “Plays HEVC only when it’s tagged hvc1; this file is tagged hev1.”

Below the player, five tabs give the details: Checks (each problem, most important first), Browsers (the reason for each one), Tracks, Fix and Structure (the parts of the file in order, for the curious).

We tested the browsers ourselves

Browser support tables are often out of date, so before writing the rules, we made 26 test files with ffmpeg, each with one problem, and played them in Chrome and Safari on a Mac, checking each picture. Some results surprised us:

  • Safari on a Mac plays 10-bit and 4:4:4 H.264, the kind some editors and screen recorders export. Most references say it doesn’t. Firefox and Android phones still don’t, so the checker still flags these files.
  • Safari refuses HEVC tagged hev1, with an error, while Chrome plays the same file. Changing the tag takes a second and doesn’t touch the picture.
  • Chrome plays files with AC-3 sound without any sound. The picture plays, so it’s easy to miss. Camera and TV recordings often have it.
  • Safari refused AV1 on our Mac (M1 Pro), which has no AV1 chip. Apple devices only play AV1 with hardware support.

We haven’t tested Firefox, an iPhone or Android phones ourselves yet: for those, the checker follows the browser makers’ documentation, and says “Depends” when that’s honest.

The fix, not just the diagnosis

The Fix tab gives the ffmpeg command that fixes your file, with its name filled in. When the picture doesn’t need to change, the command doesn’t re-encode it: for the file above, it only changes the tag and moves the index to the front, in a second, with no quality loss:

Terminal
ffmpeg -i "hevc-hev1.mp4" -c:v copy -tag:v hvc1 -c:a copy -movflags +faststart "hevc-hev1-web.mp4"

Other quick fixes it uses: moving the index to the start of the file (faststart), copying a MOV or MKV file into an MP4, or converting only the sound to AAC. When the picture itself must change, such as 10-bit video or a codec browsers don’t play, it gives a re-encode to H.264 that every browser plays.

The Fix tab: “Fixes everything at once” with the hvc1 command, then “Make an H.264 copy for the other browsers” with a second command, and the HTML for two sources

For HEVC and AV1, which are smaller but not played everywhere, the checker suggests keeping your file and adding an H.264 copy as a second source. It writes the <video> code for you, with the exact codec of your file in the type, so each browser picks the first source it can play.

Private by design

The checker runs in your browser. Your file is read on your computer, and only its headers; nothing is uploaded to us or anyone else. Open your browser’s network tab while you check a file, and you’ll see no request carrying it.

Try it

Open the MP4 Checker and drop in the video you’re about to publish, or try a sample: an iPhone video, an HEVC file tagged hev1, a 10-bit export, a camera file with AC-3 sound. Below the tool, a table shows which browsers play which formats, and a checklist covers what to check on your server when the file is fine but the video still won’t play.

It joins our other free tools for web video: the HLS & DASH Stream Tester for streams, the VAST Tag Tester, the Thumbnail Sprite & VTT Generator, the SRT to VTT and VTT to SRT converters, and the Player Builder. Found a file it gets wrong? Tell us on GitHub (opens in a new tab).