In Linux the entire process of installing mplayer as follows: 1. download the main program: MPlayer-1.0rc2.tar.bz2 (has been successfully installed) official decoder: essential-20071007.tar.bz2 official win32_codes_all: windows-essential-20071007.zip skin: Blue-1.7.tar.bz2 font: gb2312-ming.tar.bz2 above several zip package, which you can download official website smoothly.
Website: http://www.mplayerhq.hu/homepage/design7/dload.html2. install codec, the commands are as follows: (1) mkdir/usr/lib/codecs (build file) (2) mkdir/usr/lib/wincodecs (build files) (3) (4) tarjxvfessential-20071007.tar.bz2 mvessential-20071007/* unzipwindows-essential-20071007.zip/usr/lib/codecs (5) (6) mvwindows-essential-20071007/*/usr/lib/wincodecs3. install mplayer, commands are as follows: (1) cdMPlayer-1.0rc2 tarjxvfMPlayer-1.0rc2.tar.bz2 (2) (3). the/configure--prefix =/usr/local/mplayer enable-gui — — — — — — enable-freetype/usr/lib/codecs/--codecsdir = win32codecsdir =/usr/lib/wincodecs/— language = z_CN Note:--prefix =/usr/local/mplayer are install path — enable-gui install graphical user interface – adjust font enable-freetype--codecsdir =/usr/lib/codecs/(in this order have changed) — win32codecsdir =/usr/lib/wincodecs specified decode location (in this order have changed) — Chinese language = zh_CN (4) make (5) makeinstall4. install skin, commands are as follows: (1) (2) tarjxvfBlue-1.7.tar.bz2 mvBlue/usr/local/share/mplayer/mplayer/skins/(3) cd/usr/local/share/mplayer/mplayer/skins/(4) mvBluedefault5. the test run that command as follows:/usr/local/mplayer/bin/gmplayer6. installing fonts: (1) mkdir/usr/local/share/mplayer/mplayer/font/(2) (3) tarjxvfgb2312-ming.tar.bz2 cdgb2312-ming/gbsn00lp16/(4) sudocp */usr/local/mplayer/share/mplayer/font/7. run command again to play the selected file/usr/local/mplayer/bin/gmplayer, turned attention to choose file types. The following step is displayed in the SELinux RedhatEnterpriseserver5 wrong solution 8.cd/usr/lib/codecs/chcon-ttextrel_shlib_t/usr/lib/codecs/drvc.so9.OVER
No comments:
Post a Comment