Jump to content


* * * * * 1 votes

How to install MP4Box on CentOS

howto mp4 centos

  • Please log in to reply
No replies to this topic

#1 nirajan

nirajan

    Administrator

  • Administrators
  • 138 posts

Posted 12 January 2017 - 10:28 AM

1) Install some dependencies packages with yum command

yum -y install freetype-devel SDL-devel freeglut-devel

2) Download and install gpac

cd /usr/local/src/
wget http://mirror.ffmpeginstaller.com/source/gpac/gpac-0.5.0.tar.gz
wget http://mirror.ffmpeginstaller.com/source/gpac/gpac_extra_libs-0.5.0.zip

3) Extract gpac tar files

tar -zxvf gpac-0.5.0.tar.gz
unzip gpac_extra_libs-0.5.0.zip

4) Install gpac

cd extra_libs
cp -r * /usr/local/src/gpac/extra_lib
cd ..
cd gpac
chmod 755 configure
./configure
make lib
make apps
make install lib
make install
cp bin/gcc/libgpac.so /usr/lib
install -m644 bin/gcc/libgpac.so /usr/local/lib/libgpac.so
chmod +x /usr/local/lib/libgpac.so
ldconfig

And it’s done.

[[url="/cdn-cgi/l/email-protection"][email protected][/url]<script data-cfhash='f9e31' type="text/javascript">/* */</script> ~]# which MP4Box
/usr/local/bin/MP4Box
[[url="/cdn-cgi/l/email-protection"][email protected][/url]~]# /usr/local/bin/MP4Box -version
MP4Box - GPAC version 0.5.0-rev4065
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X
GPAC Configuration:
Features: GPAC_HAS_SSL GPAC_HAS_JPEG GPAC_HAS_PNG






Also tagged with one or more of these keywords: howto, mp4, centos