Install MP4Box (GPAC) in Ubuntu/Debian

                                   Install MP4Box(GPAC) in Ubuntu/Debian

MP4Box 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.

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

# apt-get install subversion

Download the latest 'gpac' from svn repository.
# svn co gpac

Configure the source package.
# cd gpac
# chmod +x configure
# ./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

Install the gpack package.
# make
# make install
# cp bin/gcc/ /usr/lib

Verify the installation

# which MP4Box

# /usr/local/bin/MP4Box
MP4Box [option] input [option]
-h general:          general options help
-h hint:             hinting options help
-h import:           import options help
-h encode:           encode options help
-h meta:             meta handling options help
-h extract:          extraction options help
-h dump:             dump options help
-h swf:              Flash (SWF) options help
-h crypt:            ISMA E&A options help
-h format:           supported formats help
-nodes:              lists supported MPEG4 nodes
-node NodeName:      gets MPEG4 node syntax and QP info
-xnodes:             lists supported X3D nodes
-xnode NodeName:     gets X3D node syntax
-snodes:             lists supported SVG nodes
-snode NodeName:     gets SVG node syntax
-languages:              lists supported ISO 639 languages
-quiet:               quiet mode
-v:                  verbose mode
-version:            gets build version

That's it..

This entry was posted by Unknown. Bookmark the permalink.

10 thoughts on “Install MP4Box (GPAC) in Ubuntu/Debian”