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

只需装置我上面所说的做,基本上就能够播映避实就虚的多媒体格局,包含对Real公司(rm等格局的支撑)和Apple公司的和Microsoft公司的都能很好的支撑,包含本地播映和网络在线播映。

Fedora 10 最佳多媒体播映解决方案  多媒体播放 解决方案 第1张

在装置前请先装置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 插件
转载请说明出处
知优网 » Fedora 10 最佳多媒体播映解决方案

发表评论

您需要后才能发表评论