ºìÁªLinuxÃÅ»§
Linux°ïÖú

ºìÆì6Ï°²×°MPlayer£¨Ô´Â룩

·¢²¼Ê±¼ä:2008-01-21 09:34:14À´Ô´:ºìÁª×÷Õß:lanterns
Ô­´´£ºLacky
Ç°Ìì»ØÁ˼ң¬°Ñ×Ô¼ºÒÔÇ°ÓõÄfedora core 5¸øformatÁË£¬×°Á˸öºìÆì6¡£ÎÒʼÖÕϲ»¶ÓÃMade in chinaÔçÔÚû·Å¼ÙµÄʱºò¾ÍÐÄÑ÷Ñ÷ÁË£¬Ï뿴һϺìÓÖÕÅʲôÑù×Ó¡£ÓÃÁËÖ®ºó£¬ÎҸоõºìƯÁÁÁËÐí¶à£¬±ä»¯ºÜ´ó¡£ÓÐÁ˵ã3DЧ¹û£¬4¸ödesktopÒ²ÏâǶµ½ÈÎÎñÃæ°åÀïÃæÁË£¬²»¹ýºìÆìÅÔ±ßÈÔÈ»Óиö¿ªÊ¼×ÖÑù£¬ÈÃÈ˸оõÓе㲻ˬ¡£

ºÇºÇ£¬·Ï»°¾ÍËùÕâô¶à£¬»¹ÊÇÀ´ËµËµÔõôinstall MPlayer°É¡£ÎҼǵÃÒÔÇ°4ºÍ5µÄ°æ±¾¶¼ÓдøMPlayerµÄ£¬²»¹ý²»ÖªµÀΪʲôÕâ°æû´ø£¬¶øÊÇÓõÄXine¡£

Ê×ÏÈÎÒÃÇÐèҪȥdownloadһЩ¶«Î÷¾ÍÔÚ£ºhttp://www.mplayerhq.hu/design7/dload.html

ÎÒÃÇÐèÒªÕ⼸¸öÎļþ£º
MPlayer v1.0rc2 source¼´MPlayer-1.0rc2.tar.bz2ÕâÊÇmplayerµÄÔ´Îļþ
Linux x86 20071007¼´essential-20071007.tar.bz2ÕâÊÇlinuxµÄ½âÂë°ü
Windows x86 20071007¼´windows-essential-20071007.zipÕâÊÇwinµÄ½âÂë°ü
Ater¼´Ater-1.2.tar.bz2ÕâÊÇÎÒϵÄÒ»¸öskin£¨Æ¤·ô£©

ÄÇô½ÓÏÂÀ´¾ÍÐèÒª´ò¿ªÄãµÄÖÕ¶ËÁË

a¡£°²×°ÏàÓ¦µÄ½âÂë
½øÈëÖ÷Ŀ¼ºó,ÒÔrootÉí·Ý°²×° ,ÕâÑù¸Ä±äÉí·Ý:ÔÚÖÕ¶ËÊäÈësu»òÕßsu £­,È»ºóÊäÈëÃÜÂë¾ÍokÀ²,ÓÐûÓп´µ½ $ ±ä³ÉÁË #

½Ó×Å
mkdir /usr/lib/codecs£¨´Ë·¾¶ÎªÍƼö·¾¶£¬ÏÂÃæÉæ¼°µ½µÄËùÓз¾¶¾ùΪÍƼö·¾¶£©
mkdir /usr/lib/wincodecs
tar jxvf essential-20071007.tar.bz2
mv essential-20071007/* /usr/lib/codecs
unzip windows-essential-20071007.zip
mv windows-essential-20071007/* /usr/lib/wincodecs

b.°²×°mplayer
tar jxvf MPlayer-1.0rc2.tar.bz2
cd MPlayer-1.0rc2
./configure --prefix=/usr/local/mplayer --enable-gui --enable-freetype --with-extraincdir=/usr/lib/codecs/ --with-extralibdir=/usr/lib/wincodecs/ --language=zh_CN

×¢Òâ:
--prefix=/usr/local/mplayer ÊÇ°²×°Â·¾¶
--enable-gui °²×°Í¼Ðλ¯Óû§½çÃæ
--enable-freetype µ÷½Ú×ÖÌå
--with-extraincdir=/usr/lib/codecs/
--with-extralibdir=/usr/lib/wincodecs Ö¸¶¨½âÂëλÖÃ

(Èç¹ûÄãÓõIJ»ÊÇredflag6£¬ÇëÔÚÊéдÒÔÉÏÁ½ÏîµÄÊ̺òÇëÔÚÖÕ¶ËÖÐÊäÈë./configure --help²éѯÏàÓ¦µÄ´úÂë¡£ÀýÈ磺ÈôΪ--with-codecsdir=DIRÄÇÄã¾ÍÐèÒª--with-extraincdir=/usr/lib/codecs/¸ÄΪ--with-codecsdir=/usr/lib/codecs,·ñÔòϵͳ»áÌáʾÈ緢ʶ±ð)

--language=zh_CN ÖÐÎÄ

½Ó×Å
make
make install

ÒÔÉÏÁ½¸ö¹ý³Ì»áÓÐÒ»µã³¤£¬ÎҵĻúÆ÷´ó¸ÅÓÃÁË10·ÖÖÓ

c.°²×°Æ¤·ô
tar jxvf Ater-1.2.tar.bz2
mv Ater/* /usr/local/mplayer/share/mplayer/skins/default

µ½´ËΪֹmplayerÒѾ­Äܹ»²¥·ÅÊÓƵÁ÷ÁË

Ö´ÐгÌÐòÔÚ /usr/local/mplayer/binÖÐ

Äã¿ÉÒÔÔÚÖÕ¶ËÖÐÊäÈëgmplayer,Ò²¿ÉÒÔÔÚ×ÀÃ潨Á¢Æð¶¯Æ÷À´Ê¹ÓÃmplayer

µ«ÊÇ´Ëʱ»¹Ã»Óа²×°×ÖÌ壬ÔËÐÐmplayerºóËüÒ²»áÌáʾûÓÐ×ÖÌå

Äã¾Í´Ó×Ô¼ºµçÄÔÖп½¸ö×ÖÌåµ½Ö÷Ŀ¼ÏµÄ.mplayerÎļþ¼ÐÏ£¨´ËĿ¼ÊÇÒþ²ØĿ¼£¬ÐèÒªÔڲ鿴ÖÐÑ¡Ôñ²é¿´Òþ²ØÎļþ²ÅÄܲ鿴£©£¬²¢°ÑÄãµÄ×ÖÌå¸ÄÃûΪsubfont.ttf,ÎÊÌâ¾Í½â¾öÁË£¬»òÕß×ö¸öÁ´½ÓÒ²ÐÐ,Ö»ÒªÄãϲ»¶
×ÖÌåÄã¿ÉÒÔÉÏÍøÏÂÔØ£¬mplayerÍøÕ¾Ò²ÓУ¬ÄãµçÄÔÀïÒ²ÓÐ×ÖÌ壬ÔÚ/usr/share/fonts/zh_CNÏÂ

ÀýÈçfont.ttfÄã¾ÍÖ±½Ócp /usr/share/fonts/zh_CN/TrueType/font.ttf $HOME/.mplayer/subfont.ttfϼ´¿É

ÿ¸öÓû§¶¼ÓÐ×Ô¼ºµÄ»·¾³±äÁ¿HOME,ÔÙcd $HOME/.mplayer µ½´ËΪֹMPlayer¾ÍËã°²×°Íê³ÉÁË£¬²»¹ý´ËʱMPlayer²¢Ã»ÓÐ×÷Ϊä¯ÀÀÆ÷µÄĬÈϲ¥·ÅÈí¼þ£¬ÒòΪÉÙÁ˸ö¸ø firefoxµÄpluginÃû×ÖÓ¦¸Ã½Ð×ömplayer.soÎҼDz»Ì«Çå³þÁË£¬Èç¹ûÓеĻ°ÄÇôËü¾Í¸ÃÔÚfirefoxĿ¼ÏÂÃæµÄpluginĿ¼ÀïÃæ¡£¿ÉÒÔÈ¥ÕÒÒ»¸ö·Å½øÈ¥£¬GOOD LUCK£¡
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ