linux音频播放器安装使用手记/fedora12 mp3播放器/xmms/xmms2/audacious

fedora12下安装audacious核心步骤

[root@localhost xmms-1.2.9]# yum install audacious
[root@localhost Input]# yum install audacious-plugin-fc audacious-plugins-freeworld-aac.i686 audacious-plugins-freeworld-alac audacious-plugins-freeworld-ffaudio audacious-plugins-freeworld-mms audacious-plugins-freeworld-mp3 audacious-plugins-freeworld-wma
修改 选项-播放列表 语言为“简体中文”

安装手记

笔记本默认引导系统改为linux(frdera12)好一段时间了,但目前还没有音频播放器,使用mplayer/SMplayer播放音乐实在有点不方便,于是考虑安装一个合适的音频播放器。

xmms

最初打算用xmms,从国内一家软件站下载的源码包安装,configure显示缺少GLIB 1.2.2以上版本,yum update 没有这样的包。到xmms官方网站,显示好几年都没有更新了,google一下,其后续版本为xmms2

xmms2

于是yum install xmms2,安装很快完成。终端里执行 xmms2,显示下面一堆提示

[root@localhost xmms-1.2.9]# xmms2
Available commands:
add – adds a URL to the playlist
addarg – adds one URL with arguments to the playlist
addid – adds a Medialib id to the playlist
insert – inserts one URL at a specific position
insertid – inserts one Medialib id at a specific position
radd – adds a directory recursively to the playlist
rinsert – inserts a directory recursively at a specific position
clear – clears the playlist
shuffle – shuffles the playlist
sort – sort the playlist; use a space delimiter for multiple properties
remove – removes something from the playlist
list – lists the playlist
addpls – Adds the contents of a playlist file to the playlist
play – starts playback
stop – stops playback
toggleplay – toggles playback status between play/pause
pause – pause playback
next – play next song
prev – play previous song
seek – seek to a specific place in current song
jump – take a leap in the playlist
move – move a entry in the playlist
volume – set volume for a channel
volume_list – list volume levels for each channel
mlib – medialib manipulation – type ‘xmms2 mlib’ for more extensive help
playlist – playlist manipulation – type ‘xmms2 playlist’ for more extensive help
coll – collection manipulation – type ‘xmms2 coll’ for more extensive help
browse – browse server file lists
status – go into status mode
info – information about current entry
current – formatted information about the current entry
config – set a config value
config_list – list all config values
plugin_list – list all plugins loaded in the server
stats – get statistics from server
quit – make the server quit
help – print help about a command

看来还没那么容易使用,于是上官方网站http://xmms2.org/wiki/Using_the_application,有这样一节
Quick Start

  1. Start the daemon: xmms2-launcher
  2. Add some music: nyxmms2 add /home/foo/music/awesome.ogg
  3. Play: nyxmms2 play

执行xmms2-launcher,出错:

[feng@localhost xmms-1.2.9]$ xmms2-launcher
Log output will be stored in /home/feng/.cache/xmms2/xmms2d.log
startup failed!

查错误log

[feng@localhost xmms-1.2.9]$ vi /home/feng/.cache/xmms2/xmms2d.log

— Starting new xmms2d —
INFO: ../src/xmms/log.c:49: Initialized logging system :)
INFO: ../src/xmms/config.c:778: No configfile specified, using default values.
ERROR: ../src/xmms/config.c:913: Couldn’t open /home/feng/.config/xmms2/xmms2.conf for writing.
15:13:24 ERROR: ../src/xmms/config.c:913: Couldn’t open /home/feng/.config/xmms2/xmms2.conf for writing.
15:13:24  INFO: ../src/xmms/ipc.c:795: IPC listening on ‘unix:///tmp/xmms-ipc-feng’.
………..

看来也没有那么容易使用,而且上面那个官方网页里提到

The Daemon,   Configuring the daemon,  The clients

也还是比较复杂的。于是卸载 [root@localhost xmms-1.2.9]# yum erase xmms2

audacious

最后转向audacious,这个播放器网上评论还是不错的。

yum安装

[root@localhost xmms-1.2.9]# yum install Audacious
已加载插件:presto, refresh-packagekit
设置安装进程
No package Audacious available.
无须任何处理
[root@localhost xmms-1.2.9]# yum install audacious
已加载插件:presto, refresh-packagekit
设置安装进程
解决依赖关系
–> 执行事务检查
—> 软件包 audacious.i686 0:2.2-14.fc12 将被 升级
–> 处理依赖关系 audacious-libs = 2.2-14.fc12,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 处理依赖关系 audacious-plugins >= 2.2,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 处理依赖关系 libaudclient.so.2,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 处理依赖关系 libmcs.so.1,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 处理依赖关系 libSAD.so.2,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 处理依赖关系 libmowgli.so.2,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 处理依赖关系 libaudcore.so.1,它被软件包 audacious-2.2-14.fc12.i686 需要
–> 执行事务检查
—> 软件包 audacious-libs.i686 0:2.2-14.fc12 将被 升级
—> 软件包 audacious-plugins.i686 0:2.2-32.fc12 将被 升级
–> 处理依赖关系 libcddb.so.2,它被软件包 audacious-plugins-2.2-32.fc12.i686 需要
–> 处理依赖关系 libbinio.so.1,它被软件包 audacious-plugins-2.2-32.fc12.i686 需要
–> 处理依赖关系 libcue.so.1,它被软件包 audacious-plugins-2.2-32.fc12.i686 需要
—> 软件包 libmowgli.i686 0:0.7.0-2.fc12 将被 升级
—> 软件包 mcs-libs.i686 0:0.7.1-9.fc12 将被 升级
–> 执行事务检查
—> 软件包 libbinio.i686 0:1.4-12.fc12 将被 升级
—> 软件包 libcddb.i686 0:1.3.2-2.fc12 将被 升级
—> 软件包 libcue.i686 0:1.3.0-2.fc12 将被 升级
–> 完成依赖关系计算

依赖关系解决

================================================================================
软件包                   架构        版本                 仓库            大小
================================================================================
正在安装:
audacious                i686        2.2-14.fc12          updates        371 k
为依赖而安装:
audacious-libs           i686        2.2-14.fc12          updates        111 k
audacious-plugins        i686        2.2-32.fc12          updates        1.5 M
libbinio                 i686        1.4-12.fc12          fedora          37 k
libcddb                  i686        1.3.2-2.fc12         fedora          63 k
libcue                   i686        1.3.0-2.fc12         updates         28 k
libmowgli                i686        0.7.0-2.fc12         fedora          28 k
mcs-libs                 i686        0.7.1-9.fc12         updates         21 k

事务概要
================================================================================
安装       8 软件包
更新       0 软件包

总下载量:2.2 M
Installed size: 6.8 M
确定吗?[y/N]:y
下载软件包:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 2.2 M
(1/8): audacious-2.2-14.fc12.i686.rpm                    | 371 kB     00:03
(2/8): audacious-libs-2.2-14.fc12.i686.rpm               | 111 kB     00:00
(3/8): audacious-plugins-2.2-32.fc12.i686.rpm            | 1.5 MB     00:13
(4/8): libbinio-1.4-12.fc12.i686.rpm                     |  37 kB     00:02
(5/8): libcddb-1.3.2-2.fc12.i686.rpm                     |  63 kB     00:02
(6/8): libcue-1.3.0-2.fc12.i686.rpm                      |  28 kB     00:00
(7/8): libmowgli-0.7.0-2.fc12.i686.rpm                   |  28 kB     00:01
(8/8): mcs-libs-0.7.1-9.fc12.i686.rpm                    |  21 kB     00:00
——————————————————————————–
总计                                             82 kB/s | 2.2 MB     00:27
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装       : libmowgli-0.7.0-2.fc12.i686                              1/8
正在安装       : mcs-libs-0.7.1-9.fc12.i686                               2/8
正在安装       : audacious-libs-2.2-14.fc12.i686                          3/8
正在安装       : libcddb-1.3.2-2.fc12.i686                                4/8
正在安装       : libcue-1.3.0-2.fc12.i686                                 5/8
正在安装       : libbinio-1.4-12.fc12.i686                                6/8
正在安装       : audacious-plugins-2.2-32.fc12.i686                       7/8
正在安装       : audacious-2.2-14.fc12.i686                               8/8

已安装:
audacious.i686 0:2.2-14.fc12

作为依赖被安装:
audacious-libs.i686 0:2.2-14.fc12     audacious-plugins.i686 0:2.2-32.fc12
libbinio.i686 0:1.4-12.fc12           libcddb.i686 0:1.3.2-2.fc12
libcue.i686 0:1.3.0-2.fc12            libmowgli.i686 0:0.7.0-2.fc12
mcs-libs.i686 0:0.7.1-9.fc12

完毕!
[root@localhost xmms-1.2.9]# yum list|grep audacious
audacious.i686                             2.2-14.fc12                  @updates
audacious-libs.i686                        2.2-14.fc12                  @updates
audacious-plugins.i686                     2.2-32.fc12                  @updates
audacious-devel.i686                       2.2-14.fc12                  updates
audacious-plugin-fc.i686                   0.4-1.fc12.2                 updates
audacious-plugin-xmp.i686                  3.1.0-1.fc12                 updates
audacious-plugins-amidi.i686               2.2-32.fc12                  updates
audacious-plugins-esd.i686                 2.2-32.fc12                  updates
audacious-plugins-freeworld.i686           2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-aac.i686       2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-alac.i686      2.1-1.fc12                   rpmfusion-free
audacious-plugins-freeworld-ffaudio.i686   2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-mms.i686       2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-mp3.i686       2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-tta.i686       2.1-1.fc12                   rpmfusion-free
audacious-plugins-freeworld-wma.i686       2.1-1.fc12                   rpmfusion-free
audacious-plugins-jack.i686                2.2-32.fc12                  updates
audacious-plugins-metronome.i686           2.1-10.fc12                  fedora
audacious-plugins-sid.i686                 2.2-32.fc12                  updates
audacious-plugins-uade.i586                2.09-5.fc11                  rpmfusion-nonfree
audacious-plugins-vortex.i686              2.2-32.fc12                  updates
audacious-plugins-wavpack.i686             2.2-32.fc12                  updates

主菜单-影音里自动加入了 Audacious 两项,Audacious (GTKui),运行,可以看到播放器界面,很简单

打开一个mp3文件,果然不能播放,还要安装插件

[root@localhost xmms-1.2.9]# yum list|grep audacious
audacious.i686                             2.2-14.fc12                  @updates
audacious-libs.i686                        2.2-14.fc12                  @updates
audacious-plugins.i686                     2.2-32.fc12                  @updates
audacious-devel.i686                       2.2-14.fc12                  updates
audacious-plugin-fc.i686                   0.4-1.fc12.2                 updates
audacious-plugin-xmp.i686                  3.1.0-1.fc12                 updates
audacious-plugins-amidi.i686               2.2-32.fc12                  updates
audacious-plugins-esd.i686                 2.2-32.fc12                  updates
audacious-plugins-freeworld.i686           2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-aac.i686       2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-alac.i686      2.1-1.fc12                   rpmfusion-free
audacious-plugins-freeworld-ffaudio.i686   2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-mms.i686       2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-mp3.i686       2.2-3.fc12                   rpmfusion-free-updates
audacious-plugins-freeworld-tta.i686       2.1-1.fc12                   rpmfusion-free
audacious-plugins-freeworld-wma.i686       2.1-1.fc12                   rpmfusion-free
audacious-plugins-jack.i686                2.2-32.fc12                  updates
audacious-plugins-metronome.i686           2.1-10.fc12                  fedora
audacious-plugins-sid.i686                 2.2-32.fc12                  updates
audacious-plugins-uade.i586                2.09-5.fc11                  rpmfusion-nonfree
audacious-plugins-vortex.i686              2.2-32.fc12                  updates
audacious-plugins-wavpack.i686             2.2-32.fc12                  updates

插件还挺多,选择其中的几个安装,带mp3字样的当然一定要安装的,

注意:这里这插件在fedora官方的rpm源里并不存在的,需要安装

参看这里:fedora安装启用rpmfusion.org RPM源  www.path8.net/tn/archives/1210

[root@localhost Input]# yum install audacious-plugin-fc
[root@localhost Input]# yum install audacious-plugins-freeworld-aac.i686
[太多了,列在一起让yum自己安装吧]
[root@localhost Input]# yum install audacious-plugins-freeworld-alac audacious-plugins-freeworld-ffaudio audacious-plugins-freeworld-mms audacious-plugins-freeworld-mp3 audacious-plugins-freeworld-wma

重新从主菜单打开,播放,搞定。

只是目前还不能显示歌词,据说有国人搞的歌词显示插件,对歌词要求不高,有时间再说

使用原始的简单界面换,对皮肤不感兴趣。

中文乱码问题

linux下程序一般都以utf-8作为默认编码,而windows下一般都使用本地编码,所以很多mp3在播放列表里显示为乱码,所以要修改为“简体中文”。改完播放列表里可能还是乱码的,重启程序也还是乱码,这是程序没有自动重新读取播放列表,双击乱码曲目播放一下就正常了。

关于Audacious

[来源于ubuntu中文wiki]
一款音乐播放器软件,是 beep-media-player 0.9.7.1的衍生软件。由于BMP停止开发,并且存在很多问题,Audacious的开发团队就自己动手开发了这个软件。 Audacious 兼容Winamp 2.x 或者 “Classic” ,和 XMMS 的皮肤。 这里访问它的站点 http://audacious-media-player.org

xmms全称是X Multimedia System,这个经典的播放器可能是每个linux的使用者或多或少都接触过的播放器,不过由于采用的是 GTK1界面,对非英语环境支持相当不好,于是到了1.2.10后xmms就没有再更新了,不过并不意味着开发停止了,而是移植到了对语言环境支持更好的 GTK2上,于是有了bmp(全称beep media player)。在bmp的开发组把注意力转到开发bmpx后,bmp更名为 audacious。比起bmp,audacious自带了更多的解码器,默认安装下,己可以支持mp3、aac、wma格式,不用到处找插件了。




coded by nessus
发表评论?

0 条评论。

发表评论