When a video will not play, the cause is usually the format. Two ideas explain most of it: the container and the codec.
Container
The container is the file wrapper, shown by the extension: MP4, MKV, MOV, WebM. It holds video, audio, subtitles and metadata. The container tells a player how the pieces are packed, not how the picture was compressed.
Codec
The codec compresses the video. Common ones:
- H.264 (AVC): widely supported, a safe default.
- HEVC (H.265): smaller files at similar quality. Android lists an HEVC decoder from Android 5.0; outside Android, support varies between devices and programs.
- VP9 and AV1: modern, efficient codecs. Android lists a VP9 decoder from Android 4.4 and an AV1 decoder from Android 10, with AV1 encoder and decoder mandatory from Android 14.
A player needs both the container and the codec to work. An MP4 file with a codec the phone cannot decode will fail just like an unsupported container.
Which combinations Android lists
This table shows which codec and container pairs appear on Android’s supported media formats page (last updated 7 October 2026, read on 19 October 2026). “Yes” means Android’s list includes that codec in that container; “Not listed” means it does not.
| Container | H.264 | HEVC | VP9 | AV1 | Plays on most Android phones? |
|---|---|---|---|---|---|
| MP4 (.mp4) | Yes | Yes | Yes | Yes | Yes, all four listed |
| MKV (.mkv) | Yes | Yes | Yes | Yes | Yes, all four listed |
| WebM (.webm) | Not listed | Not listed | Yes | Not listed | With VP9 (or VP8) |
| MOV (.mov) | Not listed | Not listed | Not listed | Not listed | Not on Android’s list |
Read the last column with two caveats from the same page. Support arrived in different Android versions (HEVC decoding from 5.0, VP9 from 4.4, AV1 from 10), so a very old phone may not decode the newer codecs. And Google notes that a particular device might support additional formats that are not in the tables, which is why some phones open MOV files and others do not.
Resolution and bitrate
- Resolution: 720p, 1080p, 4K. More pixels, more detail, bigger files.
- Bitrate: how much data per second. A low bitrate at high resolution still looks blocky. Android’s encoding recommendations give examples such as 2 Mbps for 720p H.264 and 10 Mbps for 1080p VP8.
- Frame rate: 24, 30, 60 frames a second. Higher is smoother and larger.
Bitrate is what decides file size. Megabytes per minute equal the bitrate in Mbps times 60, divided by 8, so a 10 Mbps clip takes about 75 MB a minute. Our guide to freeing storage taken by videos works through more examples.
Which format to use for your own videos
- Recording: the camera app’s default is usually the right choice. If it lets you pick a codec, HEVC saves space, while H.264 is the safer choice for clips you will send to other people.
- Sending or uploading: MP4 with H.264 is the combination most likely to play everywhere, and it is on Android’s list.
- Keeping the original: each time a compressed video is converted it can lose some quality, so keep the original file and convert a copy.
- Saving space: lowering the resolution or bitrate usually saves more space than changing the container. Changing MKV to MP4 without re-encoding the video barely changes the size.
If a file will not play
- Check the extension and, if your player shows it, the codec (often under file info or details).
- Try a different video player that supports more codecs.
- Update the app or the phone.
- Convert the file to MP4 with H.264 if it came from your own recording. That pair is on Android’s list and is widely supported elsewhere.
Only convert or save content you have the right to use. See downloading videos legally and freeing storage.
