由于mp3的版权的事,Fedora core 4.0 没有支持mp3的播放;所以还得特别对待一下;
在Linux中支持mp3播放工具很多,常用的是xmms,bmp-mp3等;
一、安装的前提条件;
请参看《用apt+synaptic 在线安装或升级Fedora core 4.0 软件包》;
安装下面所说的这些软件包,您可以用apt-get install 来安装;也可以用 synaptic 来点鼠标安装,建议初学者用synaptic,毕竟直观;
二、mp3和wma播放工具:
1.媒体播放器xmms;
xmms是最常用的,相对来说也比较稳定;支持mp3 、wma 、ogg等等
xmms对wma支持还算好,有时也会崩溃,但比bmp-mp3要好的多;
如果想让xmms支持mp3和wma,就是通过上面提到的文章 ,把xmms相关的都安装上,至于是不是需要,自己看一下说明就好了。Fedora core 4.0 中xmms不支持mp3,除了安装xmms基础的包以外,还要安装xmms-mp3;
如果不知道怎么回事,就全都选上;
2.媒体播放器bmp
这个和xmms几乎一样的,因为是从xmms开发而来的,我不推荐用bmp-mp3;好象这个项目已经停了;如果支持wma,还得安装 bmp-wma,但不能用,经常崩溃;
调用方法:
[beinan@localhost ~]$ beep-media-player
3.text模式下的mp3播放工具 mpg123
这个工具在控制台下就能听歌,是比较有意思,也是比较古老了;但的确实用;
用apt-get 来安装,或者用synaptic点几下鼠标就安装上了;[root@localhost fonts]# apt-get install mpg321
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libid3tag (0.15.1-3.b)
libmad (0.15.1b-3.2.fc4)
The following NEW packages will be installed:
libid3tag (0.15.1-3.b)
libmad (0.15.1b-3.2.fc4)
mpg321 (0.2.10.3-0.lvn.1.4)
0 upgraded, 3 newly installed, 0 removed and 237 not upgraded.
Need to get 166kB of archives.
After unpacking 316kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
用法:
[beinan@localhost ~]$ mpg321 -g 100 mp3/*.mp3
4.Totem电影播放机 gstreamer-plugins-mp3插件;安装这个插件后Totem就能播放mp3了;
[root@localhost beinan]# apt-get install gstreamer-plugins-mp3
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
lame (3.96.1-2.2.fc4)
The following NEW packages will be installed:
gstreamer-plugins-mp3 (0.8.8-0.lvn.1.4)
lame (3.96.1-2.2.fc4)
0 upgraded, 2 newly installed, 0 removed and 237 not upgraded.
Need to get 570kB of archives.
After unpacking 1531kB of additional disk space will be used.
Do you want to continue? [Y/n]Y
[beinan@localhost ~]$ totem
5、其它工具
比如mplayer等,不多说了;