Thursday, 27 January 2011

How to Install MP4Box

MP4Box is a MP4 multiplexer and used for conversion, splitting, hinting, dumping and to import MPEG-4 video, DivX, h264, XviD, 3ivx or FFmpeg and audio streams into the .MP4 container. The end result is a compliant MP4 stream.
MP4Box is part of the GPAC Project framework. It is a command line tool, but can be used with graphical user interfaces such as YAMB or my MP4box GUI.

Download Source :- http://sourceforge.net/projects/gpac/files/

Download and Install latest version of gpac from above URL.
#cd /usr/local/src/

#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz

#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5/gpac_extra_libs-0.4.5.tar.gz

# tar -zxvf gpac-0.4.5.tar.gz

# tar -zxvf gpac_extra_libs-0.4.5.tar.gz

# cd gpac_extra_libs

# cp -r * /usr/local/src/gpac/extra_lib

# cd gpac

# chmod 755 configure

# ./configure

# make lib

# make apps

# make install lib

# make install

# cp bin/gcc/libgpac.so /usr/lib

If you get following error :
/usr/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

make[1]: *** [libgpac.so] Error 1

make[1]: Leaving directory `/usr/local/src/gpac/src'

make: *** [lib] Error 2

then fire following command :
yum install freeglut-devel

mp4box installed successfully, you can verify it as follows
root@ffmpeg [~]# which MP4Box

/usr/local/bin/MP4Box

No comments:

Post a Comment