安装realplay10
1 在公社下载realplay10并保存到硬盘上https://player.helixcommunity.org/2004/downloads/
2 用su切换到root
3 用命令 rpm -ivh XXX.rpm 安装realplay10(XXX是下载的文件名)
默认的情况下realplay10会被安装到/usr/local/RealPlayer/目录下.
4 进入/usr/share/applications/目录并建立菜单项
cd /usr/share/applications/ 进入/usr/share/applications/
emacs realplay.desktop 创建realplay.desktop文件
在realplay.desktop文件中键入如下内容后保存.
[Desktop Entry]
Name=RealPlayer 10
Comment=RealNetworks' open source media player
GenericName=Media Player
Exec=/usr/local/RealPlayer/realplay
Type=Application
Encoding=UTF-8
Icon=/usr/local/RealPlayer/share/realplay.png
Categories=GNOME;Application;AudioVideo;
MimeType=application/ogg;application/sdp;application/smil;application/streamingmedia;application/vnd.rn-realaudio-secure;application/vnd.rn-realmedia;application/vnd.rn-realmedia-secure;application/vnd.rn-realmedia-vbr;application/vnd.rn-realsystem-rmj;application/vnd.rn-realsystem-rmx;application/x-ogg;audio/3gpp;audio/3gpp2;audio/3gpp-encrypted;audio/aac;audio/aiff;audio/amr;audio/amr-encrypted;audio/amr-wb;audio/amr-wb-encrypted;audio/basic;audio/m4a;audio/mp1;audio/mp2;audio/mp3;audio/mpeg;audio/mpegurl;audio/mpg;audio/rn-mpeg;audio/scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-aiff;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-mpg;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-realaudio-secure;audio/x-rn-3gpp-amr;audio/x-rn-3gpp-amr-encrypted;audio/x-rn-3gpp-amr-wb;audio/x-rn-3gpp-amr-wb-encrypted;audio/x-scpls;audio/x-wav;image/vnd.rn-realpix;text/vnd.rn-realtext;video/3gpp;video/3gpp2;video/3gpp-encrypted;video/vnd.rn-realvideo;video/vnd.rn-realvideo-secure
5 在/usr/bin/ 目录中创建一个realplay可执行程序的链接文件
ln -s /usr/local/RealPlayer/realplay /usr/bin/
6 用exit退出root
配置realplay10
关于realplay10 的配置我不想说太多,因为默认值已经很不错了!
我只修改了两个地方
1默认浏览器 2smil语言支持
启动realplay之后点Tools菜单,点选Preferences选项
在General中修改Web Browser的值为/usr/local/mozilla/mozilla -remote 'openURL(%s, new-window)' || /usr/local/mozilla/mozilla %s&
在Advanced中修改Content language为chinese
安装配置realplay10 for mozilla 的插件(这可能是大家最关心的问题)
1 确定你的mozilla的安装点,我的mozilla安装在/usr/local/mozilla/目录中.
2 用su变成root
3 链接realplay10 for mozilla的插件到mozilla的插件目录
ln /usr/local/RealPlayer/mozilla/nphelix.so /usr/local/mozilla/plugins/
ln /usr/local/RealPlayer/mozilla/nphelix.xpt /usr/local/mozilla/plugins/
4 用exit退出root
5 启动mozilla,点Help中的About Plug-ins可以看到realplay10 的插件和
RPM格式的文件关联上了.下面我们来修正这个问题!
6 关闭mozilla浏览器
7cd ~/.mozilla/
8 编辑pluginreg.dat文件 emacs pluginreg.dat
9 在文件的最后会看到这段文字
/usr/local/RealPlayer/mozilla/nphelix.so:$
:$
1090963512000:1:1:$
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.278 built with
gcc 3.2.2 on Jul 27 2004:$
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible:$
1
0:audio/x-pn-realaudio-plugin:RealPlayer Plugin Metafile:rpm:$
10 修改上面那段文字如下
/usr/local/RealPlayer/mozilla/nphelix.so:$
:$
1090963512000:1:1:$
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.278 built with
gcc 3.2.2 on Jul 27 2004:$
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible:$
16
0:text/vnd.rn-realtext:RealPlayer Plugin Metafile:rt:$
1:application/vnd.rn-realmedia-secure:RealPlayer Plugin Metafile:rms:$
2:application/vnd.rn-realaudio-secure:RealPlayer Plugin Metafile:rms:$
3:audio/x-realaudio-secure:RealPlayer Plugin Metafile:rms:$
4:video/vnd.rn-realvideo-secure:RealPlayer Plugin Metafile:rms:$
5:audio/vnd.rn-realaudio:RealPlayer Plugin Metafile:ra:$
6:audio/x-realaudio:RealPlayer Plugin Metafile:ra:$
7:application/vnd.rn-realmedia:RealPlayer Plugin Metafile:rm:$
8:application/vnd.rn-realmesia-vbr:RealPlayer Plugin Metafile:rmvb:$
9:image/vnd.rn-realpix:RealPlayer Plugin Metafile:rp:$
10:audio/x-pn-realaudio:RealPlayer Plugin Metafile:ram,rmm:$
11:audio/x-pn-realaudio-plugin:RealPlayer Plugin Metafile:ram,rmm:$
12:video/vnd.rn-realvideo:RealPlayer Plugin Metafile:rv:$
13:application/vnd.rn-realsystem-rmj:RealPlayer Plugin Metafile:rmj:$
14:application/vnd.rn-realsystem-rmx:RealPlayer Plugin Metafile:rmx:$
15:application/smil:RealPlayer Plugin Metafile:smi,smil:$
11 保存文件并退出emacs
12 启动mozilla,realplay10 for mozilla的插件就可以正常工作了!
还有一个地方改一下比较好.
打开realplay
Tools->preference中的Cache Size.
默认是4M,但是在我的机器上放一些RMVB时候会顿.
我改成了32M