http://pengiums.blogeden.cn/post/162954/5396
Linxux下最强大的媒体播放软件-MPlyaer!本文详细地描述了tar安装的整个过程,包括各种文件格式的支持,For Firefox的插件安装,解决了新浪宽频的观看问题。
忙了一个晚上总算没白忙,Mplayer终于在机子上又安家落户了,但有一点遗憾,没有装GUI,但这已经足够了。
归正题!
一 Mplayer的安装就不说了,linuxsir.org中有相关主题。
二 让Mplayer支持在线播放。
有一个Media****的扩展,可以解决,但问题多多
步骤如下:
1 安装Flash插件。 可直接登录www.sina.com,就可直接弹出一窗口,安装就是了(请注意标签页下方的黄条)。
2 安装JAVA虚拟机 。可从发行版中安装(建议重装系统的话把JAVA选中
,以后就不麻烦了,比如LumaQQ也要用到JAVA),或到
www.sun.com下载jre-1_5_0-linux
-i586-rpm.bin并安装。(为可执行文件,执行./jre-1_5_0- linux-i586-rpm.bin)
3 .安装mplayerplug-in
可在http://mplayerplug- in.sourceforge.net/download.php下载对应的软件包.(页面上有帮助文件,http:/ /mplayerplug-
in.sourceforge.net/install.php E文不好的兄弟可使用Google的翻译功能。
如若安装编译成功就可将生成的so文件文件拷贝到Firefox的 plugins目录,xpt文件拷贝到component目录中
。(视具体情况而定,一般是在/usr/lib/firefox下
),然后将so文件和xpt文件一起放入 ~/.mozilla/plugins 下。
最后,进入mplayerplug-in/po, make install.
4 添加流媒体支持。
在地址栏中输入about:config,在出现的界面空白处点右 键,新建"字符串",在弹出的框中输入network.protocol
-handler.app.rtsp,回车。
在值项中输入realplay的路径(如果mplayer支持rm 的话也可添写mplayer的路径)。
再新建一"字符串",值项为network.protocol-handler.app.mms,值为mplayer的路径。
现在基本上装完了,大家看一下我的about:plugins:
****************************** ******************************
******************************
***************
3 .安装mplayerplug-in
可在http://mplayerplug- in.sourceforge.net/download.php下载对应的软件包.(页面上有帮助文件,http:/
如若安装编译成功就可将生成的so文件文件拷贝到Firefox的
最后,进入mplayerplug-in/po, make install.
4 添加流媒体支持。
在地址栏中输入about:config,在出现的界面空白处点右
在值项中输入realplay的路径(如果mplayer支持rm
再新建一"字符串",值项为network.protocol-handler.app.mms,值为mplayer的路径。
现在基本上装完了,大家看一下我的about:plugins:
******************************
已安装插件
查找更多的关于浏览器插件的信息,请参阅
mozilla.org.
如果您不知道如何安装插件的帮助,请参阅
plugindoc.mozdev.org.
Google VLC multimedia plugin 1.0
- 文件名: mplayerplug-in-gmp.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
application/x-google-vlc-plugin | Google Video | 是 |
QuickTime Plug-in 6.0
- 文件名: mplayerplug-in-qt.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
video/quicktime | Quicktime | mov | 是 |
video/x-quicktime | Quicktime | mov | 是 |
image/x-quicktime | Quicktime | mov | 是 |
video/quicktime | Quicktime | mp4 | 是 |
video/quicktime | Quicktime - Session Description Protocol | sdp | 是 |
application/x-quicktimeplayer | Quicktime | mov | 是 |
application/smil | SMIL | smil | 是 |
RealPlayer 9
- 文件名: mplayerplug-in-rm.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
audio/x-pn-realaudio | RealAudio | ram,rm | 是 |
application/vnd.rn-realmedia | RealMedia | rm | 是 |
application/vnd.rn-realaudio | RealAudio | ra,ram | 是 |
video/vnd.rn-realvideo | RealVideo | rv | 是 |
audio/x-realaudio | RealAudio | ra | 是 |
audio/x-pn-realaudio-plugin | RealAudio | rpm | 是 |
application/smil | SMIL | smil | 是 |
Windows Media Player Plugin
- 文件名: mplayerplug-in-wmp.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
application/asx | Media Files | * | 是 |
video/x-ms-asf-plugin | Media Files | * | 是 |
video/x-msvideo | AVI | avi,* | 是 |
video/msvideo | AVI | avi,* | 是 |
application/x-mplayer2 | Media Files | * | 是 |
application/x-ms-wmv | Microsoft WMV video | wmv,* | 是 |
video/x-ms-asf | Media Files | asf,asx,* | 是 |
video/x-ms-wm | Media Files | wm,* | 是 |
video/x-ms-wmv | Microsoft WMV video | wmv,* | 是 |
audio/x-ms-wmv | Windows Media | wmv,* | 是 |
video/x-ms-wmp | Windows Media | wmp,* | 是 |
video/x-ms-wvx | Windows Media | wvx,* | 是 |
audio/x-ms-wax | Windows Media | wax,* | 是 |
audio/x-ms-wma | Windows Media | wma,* | 是 |
application/x-drm-v2 | Windows Media | asx,* | 是 |
audio/wav | Microsoft wave file | wav,* | 是 |
audio/x-wav | Microsoft wave file | wav,* | 是 |
mplayerplug-in 3.25
- 文件名: mplayerplug-in.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
video/mpeg | MPEG | mpg,mpeg | 是 |
audio/mpeg | MPEG | mpg,mpeg | 是 |
video/x-mpeg | MPEG | mpg,mpeg | 是 |
video/x-mpeg2 | MPEG2 | mpv2,mp2ve | 是 |
audio/mpeg | MPEG | mpg,mpeg | 是 |
audio/x-mpeg | MPEG | mpg,mpeg | 是 |
audio/mpeg2 | MPEG audio | mp2 | 是 |
audio/x-mpeg2 | MPEG audio | mp2 | 是 |
video/mp4 | MPEG 4 Video | mp4 | 是 |
application/x-ogg | Ogg Vorbis Media | ogg | 是 |
audio/ogg | Ogg Vorbis Audio | ogg | 是 |
application/ogg | Ogg Vorbis / Ogg Theora | ogg | 是 |
video/fli | FLI animation | fli,flc | 是 |
video/x-fli | FLI animation | fli,flc | 是 |
video/vnd.vivo | VivoActive | viv,vivo | 是 |
application/x-nsv-vp3-mp3 | Nullsoft Streaming Video | nsv | 是 |
video/divx | DivX Media Format | divx | 是 |
video/vnd.divx | DivX Media Format | divx | 是 |
audio/basic | Basic Audio File | au,snd | 是 |
audio/x-basic | Basic Audio File | au,snd | 是 |
Shockwave Flash
- 文件名: libflashplayer.so
- Shockwave Flash 7.0 r25
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
application/x-shockwave-flash | Shockwave Flash | swf | 是 |
application/futuresplash | FutureSplash Player | spl | 是 |
mplayerplug-in 3.25
- 文件名: mplayerplug-in.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
video/mpeg | MPEG | mpg,mpeg | 是 |
audio/mpeg | MPEG | mpg,mpeg | 是 |
video/x-mpeg | MPEG | mpg,mpeg | 是 |
video/x-mpeg2 | MPEG2 | mpv2,mp2ve | 是 |
audio/mpeg | MPEG | mpg,mpeg | 是 |
audio/x-mpeg | MPEG | mpg,mpeg | 是 |
audio/mpeg2 | MPEG audio | mp2 | 是 |
audio/x-mpeg2 | MPEG audio | mp2 | 是 |
video/mp4 | MPEG 4 Video | mp4 | 是 |
audio/mpeg3 | MPEG audio | mp3 | 是 |
audio/x-mpeg3 | MPEG audio | mp3 | 是 |
audio/x-mpegurl | MPEG url | m3u | 是 |
audio/mp3 | MPEG audio | mp3 | 是 |
application/x-ogg | Ogg Vorbis Media | ogg | 是 |
audio/ogg | Ogg Vorbis Audio | ogg | 是 |
application/ogg | Ogg Vorbis / Ogg Theora | ogg | 是 |
video/fli | FLI animation | fli,flc | 是 |
video/x-fli | FLI animation | fli,flc | 是 |
video/vnd.vivo | VivoActive | viv,vivo | 是 |
application/x-nsv-vp3-mp3 | Nullsoft Streaming Video | nsv | 是 |
video/divx | DivX Media Format | divx | 是 |
video/vnd.divx | DivX Media Format | divx | 是 |
audio/basic | Basic Audio File | au,snd | 是 |
audio/x-basic <script type="text/javascript">n<td>basic audio file</td>n<td>au,snd</td>n<td>是</td>n</tr>n</tbody></table><div>default plugin</div>n<dl><dd><span>文件名:</span> nlibnullplugin.so</dd><dd>nthe default plugin handles plugin data for mimetypes and extensionsnthat are not specified and facilitates downloading of new plugins.</dd></dl>nn<table><thead>n<tr><th>mime 类型</th>n<th>描述</th>n<th>后缀</th>n<th>已启用</th></tr>n</thead>n<tbody>n<tr>n<td>*</td>n<td>all types</td>n<td>.*</td>n<td><br /></td></tr></tbody></table><br /><pre><span></span><br /></pre></div><br /><br />--****************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>***********n<br />呵呵,可以看到windows下可以观看的文件类型我们都可以在l<wbr>inux下实现了。现在就上mp3.baidu.com上试一下,一个格式一个格式的试,爽啊~~<br /><br />三 新浪宽频想必大家都经常上吧,let'go!<br />     看到什么了?什么也没看到! 播放窗口没了!怎么办呢,总不能不看吧,呵,山人自有妙计。<br />    可使用另外一个扩展 greasemonkey,可以在http://greasemo<wbr>nkey.mozdev.org 下载到。安装好之后并重启firefox。          <wbr>             再从http://forums.mozine.org论坛的gr<wbr>easemonkey专区中下载一个"观看新浪的在线视频<wbr>"的脚本,并将其装入greasemonkey中。<wbr>(将下载到的包解开之后,用firefox打开这时就可弹出安装提<wbr>示条,安装即可)我们可在可在工具栏中修改相应选项。n<br /> 现在再去sina.com看看,可爱的播放窗口是不是出来了??<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <br />------pengiumsn</div>",0] ); d(["ce"]); //--></script> | Basic Audio File | au,snd | 是 |
Default Plugin
- 文件名: libnullplugin.so
- The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.
MIME 类型 | 描述 | 后缀 | 已启用 |
---|---|---|---|
* | All types | .* |
--****************************
呵呵,可以看到Windows下可以观看的文件类型我们都可以在l
三 新浪宽频想必大家都经常上吧,Let'go!
看到什么了?什么也没看到! 播放窗口没了!怎么办呢,总不能不看吧,呵,山人自有妙计。
可使用另外一个扩展 Greasemonkey,可以在http://greasemo
现在再去sina.com看看,可爱的播放窗口是不是出来了??
------pengiums