VLC Supported Formats: Containers, Codecs and Subtitles

VLC plays most common media, but a filename extension is only the outer container. Successful playback also depends on the video codec, audio codec, subtitle type, file condition, VLC build and operating system.

Quick format check

Test the file in the current official VLC build, then compare it with a known-good file. If one file fails, inspect its streams. If every file fails, investigate VLC preferences, output modules or the system instead of installing a random codec pack.

Read a media file in layers

The container holds the streams

MP4, MKV, WebM, MOV and AVI are containers. A container can hold video, audio, subtitles, chapters and metadata. Two files ending in .mp4 can behave differently because the streams inside use different codecs or profiles.

The codec describes compressed media

Names such as H.264, HEVC, AV1, VP9, AAC, MP3 and FLAC identify ways to encode video or audio. VLC may decode a stream in software or ask the operating system and graphics hardware to help. That is why the same file can work on one device and stutter on another.

Subtitle tracks have their own format

SRT and WebVTT usually contain text. ASS and SSA may include positioning and styles. Disc subtitles can be image based. Text tracks can often be restyled; image tracks cannot be changed in the same way. Use the VLC subtitle guide to separate track selection, styling and timing.

What the extension can and cannot tell you

LayerCommon identifiersWhat it tells youUseful first test
ContainerMP4, MKV, WebM, MOV, AVIHow streams are packagedInspect the video and audio stream names
Video codecH.264, HEVC, AV1, VP9How the picture is compressedToggle hardware decoding for one difficult file
Audio codecAAC, MP3, FLAC, OpusHow the sound is compressedCheck whether another audio track plays
Subtitle formatSRT, WebVTT, ASS/SSA, disc subtitlesWhether captions are text or imagesSelect the embedded track before adding a file

Diagnose a file VLC will not play

  1. Update VLC from an official VideoLAN source and retry without installing a third-party codec bundle.

  2. Play a second known-good file in the same VLC installation. This separates a media problem from a player or system problem.

  3. Open VLC’s codec or media information view and record the container, video codec, audio codec and dimensions.

  4. If video is blank or unstable, test hardware decoding as one controlled variable. Restore the prior setting if it makes no difference.

  5. If the file is damaged or uses an unsuitable delivery format, keep the source and create a separate output with the VLC conversion workflow or the browser-local video converter.

Common questions about VLC format support

A failed file does not automatically mean VLC lacks its extension. Check the streams, file condition, and decoding path separately.

Does VLC need a separate codec pack?

VLC includes support for many common codecs. Do not install an unrelated codec bundle merely because one file fails; identify the stream and test the same file in a current official build first.

Why does audio play when the video stays black?

Audio and video are separate streams. VLC may decode the audio while the video codec, profile, hardware-decoding path or graphics output fails. Follow the VLC troubleshooting matrix before converting the file.

Can changing a file extension make it compatible?

No. Renaming .mkv to .mp4 does not convert the container or streams. Real conversion writes a new container, and transcoding writes a new encoded stream.

Official scope

VideoLAN describes VLC as a cross-platform player that handles most multimedia files and many streaming protocols. Format support still varies with the exact stream, build and platform. Review the official VLC feature overview > and report a reproducible mismatch through our corrections channel.