softwares installation---Video players
Thursday, April 5, 2007 3:14:46 PM
某位牛人说过:不能放电影的系统不是好系统。(只不过恰巧这位牛人正在写blog~
)
1. MPlayer Media Player (no gui/skin)
At some point you're probably going to want to play a QuickTime, AVI or ASF file so you'll want the MPlayer media player. Fortunately with the FreshRpms repositories it's also very easy to download and install. Once again there are conflicts between the Livna and FreshRpms repositories and you'll have to disable one of them.
To prevent potential problems of updates in the Livna repository from messing up the mplayer and mencoder packages add the following line highligted in bold to the file /etc/yum.repos.d/livna.repo :
gpgcheck=1
gpgkey=
exclude=mplayer* mencoder*
[livna-debuginfo]
###也就是说,前提仍然是要先将yum源Livna配置好~,下面几个也是相同道理
Then you can go ahead and install mplayer and all it's dependencies:
# yum -y install mplayer mplayer-skins mplayer-fonts mplayerplug-in
This command line will download the whole kit and kaboodle. that if you want to play content from a command line that you use the gmplayer version which will include a skin-able control panel. This will install the plug-in to play a wide variety of media within your browser window. Restart your web browser after that whole mess is done installing and you'll also have a plug-in for Mozilla so you can play embedded content. While you're at it be sure to configure mplayer to use the ALSA sound system rather than the default. It just works better. Edit the file ~/.mplayer/config and add the following line:
ao=alsa
And finally you'll probably also want some additional codecs to play all that proprietary video that seems to have infected the Internet. Go to the MPlayer Download page and download the essential Binaries Codec Package. You'll need to install those files in /usr/local/lib/win32. Here are the steps. Remember the exact file names may change at some point.
# gtar xjvf essential-20061022.tar.bz2
# mkdir /usr/local/lib/win32
# mv essential-20061022/* /usr/local/lib/win32
(后面的加codecs这一步也很关键,不然就相当于只装上个外壳,没有真东西的)
====================================================================================
2. VLC (VideoLAN Client)
Multimedia can be the achilles heel of Linux, but with just a little work you should be able to play just about anything your friends can. Besides Mplayer the other great video player is called VLC. It too is trivially easy to install once you have your repositories set up:
# yum -y install videolan-client
Once the client and a zillion dependencies get installed you can play a huge variety of video formats easy with the command vlc
====================================================================================
3.RealPlayer 10 Media Player
To install RealPlayer, visit http://www.real.com/linux/ in Firefox and download the RPM package (don't hit the big yellow Download RealPlayer button, but use the small link Download RPM Package below it instead)
Then,save it to your hard disk, e.g. to your desktop (that's Firefox' default setting)
Then open a terminal window and become root:
su
Go to the directory where you saved the RealPlayer RPM package. If you saved it on the desktop, that would be /home/<your_username>/Desktop, e.g. /home/falko/Desktop in my case:
cd /home/falko/Desktop
Then install the RealPlayer like this:
yum -y install compat-libstdc++-33
rpm -ivh RealPlayer10GOLD.rpm
rm -f RealPlayer10GOLD.rpm
done~
现在,常用的video 格式已经支持起来了~
还有就是:实际上,没有GUI的mplayer同样非常好用,通过键盘操作,十分简洁,关键是功能却很全面!
到现在为止,只能说可以按google出来的别人说的怎么弄就怎么弄,还不能真正的理解。而且装上的这些播放器并没有接受各种格式文件的测试(限于gftp乱码还没有解决,跟不能忍得是mount NTFS居然错误百出,电影少的可怜。。。)
)1. MPlayer Media Player (no gui/skin)
At some point you're probably going to want to play a QuickTime, AVI or ASF file so you'll want the MPlayer media player. Fortunately with the FreshRpms repositories it's also very easy to download and install. Once again there are conflicts between the Livna and FreshRpms repositories and you'll have to disable one of them.
To prevent potential problems of updates in the Livna repository from messing up the mplayer and mencoder packages add the following line highligted in bold to the file /etc/yum.repos.d/livna.repo :
gpgcheck=1
gpgkey=
exclude=mplayer* mencoder*
[livna-debuginfo]
###也就是说,前提仍然是要先将yum源Livna配置好~,下面几个也是相同道理
Then you can go ahead and install mplayer and all it's dependencies:
# yum -y install mplayer mplayer-skins mplayer-fonts mplayerplug-in
This command line will download the whole kit and kaboodle. that if you want to play content from a command line that you use the gmplayer version which will include a skin-able control panel. This will install the plug-in to play a wide variety of media within your browser window. Restart your web browser after that whole mess is done installing and you'll also have a plug-in for Mozilla so you can play embedded content. While you're at it be sure to configure mplayer to use the ALSA sound system rather than the default. It just works better. Edit the file ~/.mplayer/config and add the following line:
ao=alsa
And finally you'll probably also want some additional codecs to play all that proprietary video that seems to have infected the Internet. Go to the MPlayer Download page and download the essential Binaries Codec Package. You'll need to install those files in /usr/local/lib/win32. Here are the steps. Remember the exact file names may change at some point.
# gtar xjvf essential-20061022.tar.bz2
# mkdir /usr/local/lib/win32
# mv essential-20061022/* /usr/local/lib/win32
(后面的加codecs这一步也很关键,不然就相当于只装上个外壳,没有真东西的)
====================================================================================
2. VLC (VideoLAN Client)
Multimedia can be the achilles heel of Linux, but with just a little work you should be able to play just about anything your friends can. Besides Mplayer the other great video player is called VLC. It too is trivially easy to install once you have your repositories set up:
# yum -y install videolan-client
Once the client and a zillion dependencies get installed you can play a huge variety of video formats easy with the command vlc
====================================================================================
3.RealPlayer 10 Media Player
To install RealPlayer, visit http://www.real.com/linux/ in Firefox and download the RPM package (don't hit the big yellow Download RealPlayer button, but use the small link Download RPM Package below it instead)
Then,save it to your hard disk, e.g. to your desktop (that's Firefox' default setting)
Then open a terminal window and become root:
su
Go to the directory where you saved the RealPlayer RPM package. If you saved it on the desktop, that would be /home/<your_username>/Desktop, e.g. /home/falko/Desktop in my case:
cd /home/falko/Desktop
Then install the RealPlayer like this:
yum -y install compat-libstdc++-33
rpm -ivh RealPlayer10GOLD.rpm
rm -f RealPlayer10GOLD.rpm
done~
现在,常用的video 格式已经支持起来了~
还有就是:实际上,没有GUI的mplayer同样非常好用,通过键盘操作,十分简洁,关键是功能却很全面!
到现在为止,只能说可以按google出来的别人说的怎么弄就怎么弄,还不能真正的理解。而且装上的这些播放器并没有接受各种格式文件的测试(限于gftp乱码还没有解决,跟不能忍得是mount NTFS居然错误百出,电影少的可怜。。。)




