fedora 17 下看电影听歌之解码器

来源:互联网 发布:义乌淘宝培训班有用吗 编辑:程序博客网 时间:2024/05/16 03:17
Fedora17解码器

首先加入fusion软件源,通过安装两个包:
[root@LK ~]# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpmRetrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpmwarning: /var/tmp/rpm-tmp.SuzUjS: Header V3 RSA/SHA256 Signature, key ID 00a4d52b: NOKEYPreparing...                ########################################### [100%]   1:rpmfusion-free-release ########################################### [100%][root@LK sda6]# rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpmRetrieving http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpmwarning: /var/tmp/rpm-tmp.MuvvEY: Header V3 RSA/SHA256 Signature, key ID 6d0c8ec2: NOKEYPreparing...                ########################################### [100%]   1:rpmfusion-nonfree-relea########################################### [100%]


安装完成之后在/etc/yum.repos.d里面会有多出几个repo,然后建立缓存:
[root@LK ~]# yum makecache


如果不执行上面的步骤可能会出现如下错误:
[root@LK ~]# yum install  ffmpeg ffmpeg-libs gstreamer-ffmpeg xvidcore libdvdread libdvdnav lsdvd  gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-uglyLoaded plugins: langpacks, presto, refresh-packagekitError: requested datatype primary not available



然后安装视频音频解码器:
[root@LK ~]# yum install  ffmpeg ffmpeg-libs gstreamer-ffmpeg xvidcore libdvdread libdvdnav lsdvd  gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly


这时用audicaous还是不能播放mp3,搜索之后发现有一些audacious的插件:
[root@LK ~]# yum list | grep ^audaciousaudacious.x86_64                      3.2.2-1.fc17                   @fedora    audacious-libs.x86_64                 3.2.2-1.fc17                   @fedora    audacious-plugins.x86_64              3.2.2-1.fc17                   @fedora    audacious-plugins-freeworld-mp3.x86_64audacious-devel.i686                  3.2.2-1.fc17                   fedora     audacious-devel.x86_64                3.2.2-1.fc17                   fedora     audacious-libs.i686                   3.2.2-1.fc17                   fedora     audacious-plugin-fc.x86_64            0.6-17.fc17                    fedora     audacious-plugin-xmp.x86_64           3.4.0-6.fc17                   fedora     audacious-plugins-amidi.x86_64        3.2.2-1.fc17                   fedora     audacious-plugins-exotic.x86_64       3.2.2-1.fc17                   fedora     audacious-plugins-freeworld.x86_64    3.2-3.fc17                     rpmfusion-freeaudacious-plugins-freeworld-aac.x86_64audacious-plugins-freeworld-ffaudio.x86_64audacious-plugins-freeworld-mms.x86_64audacious-plugins-jack.x86_64         3.2.2-1.fc17                   fedora     audacious-plugins-sid.x86_64          3.2.2-1.fc17                   fedora   
 

装上MP3的插件就可以了:

[root@LK ~]# yum install audacious-plugins-freeworld-mp3

 

来自http://www.cclove.me/Video_music_decoder_for_fedora17.html