Fedora上安装多媒体环境
1,安装rpmfusion
163镜像
su -c 'yum localinstall --nogpgcheck http://mirrors.163.com/rpmfusion/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://mirrors.163.com/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
官方
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
2,安装对中文支持较好的音乐播放器
yum install exaile
3,音频回放
yum -y install gstreamer-plugins-bad gstreamer-plugins-uglyxine-lib-extras-nonfree gstreamer-ffmpeg
4、DVD和视频播放:
(1)、DVD播放
为了能播放dvd你应该现安装适当的解码器:
su-c'yuminstalllibdvdreadlibdvdnavlsdvd'
(2)、视频文件播放
su-c'yuminstallffmpegffmpeg-libsgstreamer-ffmpegxvidcorexine-lib-extras-freeworldxine-lib-extras-nonfree'
(3)、安装Mplayer
它支持了几乎所有的视频格式,还有字幕,如果你已经安装了前面说的那些解码器了的话:
su -c 'yum install mplayer'5,安装WinCodecs
到
http://www1.mplayerhq.hu/MPlayer/releases/codecs/
下载
http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2tar -xjf all-20110131.tar.bz2
cp all-20110131/* /usr/lib/codecs/
tar -xjf essential-20071007.tar.bz2
cp essential-20071007/* /usr/lib/codecs/
64位系统
tar -xjf essential-amd64-20071007.tar.bz2
cp essential-amd64-20071007/* /usr/lib64/codecs/
ldconfig
6,totem播放列表乱码解决
1、修改totem的配置(在终端输入以下命令)
gedit~/.gnome2/totem_config
2、加上以下两行点保存
subtitles.separate.font:VeraSansYuanTi
subtitles.separate.src_encoding:gb18030