Cybernet Web Design - Web Design & Linux Server Administration
Build MP4Box with Make - Printable Version

+- Cybernet Web Design - Web Design & Linux Server Administration (https://www.cybernetwebdesign.com)
+-- Forum: Web Server (https://www.cybernetwebdesign.com/Forum-Web-Server)
+--- Forum: FFMPEG and Codecs (https://www.cybernetwebdesign.com/Forum-FFMPEG-and-Codecs)
+--- Thread: Build MP4Box with Make (/Thread-Build-MP4Box-with-Make)



Build MP4Box with Make - cybernetwebdesign - 05-14-2016

Code:
git clone https://github.com/gpac/gpac.git
cd gpac
git pull
./configure --static-mp4box --use-zlib=no
make -j4

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:
 
Code:
bin/gcc/MP4Box

To install MP4Box on your system:
 
Code:
sudo make install

Check installation

now when you type

$ which MP4Box

you should see
 
Code:
/usr/local/bin/MP4Box
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’).