MP4BOX——用于給3GP、MP4加hint,合并視訊等
yum -y install freeglut
yum -y install freeglut-devel(freeglut沒安裝成功也可以?)
wget http://downloads.sourceforge.net/gpac/gpac-0.4.5.tar.gz
wget http://downloads.sourceforge.net/gpac/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
cp -r ../gpac_extra_libs/* extra_lib/
chmod +x configure
./configure
make lib
make apps
make install
cp bin/gcc/libgpac.so /usr/lib
ldconfig
MP4Box -version
如果出現MP4Box: error while loading shared libraries: /usr/local/lib/libgpac.so: cannot restore segment prot after reloc: Permission denied,則需要修改/etc/sysconfig/selinux檔案把SELINUX=enforcing改成SELINUX=disabled
vi /etc/sysconfig/selinux
#SELINUX=enforcing
SELINUX=disabled
儲存退出後執行
chcon -t texrel_shlib_t /usr/local/lib/libgpac.so
再執行應該就沒問題了
MENCODER——用于視訊轉碼和封裝
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd mplayer
make