mplayer+mp4box安装备忘

MP4BOX——用于给3GP、MP4加hint

yum -y install freeglut

yum -y install freeglut-devel

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

再执行应该就没问题了

MP4Box -version

 

MENCODER——用于视频转码和封装

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

cd mplayer

./configure

make

make install

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章