HOME/ GENERAL/ “YOUR FILE SAYS .MP4. THAT’S ONLY HALF THE STORY.”
GENERAL

“Your File Says .MP4. That’s Only Half the Story.”

Understanding video file formats and codecs
Understanding video file formats and codecs

Two MP4 files can behave completely differently — one plays everywhere without issue, another mysteriously fails on certain devices or software. The file extension isn’t lying to you; it’s just not telling the whole story.

The container is the box, the codec is what’s inside it

MP4 (like MOV, AVI, MKV) is a container format — think of it as a box that holds video, audio, and other data together in one file. What’s actually inside that box — how the video itself is compressed and encoded — is the codec (H.264, H.265/HEVC, VP9, and others). The same container format, MP4, can hold several different codecs, and that codec is what actually determines whether a given device or piece of software can play it.

“Two files can both say .mp4 and behave completely differently, because the extension tells you the box, not what’s actually packed inside it.”

Why this explains your specific playback problem

If an MP4 plays fine on your computer but fails on an older device or in specific software, the most likely explanation isn’t a corrupted file — it’s a codec inside that container that the failing device or software doesn’t support. H.264 has extremely broad, near-universal support across devices and software. Newer codecs like H.265/HEVC compress more efficiently (smaller files at similar quality) but have less universal support, especially on older hardware or software that hasn’t been updated to support them.

What this means practically for screen recordings

If you’re recording something that needs to play reliably across a wide range of devices and software you don’t control — content going to a broad audience, an LMS with unknown student devices — exporting with H.264 inside an MP4 container is the safest, most broadly compatible choice, even though newer codecs offer efficiency advantages. Save the efficiency gains of newer codecs for situations where you control or can verify the playback environment.

The fix when a specific file won’t play somewhere

Converting the file (not just renaming it) using a tool like HandBrake or FFmpeg, re-encoding to H.264 inside an MP4 container specifically, resolves the vast majority of “this video file won’t play” problems that stem from an unsupported codec — this is a genuine re-encode, not just a container change, since the codec is the actual compatibility issue.

Why “just rename it to .mp4” doesn’t fix anything

Changing a file’s extension without actually converting its contents doesn’t change the codec inside it — a file with playback problems due to its codec will have the identical problem regardless of what extension you give it, since the extension is just a label, not the actual encoding.

Frequently asked questions

Why won’t my MP4 file play on some devices but not others?
The container (MP4) is broadly compatible, but the specific codec inside it might not be supported by the device or software that’s failing to play it — H.264 has the broadest support; newer codecs like H.265 have less universal compatibility.

Does renaming a file’s extension fix a playback problem?
No — renaming only changes the label, not the actual codec inside the file. A genuine re-encode using a tool like HandBrake or FFmpeg is needed to actually change the codec.

What’s the safest codec to use for a screen recording that needs to play everywhere?
H.264 inside an MP4 container remains the most broadly compatible choice across devices and software, even though newer codecs can offer better compression efficiency.

ET

Elena Torres — Elena previously worked in instructional design for a school district, and covers mobile platforms and education-focused recording here. Read the full editorial standard →

Related reading: How to trim a screen recording without losing quality · Effortless MOV to MP4 conversion on Mac · How much storage do screen recordings actually use