Fedora 10 最佳多媒体播放解决方案

系统 Linux
只要安装一些源,就基本上就可以播放所有的多媒体格式,包括对Real公司(rm等格式的支持)和Apple公司的和Microsoft公司的都能很好的支持,包括本地播放和网络在线播放。

只要安装我上面所说的做,基本上就可以播放所有的多媒体格式,包括对Real公司(rm等格式的支持)和Apple公司的和Microsoft公司的都能很好的支持,包括本地播放和网络在线播放。

在安装前请先安装RPM Fusion源:

Fedora 8, 9 or 10:

su -c 'rpm -Uvh

http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

Fedora 10 X86版

1、音频播放:

(1)、安装audacious

su -c 'yum install audacious audacious-plugins

audacious-plugins-freeworld audacious-plugins-freeworld-*'

如果你想要当双击 mp3 文件的时候添加到播放队列,通过下面操作实现:

su -c 'gedit /usr/share/applications/fedora-audacious.desktop'

(2)、安装Rhythmbox

su -c 'yum install gstreamer rhythmbox'

添加 mp3和其他音频支持输入:

su -c 'yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly'

2、DVD和视频播放:

(1)、DVD 播放

为了能播放dvd你应该现安装适当的解码器:

su -c 'yum install libdvdread libdvdnav lsdvd'

 

#P#

(2)、视频文件播放

su -c 'yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatrosca xvidcore'

(3)、Fedora10已经装了totem了,如果你想用它来放dvd的话,输入:

su -c 'yum install totem-xine totem-gstreamer xine-lib-extras-freeworld'

yum install -y xine-lib-extras-nonfree (如果没安装这个totem播放rm有图象没声音)

yum install -y compat-libstdc++-33 (totem播放出现没图象与没声音)

*要为整个系统将默认后端更改为 xine:(这样以后totem就可以使用以下第(5)安装解码器了)

su -c 'totem-backend -b xine

(4)、Mplayer/SMPlayer

我比较喜欢这个播放器.它支持了几乎所有的视频格式,还有字幕,如果你已经安装了前面说的那些解码器了的话:

su -c 'yum install mplayer smplayer'

(5)、安装所有的多媒体解码器

请大家到我上传的地址去下载(我把所有的多媒体解码器都打成一个包了)

下载地址:http://hedongvip.qupan.com/928601.html

或者:

http://www1.mplayerhq.hu/MPlayer/releases/codecs/

目前最新的是all-20071007.tar.bz2。

把从上面下载回来的包解压出来,解压出来后进入进入终端

输入su在输入root密码 //获得root

cd /输入你所解压的目标 //进入你所解压的目标

chmod u+x *

cp * /usr/lib/codecs/

运行ldconfig命令

 

#P#

(6)、安装RealPlayer 11来支持在线播放rm rmvb等格式

(注:安装RealPlayer11是只是为了支持在线播放rm,rmvb格式,如果你不在线播放rm那你可以不安装此播放器,因为只要做完第5步,在本机上播放rm,rmvb完全得行了)

请点击:

RealPlayer11

下载,下载完成后请使用下面命令安装:

cd /进入RealPlayer11GOLD.rpm下载目标

su -c 'yum --nogpgcheck localinstall RealPlayer11GOLD.rpm'

Fedora X86_64位版

请做Fedora X86的:

1、音频播放(全做)

2、DVD和视频播放(第(5)的个请不要做,请使用下面的)

3、X86_64位要解决totem播放rm播放格式,有声音没有图像:

请点击

essential-amd64-20071007.tar.bz2

下载,解压后COPY到/usr/lib64/codecs;这样以后就可以使用 smplayer或是totem来播放rm)

使用以下命令:

cd /解压目录

chmod u+x *

cp * /usr/lib64/codecs //现在totem可以播放了rm了。

totem播放列表乱码解决

1、修改totem的配置(在终端输入以下命令)

gedit ~/.gnome2/totem_config

2 、加上以下两行点保存

subtitles.separate.font:VeraSansYuanTi

subtitles.separate.src_encoding:gb18030

做完上面的这些步骤以后,rmvb还是不可以播放。

 

#P#

提示说

概述:

 SELinux is preventing totem from loading /usr/lib/codecs/drvc.so which requires

text relocation.

详细描述:

The totem application attempted to load /usr/lib/codecs/drvc.so which requires

text relocation. This is a potential security problem. Most libraries do not

need this permission. Libraries are sometimes coded incorrectly and request this

permission. The SELinux Memory Protection Tests

(linux-mem.html">http://people.redhat.com/drepper/selinux-mem.html) web page explains how to

remove this requirement. You can configure SELinux temporarily to allow

/usr/lib/codecs/drvc.so to use relocation as a workaround, until the library is

fixed. Please file a bug report

(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

允许访问:

If you trust /usr/lib/codecs/drvc.so to run correctly, you can change the file

context to textrel_shlib_t. "chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so'"

You must also change the default file context files on the system in order to

preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t

'/usr/lib/codecs/drvc.so'"

Fix 命令:

chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so'

附加信息:

源上下文 unconfined_u:unconfined_r:unconfined_t:s0

目标上下文 unconfined_u:object_r:lib_t:s0

目标对象 /usr/lib/codecs/drvc.so [ file ]

源 totem

源路径 /usr/bin/totem

端口 未知>

主机 localhost.wbzhui

源 RPM 软件包 totem-2.24.3-1.fc10

目标 RPM 软件包

 

#P#

策略 RPM selinux-policy-3.5.13-18.fc10

启用 Selinux True

策略类型 targeted

启用 MLS True

Enforcing 模式 Enforcing

插件名称 allow_execmod

主机名 localhost.wbzhui

平台 Linux localhost.wbzhui 2.6.27.5-117.fc10.i686 #1

SMP Tue Nov 18 12:19:59 EST 2008 i686 i686

警报计数 3

第一个 2008年12月29日 星期一 18时49分34秒

最后一个 2008年12月29日 星期一 18时59分54秒

本地 ID d1d48011-bed4-4480-ba42-c3e96e6f5ba5

行号

原始核查信息

node=localhost.wbzhui type=AVC msg=audit(1230548394.517:179): avc: denied { execmod } for pid=2794 comm="totem" path="/usr/lib/codecs/drvc.so" dev=dm-0 ino=355663 scontext=unconfined_u:unconfined_r:unconfined_t:s0 tcontext=unconfined_u:object_r:lib_t:s0 tclass=file

node=localhost.wbzhui type=SYSCALL msg=audit(1230548394.517:179): arch=40000003 syscall=125 success=no exit=-13 a0=7ad5000 a1=4d000 a2=5 a3=af007c90 items=0 ppid=1 pid=2794 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="totem" exe="/usr/bin/totem" subj=unconfined_u:unconfined_r:unconfined_t:s0 key=(null)

根据上面的提示,再执行:

su -c 'chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so''

su -c 'semanage fcontext -a -t textrel_shlib_t '/usr/lib/codecs/drvc.so''

这样Totem就可以播放rmvb了,不过速度好像不快。

 

【编辑推荐】

  1. Fedora 10正式版发布下载
  2. Fedora 10 将加入类似 Ubuntu Wubi 的新特性
  3. fedora 10安装Flash 插件
责任编辑:张燕妮 来源: 中国IT实验室
相关推荐

2012-10-22 15:28:49

eWBBLTE无线调度

2013-12-17 13:29:04

iOS开发多媒体

2014-03-11 11:25:39

华为ICT华为

2012-05-28 13:44:25

华为云解决

2010-05-24 11:01:37

思科统一通信

2015-07-16 16:07:16

联络中心最佳全媒体解决方案大奖华为

2011-08-02 10:36:02

iOS开发 SDK 多媒体

2011-12-09 11:13:17

2009-10-15 10:29:03

布线系统解决方案

2010-01-27 16:21:29

Android多媒体播

2010-10-20 16:01:29

网络管理解决方案网络管理

2022-05-27 12:09:44

FedoraLinux

2011-09-28 14:11:21

2009-02-19 10:13:00

2011-12-20 12:53:43

JavaJFreeChart

2011-06-24 10:21:11

Qt phonon 多媒体

2017-03-01 14:01:31

android多媒体音乐代码

2010-09-06 11:11:27

微软关键任务

2009-04-03 11:26:12

AMD上海皓龙

2009-05-05 17:07:56

点赞
收藏

51CTO技术栈公众号