In this guide
  1. Before you start
  2. 1. Convert to a codec with more efficient compression
  3. 2. Adjust the video bitrate
  4. 3. Lower the resolution
  5. 4. Reduce the frame rate (with care)
  6. 5. Trim and compress the audio
  7. Tools you can use
  8. Recommended approach
  9. Common problems
  10. Frequently asked questions
    1. Does compressing a video always reduce quality?
    2. Which is better for sharing, H.264 or H.265?
    3. Is zipping a video a good way to shrink it?
    4. Why does WhatsApp make my videos look worse?

Large video files are a pain to send over WhatsApp or email, slow to upload, and quick to fill a phone or laptop. Compressing them makes them easier to transfer and store. This guide explains, in plain terms, the main ways to shrink a video, what each one costs you in quality, and how to pick the right settings. It is aimed at anyone who edits or shares video, from phone recordings to screen captures.

To be completely honest, most video files are already compressed. What you actually need to do is compress them more, or more efficiently. The good news is that you can, provided you know which settings matter.

Before you start

  • Keep the original. Always save the compressed copy as a new file. Compression throws data away, and you cannot get it back from the smaller file.
  • Know where the video will be played. A newer codec saves more space, but an older TV, phone or editing program may not play it.
  • Check your free disk space. Converting creates a new file alongside the original, and the process can take a while on long videos.
  • Plug in your laptop. Video encoding is demanding and can drain a battery quickly.

1. Convert to a codec with more efficient compression

Every video is compressed with a codec that encodes its data using algorithms to store it more efficiently. Some codecs are more effective than others.

vc 5th order

In practice, if you re-encode with a codec that has more efficient compression, you can reduce the file size without a visible drop in quality. For all intents and purposes it will look the same, just with a smaller file.

As a general rule, newer codecs compress better than older ones. H.264 (also called AVC) is still the most widely supported codec, but its successor HEVC (H.265) can reduce the file size of H.264 videos by up to 50% while keeping similar quality. Newer still is AV1, a royalty-free codec that is increasingly used by streaming services and supported by recent browsers, phones and graphics cards. It can be more efficient again, but older devices may not play it and encoding can be slow without hardware support.

Newer codecs take time to be adopted, so they are not as compatible as older ones. That is why H.264 is still the safest choice when you are not sure what device the viewer has.

Quick guide to choosing a codec:

Codec Compression Compatibility Best for
H.264 (AVC) Good Almost universal Sharing with anyone, older devices
H.265 (HEVC) Better Most modern phones, TVs and computers Storing your own videos, modern devices
AV1 Best (generally) Recent devices and browsers Web video, archiving on newer hardware

Note that the container (MP4, MKV, MOV, AVI) is not the same as the codec. MP4 is the most compatible container for sharing. Converting MOV to MP4 without changing the codec will barely change the file size; it is the codec and bitrate that matter.

2. Adjust the video bitrate

The other highly effective way to reduce file size is to lower the bitrate. Bitrate is the amount of data the video uses each second, so lowering it reduces the file size by a corresponding amount.

This gives you a lot of control, but it does affect quality. The lower the bitrate, the more the picture deteriorates, and compression artifacts such as blockiness, blurring and “smearing” in fast motion start to appear.

Many converters offer two ways to control this:

  • Constant quality (often called CRF or a quality slider). You choose a quality level and the encoder uses as much or as little data as each scene needs. This usually gives the best result for the size and is a good default.
  • Target bitrate or target file size. You choose the bitrate directly. This is useful when you must fit a strict limit, such as an upload cap.

3. Lower the resolution

A 4K video has four times as many pixels as a 1080p video. If the clip will only be watched on a phone or in a messaging app, scaling it down to 1080p or 720p can cut the size dramatically while still looking sharp on a small screen.

4. Reduce the frame rate (with care)

Footage recorded at 60 frames per second can be converted to 30fps to save space. This works well for talking-head videos and screen recordings, but fast action such as sport or gaming will look less smooth.

5. Trim and compress the audio

Cut unwanted footage at the start and end before compressing; it is the easiest saving of all. Audio is usually a small part of the file, but setting it to AAC at a moderate bitrate, or converting stereo speech to mono, can help a little more.

Tools you can use

You will need a video converter. For example, you could use Movavi Video Converter to convert MOV to AVI with H.264, or to MP4 with H.265. HandBrake is a popular free, open-source alternative for Windows, macOS and Linux with ready-made presets for phones, web and general use. Many video editors also let you choose the codec, resolution and bitrate when you export. On phones, some gallery and editing apps offer an export or “reduce size” option, and messaging apps compress videos automatically when you send them.

  1. Trim the clip to only what you need.
  2. Convert to a more efficient codec if the viewer’s device supports it. Use at least H.264, or H.265 if you know it will play.
  3. Lower the resolution if the video will be watched on small screens.
  4. If you still need a smaller file, lower the quality or bitrate gradually and check the result each time.

Try to find an acceptable balance between file size and quality, which may involve compromising a little on both.

Common problems

  • The compressed video will not play. The device probably does not support the codec. Re-encode with H.264 in an MP4 container.
  • The file barely got smaller. You may have changed only the container, or the source was already heavily compressed. Lower the resolution or quality setting instead.
  • The picture is blocky or blurry. The bitrate is too low for the resolution. Raise the quality setting or lower the resolution instead of starving the bitrate.
  • Encoding is extremely slow. Choose a faster encoder preset, or enable hardware encoding if your converter and graphics card support it.

Frequently asked questions

Does compressing a video always reduce quality?

Re-encoding always discards some data, but with an efficient codec and a sensible quality setting the difference can be hard to see.

Which is better for sharing, H.264 or H.265?

H.264 is better when you do not know what device the viewer has, because it plays almost everywhere. H.265 is better for storing your own files on modern devices.

Is zipping a video a good way to shrink it?

Not really. Video files are already compressed, so putting them in a ZIP archive saves very little space.

Why does WhatsApp make my videos look worse?

Messaging apps compress videos automatically to save data. Sending the video as a document usually avoids this, at the cost of a larger upload.

Technology Sage

The Technology Sage desk: guides, explainers and contributed articles since 2014.