How to Install MP4Box (GPAC) in Ubuntu/Debian

Share It!

MP4Box (GPAC) is a MP4 multiplexer utility, which can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. The end result is a compliant MP4 stream. It can also extract streams from a .mp4. MP4Box is a command line tool, but can be used with graphical user interfaces such as YAMB or my MP4box GUI.


Step #1 Install Subversion

First of all you need to install subversion to available ‘svn’ command.

# apt-get install subversion

Step #2 Download MP4Box (GPAC)

Download the latest ‘gpac’ from svn repository.

# svn co gpac

Step #3 Configure MP4Box (GPAC)

Configure the source package.

# cd gpac
# ./configure --disable-opengl --use-js=no --use-ft=no --use-jpeg=no --use-png=no --use-faad=no --use-mad=no --use-xvid=no --use-ffmpeg=no --use-ogg=no --use-vorbis=no --use-theora=no --use-openjpeg=no
# make
# make install
# cp bin/gcc/ /usr/lib

Step #4 Verify MP4Box (GPAC)

Verify the installation using following command:

# MP4Box -version
MP4Box - GPAC version 0.5.1-DEV-rev5619
GPAC Copyright (c) Telecom ParisTech 2000-2012
GPAC Configuration: --disable-opengl --use-js=no --use-ft=no --use-jpeg=no --use-png=no --use-faad=no --use-mad=no --use-xvid=no --use-ffmpeg=no --use-ogg=no --use-vorbis=no --use-theora=no --use-openjpeg=no
Features: GPAC_64_BITS

Enjoy it!

Leave a Reply

Your email address will not be published.