|
发表于 2004-5-24 22:48:57
|
显示全部楼层
最初由 aaccdd 发表
为mozilla安装mplayerplug-in,利用mplayer观看在线流媒体
mplayerplug-in主页:http://mplayerplug-in.sourceforge.net/
下载源码包(选择镜像):http://prdownloads.sourceforge.n ... .60.tar.gz?download
编译前提:
gtk开发包
mplayer>=0.92
mozilla,mozilla-devel
编译安装:
# tar xzvf mplayerplug-in-2.60.tar.gz
# cd mplayerplug-in/
# ./configure
# make
# make install (用户安装) / # make sysinstall (系统安装)
测试(详细见官方主页):
1,mplayer设置,修改$HOME/.mplayer/config:
GNOME添加:ao=esd
KDE添加:ao=arts
2,mplayer测试(效果视网络状况而定):
简单媒体:
- # wget [url]http://fredrik.hubbe.net/plugger/test.mov[/url]
- # mplayer test.mov
- # wget [url]http://fredrik.hubbe.net/plugger/test.avi[/url]
- # mplayer test.avi
- # wget [url]http://fredrik.hubbe.net/plugger/test.mpg[/url]
- # mplayer test.mpg
复制代码
流媒体:
- # mplayer
- [url]http://a772.g.akamai.net/5/772/51/20b9f288dddd83/1a1a1aaa2198c627970773d80669d84574a8d80d3cb12453c02589f25382f668c9329e0375e8177dec6493f758ca2f93f86ed743/daredevil-tlr_320.mov[/url]
复制代码
缩放比例测试1:
- # mplayer -x 500 -y 200 [url]http://a772.g.akamai.net/5/772/51/20b9f288dddd83/1a1a1aaa2198c627970773d80669d84574a8d80d3cb12453c02589f25382f668c9329e0375e8177dec6493f758ca2f93f86ed743/daredevil-tlr_320.mov[/url]
复制代码
缩放比例测试2:
- # mplayer -xy 500 [url]http://a772.g.akamai.net/5/772/51/20b9f288dddd83/1a1a1aaa2198c627970773d80669d84574a8d80d3cb12453c02589f25382f668c9329e0375e8177dec6493f758ca2f93f86ed743/daredevil-tlr_320.mov[/url]
复制代码
插件测试:
http://www.apple.com/trailers/fox/daredevil/trailer_medium.html
http://fredrik.hubbe.net/plugger/test.html
晕,我太爱你了!!!
正在下载!!!!
:p |
|