git clone https://github.com/gpac/gpac.git
./configure --static-mp4box --use-zlib=no
To execute MP4Box, assuming you are still in the same directory (i.e. the root of the GPAC repository), you will find the MP4Box executable at:
To install MP4Box on your system:
sudo make install
now when you type
$ which MP4Box
you should see
which is the default install folder for the version we have just built. You can tweak this with the ‘-prefix=’ configure option.
If you see /usr/bin/MP4Box (no “local/” in here), uninstall GPAC from your local packager. On MacOS, go to Finder and unmount the app on the left panel, or uninstall it from your package manager (‘port’ or ‘homebrew’ or ‘fink’).