安装Mplayer成功!Firefox支持在线播放!解决新浪宽频观看问题!

http://pengiums.blogeden.cn/post/162954/5396

 

Linxux下最强大的媒体播放软件-MPlyaer!本文详细地描述了tar安装的整个过程,包括各种文件格式的支持,For Firefox的插件安装,解决了新浪宽频的观看问题。
忙了一个晚上总算没白忙,Mplayer终于在机子上又安家落户了,但有一点遗憾,没有装GUI,但这已经足够了。


归正题!

一 Mplayer的安装就不说了,linuxsir.org中有相关主题。
二 让Mplayer支持在线播放。
有一个Media****的扩展,可以解决,但问题多多 。另一种方法就是安装mplayer-plugin,经本人试用 ,可完美支持Firefox。
步骤如下:
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:

****************************** ****************************** ****************************** ***************
已安装插件
查找更多的关于浏览器插件的信息,请参阅 mozilla.org.
如果您不知道如何安装插件的帮助,请参阅 plugindoc.mozdev.org.

Google VLC multimedia plugin 1.0
<script type="text/javascript">文件名: nmplayerplug-in-gmp.so
n mplayerplug-in 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
application/x-google-vlc-plugin
n
Google Video
n

n
n n
QuickTime Plug-in 6.0
n
文件名: nmplayerplug-in-qt.so
n mplayerplug-in 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
video/quicktime
n
Quicktime
n
mov
n
n n
n
video/x-quicktime
n
Quicktime
n
mov
n
n n
n
image/x-quicktime
n
Quicktime
n
mov
n
n n
n
video/quicktime
n
Quicktime
n
mp4
n
n n
n
video/quicktime
n
Quicktime - Session Description Protocol
n
sdp
n
n n
n
application/x-quicktimeplayer
n
Quicktime
n
mov
n
n n
n
application/smil
n
SMIL
n
smil
n
n n
RealPlayer 9
n
文件名: nmplayerplug-in-rm.so
n ",1] ); //--></script> 文件名: 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-pluginGoogle 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/quicktimeQuicktimemov
video/x-quicktimeQuicktimemov
image/x-quicktimeQuicktimemov
video/quicktimeQuicktimemp4
video/quicktimeQuicktime - Session Description Protocolsdp
application/x-quicktimeplayerQuicktimemov
application/smilSMILsmil
RealPlayer 9
文件名: mplayerplug-in-rm.so
<script type="text/javascript"> 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
audio/x-pn-realaudio
n
RealAudio
n
ram,rm
n
n n
n
application/vnd.rn-realmedia
n
RealMedia
n
rm
n
n n
n
application/vnd.rn-realaudio
n
RealAudio
n
ra,ram
n
n n
n
video/vnd.rn-realvideo
n
RealVideo
n
rv
n
n n
n
audio/x-realaudio
n
RealAudio
n
ra
n
n n
n
audio/x-pn-realaudio-plugin
n
RealAudio
n
rpm
n
n n
n
application/smil
n
SMIL
n
smil
n
n n
Windows Media Player Plugin
n
文件名: nmplayerplug-in-wmp.so
n mplayerplug-in 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
application/asx
n
Media Files
n
*
n
n n
n
video/x-ms-asf-plugin
n
Media Files
n
*
n
n n
n
video/x-msvideo
n
AVI
n
avi,*
n
n n
n
video/msvideo
n
AVI
n
avi,*
n
n n
n
application/x-mplayer2
n
Media Files
n
*
n
n n
n
application/x-ms-wmv
n
",1] ); //--></script> 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-realaudioRealAudioram,rm
application/vnd.rn-realmediaRealMediarm
application/vnd.rn-realaudioRealAudiora,ram
video/vnd.rn-realvideoRealVideorv
audio/x-realaudioRealAudiora
audio/x-pn-realaudio-pluginRealAudiorpm
application/smilSMILsmil
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/asxMedia Files*
video/x-ms-asf-pluginMedia Files*
video/x-msvideoAVIavi,*
video/msvideoAVIavi,*
application/x-mplayer2Media Files*
application/x-ms-wmv <script type="text/javascript">nwmv,*
n
n n
n
video/x-ms-asf
n
Media Files
n
asf,asx,*
n
n n
n
video/x-ms-wm
n
Media Files
n
wm,*
n
n n
n
video/x-ms-wmv
n
Microsoft WMV video
n
wmv,*
n
n n
n
audio/x-ms-wmv
n
Windows Media
n
wmv,*
n
n n
n
video/x-ms-wmp
n
Windows Media
n
wmp,*
n
n n
n
video/x-ms-wvx
n
Windows Media
n
wvx,*
n
n n
n
audio/x-ms-wax
n
Windows Media
n
wax,*
n
n n
n
audio/x-ms-wma
n
Windows Media
n
wma,*
n
n n
n
application/x-drm-v2
n
Windows Media
n
asx,*
n
n n
n
audio/wav
n
Microsoft wave file
n
wav,*
n
n n
n
audio/x-wav
n
Microsoft wave file
n
wav,*
n
n n
mplayerplug-in 3.25
n
文件名: nmplayerplug-in.so
n mplayerplug-in 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
video/mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
audio/mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
video/x-mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
video/x-mpeg2
n
MPEG2
n
mpv2,mp2ve
n
n n
n
audio/mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
audio/x-mpeg
n
MPEG
n
mpg,mpeg
n
",1] ); //--></script> Microsoft WMV video
wmv,*
video/x-ms-asfMedia Filesasf,asx,*
video/x-ms-wmMedia Fileswm,*
video/x-ms-wmvMicrosoft WMV videowmv,*
audio/x-ms-wmvWindows Mediawmv,*
video/x-ms-wmpWindows Mediawmp,*
video/x-ms-wvxWindows Mediawvx,*
audio/x-ms-waxWindows Mediawax,*
audio/x-ms-wmaWindows Mediawma,*
application/x-drm-v2Windows Mediaasx,*
audio/wavMicrosoft wave filewav,*
audio/x-wavMicrosoft wave filewav,*
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/mpegMPEGmpg,mpeg
audio/mpegMPEGmpg,mpeg
video/x-mpegMPEGmpg,mpeg
video/x-mpeg2MPEG2mpv2,mp2ve
audio/mpegMPEGmpg,mpeg
audio/x-mpegMPEGmpg,mpeg
<script type="text/javascript">n
n
audio/mpeg2
n
MPEG audio
n
mp2
n
n n
n
audio/x-mpeg2
n
MPEG audio
n
mp2
n
n n
n
video/mp4
n
MPEG 4 Video
n
mp4
n
n n
n
application/x-ogg
n
Ogg Vorbis Media
n
ogg
n
n n
n
audio/ogg
n
Ogg Vorbis Audio
n
ogg
n
n n
n
application/ogg
n
Ogg Vorbis / Ogg Theora
n
ogg
n
n n
n
video/fli
n
FLI animation
n
fli,flc
n
n n
n
video/x-fli
n
FLI animation
n
fli,flc
n
n n
n
video/vnd.vivo
n
VivoActive
n
viv,vivo
n
n n
n
application/x-nsv-vp3-mp3
n
Nullsoft Streaming Video
n
nsv
n
n n
n
video/divx
n
DivX Media Format
n
divx
n
n n
n
video/vnd.divx
n
DivX Media Format
n
divx
n
n n
n
audio/basic
n
Basic Audio File
n
au,snd
n
n n
n
audio/x-basic
n
Basic Audio File
n
au,snd
n
n n
Shockwave Flash
n
文件名: nlibflashplayer.so
nShockwave Flash 7.0 r25
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
application/x-shockwave-flash
n
Shockwave Flash
n
swf
n
n n
n
application/futuresplash
n
FutureSplash Player
n
spl
n
n n
mplayerplug-in 3.25
n
文件名: nmplayerplug-in.so
n mplayerplug-in 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using ",1] ); //--></script>
audio/mpeg2MPEG audiomp2
audio/x-mpeg2MPEG audiomp2
video/mp4MPEG 4 Videomp4
application/x-oggOgg Vorbis Mediaogg
audio/oggOgg Vorbis Audioogg
application/oggOgg Vorbis / Ogg Theoraogg
video/fliFLI animationfli,flc
video/x-fliFLI animationfli,flc
video/vnd.vivoVivoActiveviv,vivo
application/x-nsv-vp3-mp3Nullsoft Streaming Videonsv
video/divxDivX Media Formatdivx
video/vnd.divxDivX Media Formatdivx
audio/basicBasic Audio Fileau,snd
audio/x-basicBasic Audio Fileau,snd
Shockwave Flash
文件名: libflashplayer.so
Shockwave Flash 7.0 r25
MIME 类型描述后缀已启用
application/x-shockwave-flashShockwave Flashswf
application/futuresplashFutureSplash Playerspl
mplayerplug-in 3.25
文件名: mplayerplug-in.so
mplayerplug-in 3.25

Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using <script type="text/javascript">
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
video/mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
audio/mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
video/x-mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
video/x-mpeg2
n
MPEG2
n
mpv2,mp2ve
n
n n
n
audio/mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
audio/x-mpeg
n
MPEG
n
mpg,mpeg
n
n n
n
audio/mpeg2
n
MPEG audio
n
mp2
n
n n
n
audio/x-mpeg2
n
MPEG audio
n
mp2
n
n n
n
video/mp4
n
MPEG 4 Video
n
mp4
n
n n
n
audio/mpeg3
n
MPEG audio
n
mp3
n
n n
n
audio/x-mpeg3
n
MPEG audio
n
mp3
n
n n
n
audio/x-mpegurl
n
MPEG url
n
m3u
n
n n
n
audio/mp3
n
MPEG audio
n
mp3
n
n n
n
application/x-ogg
n
Ogg Vorbis Media
n
ogg
n
n n
n
audio/ogg
n
Ogg Vorbis Audio
n
ogg
n
n n
n
application/ogg
n
Ogg Vorbis / Ogg Theora
n
ogg
n
n n
n
video/fli
n
FLI animation
n
fli,flc
n
n n
n
video/x-fli
n
FLI animation
n
fli,flc
n
n n
n
video/vnd.vivo
n
VivoActive
n
viv,vivo
n
n n
n
application/x-nsv-vp3-mp3
n
Nullsoft Streaming Video
n
nsv
n
n n
n
video/divx
n
DivX Media Format
n
divx
n
n n
n
video/vnd.divx
n
DivX Media Format
n
divx
n
n n
n
audio/basic
n
Basic Audio File
n
au,snd
n
n n
n
audio/x-basic",1] ); //--></script> MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型描述后缀已启用
video/mpegMPEGmpg,mpeg
audio/mpegMPEGmpg,mpeg
video/x-mpegMPEGmpg,mpeg
video/x-mpeg2MPEG2mpv2,mp2ve
audio/mpegMPEGmpg,mpeg
audio/x-mpegMPEGmpg,mpeg
audio/mpeg2MPEG audiomp2
audio/x-mpeg2MPEG audiomp2
video/mp4MPEG 4 Videomp4
audio/mpeg3MPEG audiomp3
audio/x-mpeg3MPEG audiomp3
audio/x-mpegurlMPEG urlm3u
audio/mp3MPEG audiomp3
application/x-oggOgg Vorbis Mediaogg
audio/oggOgg Vorbis Audioogg
application/oggOgg Vorbis / Ogg Theoraogg
video/fliFLI animationfli,flc
video/x-fliFLI animationfli,flc
video/vnd.vivoVivoActiveviv,vivo
application/x-nsv-vp3-mp3Nullsoft Streaming Videonsv
video/divxDivX Media Formatdivx
video/vnd.divxDivX Media Formatdivx
audio/basicBasic Audio Fileau,snd
audio/x-basic <script type="text/javascript">nBasic Audio File
n
au,snd
n
n n
Default Plugin
n
文件名: nlibnullplugin.so
nThe default plugin handles plugin data for mimetypes and extensionsnthat are not specified and facilitates downloading of new plugins.
nn
n
MIME 类型
n
描述
n
后缀
n
已启用
n n
n
n
*
n
All types
n
.*
n





--***************************************************************************************************************************************************************n
呵呵,可以看到Windows下可以观看的文件类型我们都可以在linux下实现了。现在就上mp3.baidu.com上试一下,一个格式一个格式的试,爽啊~~

三 新浪宽频想必大家都经常上吧,Let'go!
     看到什么了?什么也没看到! 播放窗口没了!怎么办呢,总不能不看吧,呵,山人自有妙计。
    可使用另外一个扩展 Greasemonkey,可以在http://greasemonkey.mozdev.org 下载到。安装好之后并重启Firefox。                       再从http://forums.mozine.org论坛的greasemonkey专区中下载一个"观看新浪的在线视频"的脚本,并将其装入greasemonkey中。(将下载到的包解开之后,用Firefox打开这时就可弹出安装提示条,安装即可)我们可在可在工具栏中修改相应选项。n
 现在再去sina.com看看,可爱的播放窗口是不是出来了??



















 
------pengiumsn",0] ); D(["ce"]); //--></script>
Basic Audio Fileau,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下可以观看的文件类型我们都可以在linux下实现了。现在就上mp3.baidu.com上试一下,一个格式一个格式的试,爽啊~~

三 新浪宽频想必大家都经常上吧,Let'go!
看到什么了?什么也没看到! 播放窗口没了!怎么办呢,总不能不看吧,呵,山人自有妙计。
可使用另外一个扩展 Greasemonkey,可以在http://greasemonkey.mozdev.org 下载到。安装好之后并重启Firefox。 再从http://forums.mozine.org论坛的greasemonkey专区中下载一个"观看新浪的在线视频"的脚本,并将其装入greasemonkey中。(将下载到的包解开之后,用Firefox打开这时就可弹出安装提示条,安装即可)我们可在可在工具栏中修改相应选项。
现在再去sina.com看看,可爱的播放窗口是不是出来了??








------pengiums

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在Ubuntu 16.04上安装MPlayer播放软件,您可以按照以下步骤进行操作: 1. 首先,您需要打开终端。您可以使用快捷键Ctrl + Alt + T来打开终端。 2. 在终端中,输入以下命令来安装MPlayer: ``` sudo apt-get update sudo apt-get install mplayer ``` 3. 输入您的密码以确认安装。 4. 安装完成后,您可以在应用程序菜单中找到MPlayer,或者在终端中输入`mplayer`命令来启动它。 如果您想使用图形界面,您还可以下载MPlayer的皮肤。您可以从MPlayer官方网站下载MPlayer皮肤。选择您喜欢的皮肤并下载相应的安装包。 希望这些信息对您有所帮助!\[1\]\[2\] #### 引用[.reference_title] - *1* [Ubuntu下 安装使用mplayer视频播放器](https://blog.csdn.net/fang794735225/article/details/80297512)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [Ubuntu安装MPlayer方法](https://blog.csdn.net/u011153192/article/details/50506925)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [Ubuntu16.04交叉编译openssl、openssh](https://blog.csdn.net/m0_49857167/article/details/128381931)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值