FILE FORMAT GUIDE

MP4 File: Open Media and Inspect Its Codecs

An MP4 file is a media container, not a single video codec. It can carry video, audio and other tracks. When it will not play, check the track encodings and the player’s support before deciding that the filename or container is the problem.

Quick facts

Extension
.mp4
Format
MPEG-4 Media File
Category
video
MIME type
video/mp4, audio/mp4, application/mp4
Standard / developer
ISO/IEC MPEG
Open with
QuickTime Player

What is MP4?

MP4 organizes media streams and their metadata within an MPEG-4 file structure. The media-type registration distinguishes files with visual content from audio-only content. The .mp4 suffix does not prescribe one particular combination of video and audio codecs.

How to open MP4

Playback depends on the media tracks and supported encodings, not just the suffix.

QuickTime PlayermacOS

Use File > Open File for compatible media; review track properties with Movie Inspector.

Common uses and compatibility

  • Deliver media streams in an MPEG-4 file container.
  • Inspect container and stream properties independently.

Things to check

  • Container identification does not establish support for every contained codec.
  • A filename change does not transcode media; Apple’s limited H.264 MOV renaming workflow is not a general codec conversion.

Advanced inspection

These developer and command-line workflows inspect structure or metadata. They are not the default way most people open the file.

ffprobeCommand line; FFmpeg required

Read the container and stream information.

Technical details

Signature
Unknown
Encoding
Unknown
Container
MPEG-4 file container; the applicable media type depends on contained streams
Compression
Unknown

MIME type registration for MPEG-4 — RFC 4337

Open a compatible media file

On Mac, open the file in QuickTime Player. If it cannot play the content, check the encoding requirements rather than assuming every MP4 is the same kind of video.

Sources: Open and play a file — QuickTime Player · View media file information in QuickTime Player — Apple

Inspect the tracks, not only the suffix

Use ffprobe to distinguish the container format from each stream’s codec. Record which video and audio tracks the file actually contains before choosing a player or an export setting.

Inspect a known local file

ffprobe -v error -show_format -show_streams "example.mp4"

Sources: ffprobe stream and container inspection — FFmpeg

Why can a file have a picture but no sound?

The video and audio are separate streams. Inspect whether an audio stream exists and which encoding it uses, then check the receiving application’s support. A recognized outer container alone cannot answer that question.

Sources: ffprobe stream and container inspection — FFmpeg · MIME type registration for MPEG-4 — RFC 4337

Choose a real conversion workflow

Apple documents a limited filename-change workflow for H.264 MOV files. That does not transcode the audio or video. For other codecs, changed resolution or a destination that rejects the renamed file, use the documented iMovie import and Export File workflow. Retain the original and check the exported copy.

Sources: Convert a MOV file to MP4 on Mac — Apple

Related formats

Sources & review

Sources reviewed 2026-11-16.