updated Oct 9, 2026 72MB file size 37.4K downloads

MP4Box is the free, open-source command-line tool from the GPAC project for muxing, splitting, joining and repackaging MP4 files without re-encoding, adding subtitles or audio tracks in seconds, a lighter partner to FFmpeg.

MP4Box is the free command-line tool for building, splitting, joining and repackaging MP4 files without re-encoding them.

It comes as part of GPAC, an open-source multimedia framework developed at Telecom Paris, and runs on Windows, macOS, Linux and Android.

There is no window to click around in, so expect to type a command or two - the useful ones are listed further down this page.

What MP4Box Actually Does - in Plain Terms

An MP4 file is a box that holds separate tracks: video, one or more audio tracks, subtitles and chapter markers. MP4Box opens that box and rearranges what is inside it, without touching the picture or sound themselves.

That is why it is fast and why there is no quality loss. A job that takes an encoder an hour, such as adding a subtitle track or swapping an audio language, takes MP4Box a few seconds.

  • Mux and demux. Combine separate video, audio and subtitle files into one MP4, or pull a single track back out of one.
  • Split and join. Cut a file into parts by size or duration, or stitch several parts back together.
  • Fix files for the web. Interleave a file and move its index to the front, so it starts playing in a browser before it has fully downloaded.
  • Prepare streaming. Package files for DASH and HLS adaptive streaming, the format video sites use to switch quality on the fly.
  • Encrypt and tag. Add Common Encryption for protected streaming, and write metadata such as titles and language codes.
  • Package images. Build HEIF and AVIF image files, the same family as the HEIC photos an iPhone takes.

It reads MP4, MOV, 3GP and raw streams such as H.264, H.265, AV1, AAC and AC3, plus SRT and other subtitle formats. On Windows, HEIC files it creates need HEIF Image Extensions to open in Photos.

The Commands Most People Need

Open a Command Prompt or terminal in the folder with your files and type one of these. Replace the file names with your own.

Job Command
See what is inside a file MP4Box -info movie.mp4
Combine video and audio into one MP4 MP4Box -add video.h264 -add audio.aac -new movie.mp4
Add an English subtitle track MP4Box -add subs.srt:lang=en movie.mp4
Remove track number 3 MP4Box -rem 3 movie.mp4
Extract track number 1 as a raw stream MP4Box -raw 1 movie.mp4
Split into 10-minute parts MP4Box -split 600 movie.mp4
Join two parts MP4Box -cat part1.mp4 -cat part2.mp4 -new joined.mp4
Make a file start playing faster online MP4Box -inter 500 movie.mp4
Package for DASH streaming with 4-second segments MP4Box -dash 4000 -rap movie.mp4

Track numbers come from the -info output, so run that first. Commands without -new change the original file, so keep a copy until you are happy with the result.

For every option, the official MP4Box documentation is kept up to date by the GPAC team.

Which Download You Need

The MP4Box download page carries the full GPAC installer for each platform. On Windows, take the 64-bit installer unless you are on a 32-bit system; it installs MP4Box along with the rest of GPAC.

The installers are GPAC's automated builds of its latest code, which the developers test on every build and describe as safe for most users. There is also a portable 7z of MP4Box on its own, for when you do not want to install anything.

Two community front-ends, Mp4-Mux-Tool and My MP4Box GUI, are on the same page for people who would rather click than type. Both are old and no longer updated, so they cover the basic muxing jobs but not the newer options.

Windows tip:

After installing, open a new Command Prompt so it picks up the new path, then type MP4Box -version to check it worked. If Windows says the command is not recognised, the installer did not add GPAC to your PATH, and you can run MP4Box from its install folder instead.

Who Should Look Elsewhere

The tell is whether you want the file smaller or in a different format. MP4Box never re-encodes, so it cannot shrink a video, change its resolution or convert it to another codec.

If you want to Use this instead
Shrink or convert a video with a simple interface HandBrake or FastFlix
Re-encode from the command line FFmpeg, which also remuxes MP4 well
Encode to H.265 yourself x265 HEVC Encoder, then mux the result with MP4Box
Do the same track work with a window, for MKV files MKVToolNix
Cut an MP4 without re-encoding, by eye LosslessCut
Work on MP4 tracks with a simple GUI MP4 Tools

Tools That Pair Well With It

MediaInfo shows the codec, bitrate and language of every track before you start, which saves guesswork about what to add or remove.

Subtitle Edit fixes timing and converts subtitle formats before you mux them in. Once a file is built, VLC Media Player is the quickest way to check every track plays.

If Windows' own apps refuse to play an H.265 file you have packaged, the HEVC Video Extension adds the missing decoder. The Video Encoders category has the rest of the encoding side.

Quick questions

Is MP4Box free?

Yes. It is open-source software from the GPAC project, with no paid version, no ads and no limits.

Does MP4Box re-encode or lose quality?

No. It only rearranges the tracks inside the file, so the picture and sound stay exactly as they were. That is also why it cannot make a file smaller.

Does MP4Box have a graphical interface?

No, it is command-line only. The download page carries two community GUIs, Mp4-Mux-Tool and My MP4Box GUI, which cover the basic jobs but are no longer updated.

How do I add subtitles to an MP4 with MP4Box?

Run MP4Box -add subs.srt:lang=en movie.mp4, changing the file names and language code to your own. The subtitles go in as a separate track you can switch on and off in the player.

Can MP4Box convert MKV to MP4?

Not directly in one step. Extract the tracks from the MKV with MKVToolNix, then add them to a new MP4 with MP4Box, or let FFmpeg remux it in one command.

Which versions of Windows does it run on?

GPAC's installers support Windows Vista and later, in 64-bit and 32-bit builds, so any current PC is covered.

Download MP4Box - GPAC 26.07 and see how it handles your files, or tell us how you got on if you have used it before.

ES
Ed Sez
on 11 September 2025
Review #1
5/5Excellent
This Software, is created and painstakingly updated and maintained; inorder to Create A Standard in Codecs.
As some Standards are political, This One Is Not.

It should be installed and come with every computer and such.

Use it and check it out for yourself.
SO
Somebody
on 20 April 2024
Review #2
5/5Excellent
New GPAC release is v2.4 (released 2024-04-17)
https://www.free-codecs.com/download/mp4box-gpac.htm


codecs.com admin: Updated, thanks!

Share your thoughts on MP4Box - GPAC 26.08

0 / 3000
Your rating
Verification code picture

Letters and numbers, not case sensitive. Hard to read? Get a new code.

Reviews and comments get a quick check before they go live - no spam allowed.

ALTERNATIVES TO MP4BOX - GPAC