Converting Video Formats: Which Format to Choose and Why

A video that plays perfectly on your phone refuses to open on a colleague's laptop. A file from a camera will not import into an editor. A clip is too large to send. Converting the video is the usual fix, but choosing the format to convert to is confusing, because a video "format" is really two separate things. Once you see the difference, most of the confusion goes away. This guide explains containers and codecs, when converting costs quality and when it does not, and which format suits which job.

Containers and Codecs

The file extension, such as .mp4, .mov or .mkv, names the container. A container is a package: it holds one or more video streams, audio streams, sometimes subtitles and chapters, and the timing information that keeps them in step.

The streams inside are compressed with a codec. Common video codecs are H.264 (also called AVC), H.265 (also called HEVC), VP9 and AV1. Common audio codecs are AAC, MP3, Opus and AC-3.

A device has to understand both the container and the codecs inside it. A video that "will not play" is often a codec problem rather than a container problem: the player can open the package but cannot decode what is in it. It also means that two files with different extensions can hold exactly the same picture. An MKV file and an MP4 file that both contain H.264 video and AAC audio differ only in their packaging.

Copying Streams Versus Re-encoding

There are two ways to convert a video, and the difference matters:

  • Copying the streams into a new container, sometimes called remuxing. The video and audio data are moved across untouched. It is fast, usually limited by how quickly the file can be read and written, and the quality is exactly the same as before.
  • Re-encoding, where the video is decoded and compressed again. It is much slower, and because codecs like H.264 discard detail to save space, each re-encode throws a little more away. A careful converter therefore re-encodes only when it has to, and then at a setting high enough that the difference cannot be seen. The file can come out larger or smaller depending on the settings.

Our Video Converter copies a stream whenever the new format can hold it, so the picture and sound come across unchanged. When it cannot, it re-encodes at a high quality setting meant to be indistinguishable from the original, rather than squeezing the file to a target size. Converting an MKV that holds H.264 video to MP4 is a copy. Converting an old AVI whose video uses a codec MP4 cannot carry, such as Cinepak or DV, means re-encoding the picture as H.264.

The Common Formats and What Each Is For

  • MP4 is the safe default. With H.264 video and AAC audio, it plays on almost every phone, computer, browser, television and editing program, and it is what most video sites expect.
  • MOV is Apple's QuickTime format, used by iPhones and common in video editing on a Mac. It plays natively on Apple devices. Elsewhere it depends on the codec inside.
  • MKV (Matroska) can hold almost any codec, several audio tracks, subtitles and chapters, which makes it popular for films and archives. Many players handle it, but Apple's own apps and many editing programs do not open it without extra software.
  • WebM is an open format designed for the web, holding VP8, VP9 or AV1 video with Opus or Vorbis audio. Current desktop browsers play it, but support on older Apple devices has been patchy, so MP4 is still the safer choice for anything that must play everywhere.
  • AVI is a Windows format from the 1990s. Some older software and hardware still expect it, but it is a poor fit for modern codecs. Use it only when a device demands it.
  • The rest. WMV belongs to older Windows software, FLV to the Flash era, 3GP to older mobile phones, MPG to DVD-era MPEG video, TS and M2TS to broadcasts and camcorders, and OGV to the open Theora codec. Each is mainly useful for the device or program that wants it.

The Codec Matters as Much as the Container

Many phones now record in HEVC, which gives smaller files than H.264 at similar quality. The catch is support: older computers and some browsers and programs cannot decode HEVC at all, or need an extra add-on.

This is where a container change does not help. If a video will not play because it is HEVC, converting it from MOV to MP4 keeps the HEVC stream, because MP4 can hold it, and the result fails in the same way. With our Video Converter, choosing a smaller resolution changes that: shrinking the picture means encoding it again, and for MP4 the new stream is H.264, which almost everything plays. The resolution menu offers 1080p, 720p and 480p, never enlarges a video, and leaves alone any video already at or below the size you pick.

AV1 is the newest common codec and compresses even better, but hardware that decodes it is newer still. Treat it like HEVC: excellent where it is supported, and worth checking first.

Which Format to Choose

  • To send to someone, or to play on a phone or television: MP4.
  • To upload to a video site: MP4 is the usual choice. The site will re-encode it anyway, so upload the best quality you have rather than a pre-shrunk copy.
  • To put on your own website: MP4 with H.264, which every browser can play.
  • To edit: whatever your editing program imports. MP4 and MOV are widely accepted; MKV often is not.
  • To keep: the original file. Converting never adds quality, so the original is always the best copy.
  • For an older device: check its manual for the formats it supports, which is where AVI, MPG, WMV and 3GP still earn their place.

What to Watch For When Converting

  • Subtitles. Our Video Converter carries the picture and sound across, but not subtitle tracks. If you rely on subtitles in an MKV file, keep the original or a separate subtitle file.
  • Size. A re-encode can make a file bigger as well as smaller. Choosing a lower resolution is the dependable way to make a video smaller, and it converts considerably faster too.
  • Sound only. To keep just the audio, use Audio Extractor, which saves the soundtrack as MP3, M4A, WAV, FLAC, OPUS or OGG. Converting MP3 or AAC audio to FLAC or WAV makes a larger file but cannot bring back detail the original compression removed.
  • No sound at all. The Mute audio switch removes the soundtrack entirely, rather than encoding silence.
  • Large files. Video Converter accepts files up to 2 GB. Videos are processed on our servers, so keep the page open until the download is ready: closing it cancels the conversion. Files are deleted automatically about five minutes after you close the page.

Conclusion

A video format is a container plus the codecs inside it, and both have to suit the device that plays it. When only the container is wrong, converting is fast and lossless, because the streams can be copied. When the codec is the problem, the picture has to be encoded again, which takes longer and is best done once, at a high quality setting. For almost any everyday purpose, MP4 with H.264 video and AAC audio is the answer.

Need a different format? Try the Video Converter.

← Back to the blog