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
| Layer | Common identifiers | What it tells you | Useful first test |
|---|---|---|---|
| Container | MP4, MKV, WebM, MOV, AVI | How streams are packaged | Inspect the video and audio stream names |
| Video codec | H.264, HEVC, AV1, VP9 | How the picture is compressed | Toggle hardware decoding for one difficult file |
| Audio codec | AAC, MP3, FLAC, Opus | How the sound is compressed | Check whether another audio track plays |
| Subtitle format | SRT, WebVTT, ASS/SSA, disc subtitles | Whether captions are text or images | Select the embedded track before adding a file |
Diagnose a file VLC will not play
Update VLC from an official VideoLAN source and retry without installing a third-party codec bundle.
Play a second known-good file in the same VLC installation. This separates a media problem from a player or system problem.
Open VLC’s codec or media information view and record the container, video codec, audio codec and dimensions.
If video is blank or unstable, test hardware decoding as one controlled variable. Restore the prior setting if it makes no difference.
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.