How to Reduce the File Size of an MP4 Video

MP4 files can get large fast — a few minutes of high-resolution footage can easily balloon into gigabytes. Whether you're uploading to a website, sending via email, or embedding video in a web project, understanding what drives MP4 file size (and what actually shrinks it) helps you make smarter decisions without sacrificing more quality than necessary.

What Makes an MP4 File Large in the First Place

An MP4 is a container format — it wraps together video, audio, subtitles, and metadata into a single file. The actual size is determined by several underlying factors:

  • Video codec and compression — H.264 is the most common codec; H.265 (HEVC) offers roughly 40–50% better compression at similar quality
  • Bitrate — the amount of data encoded per second of video; higher bitrate = larger file, more detail
  • Resolution — 4K footage carries roughly four times the pixel data of 1080p
  • Frame rate — 60fps files are larger than 30fps at the same resolution and bitrate
  • Duration — longer videos accumulate size linearly with all other factors held constant
  • Audio tracks — stereo vs. multichannel audio, and the audio bitrate, contribute to total size
  • Color depth and dynamic range — HDR footage requires more data than standard dynamic range

Understanding which of these is driving your file size tells you which lever to pull.

The Core Methods for Reducing MP4 File Size

1. Re-encode with a More Efficient Codec 🎬

If your video was encoded in H.264, re-encoding it in H.265/HEVC or AV1 can significantly reduce file size at equivalent visual quality. H.265 is widely supported across modern browsers, phones, and streaming platforms. AV1 offers even better compression but is more CPU-intensive to encode and has slightly less universal hardware support.

This is one of the highest-impact changes you can make without visibly degrading quality.

2. Lower the Bitrate

Bitrate is directly tied to file size. Most video editing and compression tools let you set a target bitrate manually or choose between constant bitrate (CBR) and variable bitrate (VBR).

  • VBR allocates more data to complex scenes and less to static ones — generally better quality-to-size ratio
  • CBR keeps file size predictable but can waste data on simple footage

For web use, a 1080p video typically compresses well at 4–8 Mbps using H.264, or 2–5 Mbps using H.265 — though the right number depends on content complexity.

3. Reduce Resolution

If your original footage is 4K but the end-use display is a 1080p browser embed or mobile screen, downscaling to 1080p cuts file size dramatically. Reducing from 4K (3840×2160) to 1080p (1920×1080) reduces total pixel count by 75%.

Match resolution to the actual display context — delivering 4K to a 720p player wastes bandwidth with no visible benefit.

4. Trim Unnecessary Footage

Before any technical compression, simply cutting unused segments reduces file size proportionally. A 10-minute video compressed to 5 minutes is half the size before any codec settings change.

5. Use Two-Pass Encoding

Two-pass encoding analyzes the entire video on the first pass, then encodes optimally on the second. This produces better quality at a given file size compared to single-pass encoding. It takes longer but is worth it for final output files.

Tools Commonly Used for MP4 Compression

Tool TypeExamplesBest For
Desktop softwareHandBrake, Adobe Premiere, DaVinci ResolveFull control, batch processing
Command-lineFFmpegAutomation, scripting, advanced control
Online toolsVarious browser-based compressorsQuick one-off compression, no install
Mobile appsPlatform-specific video editorsCompressing on-device before upload

HandBrake and FFmpeg are widely respected for flexible, no-cost compression. FFmpeg in particular gives you precise control over every parameter — codec, bitrate, resolution, frame rate, and audio settings — all from a single command.

Audio Compression Also Matters

Video gets most of the attention, but audio tracks add up. If your video has uncompressed or high-bitrate audio and the use case doesn't require audiophile quality, re-encoding audio to AAC at 128–192 kbps stereo is typically indistinguishable for most viewers and reduces audio file size noticeably — especially in longer recordings.

Quality vs. Size: The Real Trade-off ⚖️

Every compression decision involves a trade-off. The key variables:

  • Content type — talking-head interviews compress very efficiently; fast-moving sports footage or screen recordings with lots of motion retain more artifacts at lower bitrates
  • Intended platform — streaming services, social platforms, and web embeds each have different optimal specs
  • Downstream use — an archive master file should stay high-quality; a web preview can be aggressively compressed
  • Viewer hardware — H.265 decodes efficiently on modern hardware but may strain older devices

There's no universal "correct" setting. The same bitrate that looks fine on a corporate training video can produce visible blocking artifacts on a music video with rapid cuts and saturated colors.

The Variables That Determine Your Best Approach

The right compression strategy shifts depending on:

  • Whether you need the file for web delivery, archiving, email attachment, or device playback
  • Your source footage quality — compressing already-compressed footage can compound artifacts
  • The tools available to you and your comfort with technical settings
  • How much quality loss is acceptable for your specific audience and context
  • Time constraints — two-pass H.265 encoding is slower than a quick online compression tool

A web developer embedding background video loops has very different needs than a filmmaker delivering a client project, even if both are asking the same question. 🎯

The method that works best is the one matched to what the file is actually for — and that's the part only you can define.