红联Linux门户
Linux帮助

Fedora 8记录-想听MP3

发布时间:2008-02-06 00:27:07来源:红联作者:Buyto
老子的电脑只要开着机,十有八九是在放音乐,确切的说是在播放mp3文件,而这个东西所有的Linux(不包括red flag)都是默认不支持的,原因是因为专利问题。

Fedora8的默认音乐播放器是Rythmbox,这个东西很像itunes,感觉一般,因为我本来就不怎么喜欢apple的东西,要我说最棒的音乐播放器就是foobar2000,没有之一,但foobar没有linux版本,而且基本也不可能有了。

废话少说, 如果保留rythmbox的话,那么如果要播放MP3文件,只需要安装gstreamer便可以,gstreamer在Fedora上安装很方便,只需要yum一下便可以,而且gstreamer官方网站上写的安装方法也是如此,我在此给出翻译:

1、首先是获取gstreamer源:
下载这三个文件至/etc/yum.repos.d目录
gstreamer-0.10-deps.repo
gstreamer-0.10-gst.repo
gstreamer-0.10-apps.repo

2、如果想获取这个源的KEY,就照着做,如果不想就跳过去,这个是MIT的源,我这里是连不上,所以就不翻了:

Get key and fingerprint from website:
wget http://thomas.apestaart.org/pkg/thomas.pubkey
wget http://thomas.apestaart.org/pkg/thomas.fingerprint
Verify that the fingerprint matches the pubkey:
gpg --with-fingerprint thomas.pubkey | head -n 3 | diff - thomas.fingerprint
Get the public key from a keyserver and verify that the online fingerprint matches the one downloaded:
gpg --keyserver pgp.mit.edu --recv-keys 55f3aa6f
gpg --list-keys | grep Stichele
gpg --fingerprint 55f3aa6f | head -n 3 > thomas.fingerprint.tmp
diff thomas.fingerprint.tmp thomas.fingerprint
Now that you verified the validity of thomas.pubkey, you can import it in your rpm database using
rpm --import thomas.pubkey

3、安装gstreamer包:
yum install gstreamer-universe
yum install gstreamer-ugly-Plugins

至此,便可以播放MP3文件了,但仍有问题,就是所有的中文文件都是乱码....这个原因我觉得有个人说得很棒“一大堆的BUG没有人去解决,一大群的标准各个在执行”...解决办法是下载mutagen,这里不是ubuntu,所以不能apt-get,我是去chinaunix上下的源码,自己编译。

安装成功之后,进入mp3文件夹,执行mid3iconv -e GBK *.mp3,至于mutagen的其他功能,自己man去看看便知。
文章评论

共有 0 条评论