Hi All,
MP4Box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. Here is the steps to install the mp4box.
1. Download the source files
[root@server src]# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz
[root@server src]# 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
GPAC_extra_libs are some library files which enhances the functionality of mp4box.
2. Extract the downloaded source files
[root@server src]# tar -zxvf gpac-0.4.5.tar.gz
[root@server src]# tar -zxvf gpac_extra_libs-0.4.5.tar.gz
3. Copy the Additional library files into the gpac folder
[root@server src]# cd gpac_extra_libs
[root@server gpac_extra_libs]# cp -r * /usr/local/src/gpac/extra_lib
[root@server gpac_extra_libs]# cd ..
4. Now install mp4box
now compile and install the extra lib files and mp4box
[root@server src]# cd gpac
[root@server gpac]# ./configure
[root@server gpac]# make lib
[root@server gpac]# make apps
[root@server gpac]# make install lib
[root@server gpac]# make install
while running the configure command we will get permission error. This is because the configure script do not have execution permission. We can give execution permission by running the following commands.
[root@server gpac]# chmod 755 configure
5. After the installation completes copy the gpac.so files to the system library directory
[root@server gpac]# cp bin/gcc/libgpac.so /usr/lib
That's all with the installation of mp4box.