Video and media

Video formats explained: MP4, MKV, H.264 and HEVC in plain English

Android support comes from the Android Developers supported media formats page (last updated 7 October 2026), read on 19 October 2026. Individual phones may support formats that are not on that list.

Short answer. A video file is a container (MP4, MKV, MOV, WebM) holding video compressed with a codec (H.264, HEVC, VP9, AV1). A phone plays it only if it supports both. Android's own format list includes all four codecs in MP4 and MKV, VP9 in WebM, and does not list MOV, so MP4 with H.264 is the safest choice.

Illustration for the guide: Video formats explained: MP4, MKV, H.264 and HEVC in plain English
On this page

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.

ContainerH.264HEVCVP9AV1Plays on most Android phones?
MP4 (.mp4)YesYesYesYesYes, all four listed
MKV (.mkv)YesYesYesYesYes, all four listed
WebM (.webm)Not listedNot listedYesNot listedWith VP9 (or VP8)
MOV (.mov)Not listedNot listedNot listedNot listedNot 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

  1. Check the extension and, if your player shows it, the codec (often under file info or details).
  2. Try a different video player that supports more codecs.
  3. Update the app or the phone.
  4. 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.

Sources we checked

Apps for this topic

Frequently asked questions

What is the difference between MP4 and MKV?

Both are containers that hold video, audio and subtitles. Android's format list includes H.264, HEVC, VP9 and AV1 in both. MP4 is the more widely supported outside Android; MKV is flexible but not played by every device or app.

What is a codec?

The method used to compress the video, such as H.264 or HEVC (H.265). The player must understand the codec as well as the container.

Do Android phones play MOV files?

MOV is not on Android's supported media formats list. Some phones and player apps open MOV files anyway, but it is not guaranteed. Converting your own MOV recordings to MP4 with H.264 avoids the problem.

Why is a 4K video so large?

More pixels and usually a higher bitrate mean more data per second. Size per minute is roughly the bitrate in Mbps times 60, divided by 8.

More guides on this topic