How to Find What Codec a Video Uses

Check the actual streams inside a media file instead of guessing from .mp4, .mkv, .mov, or .avi. Knowing the codec is often the fastest way to distinguish a missing-decoder problem from a damaged file or player issue.

Quick answer

Use a media inspector and look first for container, video codec, and audio codec. Media Player Codec Pack's Online File Inspector can inspect supported local media files in the browser without uploading the media file.

Open Online File Inspector

What to look for

Container

Examples: MP4, MKV/Matroska, MOV/QuickTime, AVI, WebM. The container groups the streams together.

Video codec

Examples: H.264/AVC, HEVC/H.265, AV1, MPEG-2, ProRes, DivX, Xvid. This determines how the picture is decoded.

Audio codec

Examples: AAC, AC3, EAC3, DTS, FLAC, TrueHD, MP3, PCM. This determines how the audio stream is decoded.

Other details that can explain playback problems

PropertyWhy it matters
Resolution4K or higher-resolution video can expose hardware or performance limits even when the codec is supported.
Frame rateHigh-frame-rate video can be more demanding to decode smoothly.
Bit depth / HDR10-bit or HDR video may need newer decoding and display paths.
BitrateVery high bitrates can stress storage, network, CPU, or GPU performance.
Audio channels5.1/7.1 layouts can reveal output-device or passthrough configuration issues.
Subtitle streamsSome players handle embedded subtitle formats differently.

Example: what an MKV file might contain

File: movie.mkv\nContainer: Matroska / MKV\nVideo: HEVC / H.265, 3840x2160, 10-bit\nAudio: DTS, 5.1 channels\nSubtitles: SRT

In this example, “MKV support” alone does not tell you whether playback will work. The player also needs to handle HEVC video and DTS audio, and the computer needs enough performance for the particular video.

If the codec is unsupported

Use a player with suitable built-in decoding, add compatible Windows playback support, or convert the file to a more widely supported format.

Video codec help →

If the codec is supported but the file still fails

Check file completeness, corruption, DRM, cloud synchronisation, GPU drivers, output devices, and player configuration rather than installing more codecs.

Troubleshoot the symptom →

Frequently asked questions

How can I check a video codec without uploading the file?

Use a local media inspector. The Online File Inspector reads supported local media in the browser so you can identify its streams without uploading the media file.

What information should I look for first?

Start with container, video codec, and audio codec. Then check resolution, frame rate, bit depth, bitrate, channels, and subtitle tracks when the problem involves performance or partial playback.

Related guides