MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Administrator on January 06, 2014, 05:43:17 PM

Title: How to install MP4BOX on your CentOS server ?
Post by: Administrator on January 06, 2014, 05:43:17 PM
Hiya,

What is MP4BOX ?

The multimedia packager available in GPAC is called MP4Box. MP4Box is a MP4 multiplexer.It is capable of importing MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. It results in 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.

Now, let's try installing it on your server with CentOS. With commands below; it will download the source file, extract it & compile MP4BOX.

Quote
#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 wish to check if it has been installed properly, use command below. The result output should show the binary path of MP4BOX.

Quote
# which MP4Box
/usr/local/bin/MP4Box

Feel free to update this thread if you face any issues.