How to Install MP4Box gpac and ffmpeg on Linux Ubuntu 18.04

1. Go to this site and follow the instruction to clone GPAC into your folder on Linux
    https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Linux
2. Make sure you install the ffmpeg including its dependencies

     1. Install zlib a dependency for ffmpeg
          sudo apt install zlib
      2. Install zlib-dev as well to be sure nothing will prevent the installer to work
          sudo apt install zlib1g
          sudo apt install zlib1g-dev

      3. Install ffmpeg
         sudo apt install ffmpeg
         - Keep in mind that there will be other dependencies required along the way

3. Clone, Compile, Build and Install GPAC (This is very important as MP4Box comes with GPC)

    Remember that GPC is a C-based application, you need to have GCC C Compiler installed on your Linux Machine.
     1. Follow instructions here 

        https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Linux

4. After you have verified that GPAC is installed 

    - CD into gpac_public folder where you have cloned the GPAC Repository and run the following command.
     [command]: sudo cp bin/gcc/libgpac_static.a /usr/lib
    - This will allow you to find MP4Box everywhere, you don't have to be in the bin directory of a gcc in order to use the MP4Box.



Edit this Article
How to Install MP4Box on Linux ffmpeg on Linux Research published
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy