Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Install mp4box in Linux Server  (Read 3210 times)

0 Members and 1 Guest are viewing this topic.

jominj

  • Guest
Install mp4box in Linux Server
« on: April 16, 2014, 01:56:20 pm »
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
Code: [Select]
[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
Code: [Select]
[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
Code: [Select]
[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
Code: [Select]
[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.
Code: [Select]
[root@server gpac]# chmod 755 configure
5. After the installation completes copy the gpac.so files to the system library directory
Code: [Select]
[root@server gpac]# cp bin/gcc/libgpac.so /usr/lib
That's all with the installation of mp4box.