最省资源ppstream+sopcast+pplive电视播放(for dummy)(12/11更新,全文重编辑)
-
- 帖子: 47
- 注册时间: 2006-09-18 9:38
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
请问一下在ubuntu9.10下安装时有如下错误,
wuxiongbin@wuxiongbin-laptop:~/下载/pps-mplayer$ python install.py
external program position?
(/home/wuxiongbin/下载/pps-mplayer/mypps)correct me if I'm wrong
(enter to use the default):
Your firefox version?(firefox,firefox-3.5,firefox-3.6)
(enter to use the default firefox):
Your profile?(Profile0)
(enter to use the default profile):
summary:
program: /home/wuxiongbin/下载/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
Traceback (most recent call last):
File "install.py", line 46, in <module>
auto.autoAssociate(['pps','tvod','sop','synacast'],ext_pro,profile,fox)
File "/home/wuxiongbin/下载/pps-mplayer/auto_firefox_association.py", line 56, in autoAssociate
doc = dom.parse(mime_file)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
wuxiongbin@wuxiongbin-laptop:~/下载/pps-mplayer$ python install.py
external program position?
(/home/wuxiongbin/下载/pps-mplayer/mypps)correct me if I'm wrong
(enter to use the default):
Your firefox version?(firefox,firefox-3.5,firefox-3.6)
(enter to use the default firefox):
Your profile?(Profile0)
(enter to use the default profile):
summary:
program: /home/wuxiongbin/下载/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
Traceback (most recent call last):
File "install.py", line 46, in <module>
auto.autoAssociate(['pps','tvod','sop','synacast'],ext_pro,profile,fox)
File "/home/wuxiongbin/下载/pps-mplayer/auto_firefox_association.py", line 56, in autoAssociate
doc = dom.parse(mime_file)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
- tor
- 帖子: 301
- 注册时间: 2009-01-18 23:26
- 蒙懵猛孟
- 帖子: 5
- 注册时间: 2009-10-30 14:23
- 联系:
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
sopcast还是不行,需要自己安装sopcast吗?
sopcast在google code上的那个代码在9.10里用不了,它要用libstdc++5, 910库里已经是libstdc++6,还得自己找5的编译吗?
sopcast在google code上的那个代码在9.10里用不了,它要用libstdc++5, 910库里已经是libstdc++6,还得自己找5的编译吗?
- xxx9956
- 帖子: 476
- 注册时间: 2009-09-18 22:48
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
好东西留名。。。
当我醒来的时候,发现世界上到处都是需要帮助的人,而我却伸不出援助之手。
- zebrattt
- 帖子: 629
- 注册时间: 2007-11-12 14:27
- 来自: 地球的角落
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
great, 播放很流畅,清淅. 就是怎么全屏?
- 蒙懵猛孟
- 帖子: 5
- 注册时间: 2009-10-30 14:23
- 联系:
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
按F。zebrattt 写了:great, 播放很流畅,清淅. 就是怎么全屏?
详细的可以去查mplayer的快捷键,terminal里面输入mplayer --help
- zebrattt
- 帖子: 629
- 注册时间: 2007-11-12 14:27
- 来自: 地球的角落
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
蒙懵猛孟 写了:按F。zebrattt 写了:great, 播放很流畅,清淅. 就是怎么全屏?
详细的可以去查mplayer的快捷键,terminal里面输入mplayer --help
thanks! 原来再按一下f就是从全屏恢复。 刚一按ESC 結果退出了。
-
- 帖子: 82
- 注册时间: 2009-05-18 19:30
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
不错,有时间再搞吧,反正我从来都不用电脑看网络电视的。
不顾,先顶一下。
不顾,先顶一下。

-
- 帖子: 6
- 注册时间: 2009-10-15 10:41
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
我这也有这个问题。而且一般碰到这个问题,基本就没法用了,因为会反复出现。只好重启到windows继续看。囗囗囗 写了:这是怎么回事
![]()
- 困了喝绿茶
- 帖子: 65
- 注册时间: 2008-11-04 21:12
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
好,仔细看看 

毛主席语录:人不犯我,我不犯人,人若犯我,我必犯人!
汉书有云:明犯强汉者,虽远必诛!
汉书有云:明犯强汉者,虽远必诛!
- wlzyan
- 帖子: 504
- 注册时间: 2008-08-16 15:09
- 来自: 没有海一样的胸怀,哪能有海一样的事业.
- wlzyan
- 帖子: 504
- 注册时间: 2008-08-16 15:09
- 来自: 没有海一样的胸怀,哪能有海一样的事业.
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
按你的方法,我装了"ia32-libs"这个软件包后 用命令行tarjxvf 写了:我来说一下吧,其实安装很简单,但要保证不出错,还有两点要注意:
1. 你已经运行过firefox,有~/.mozilla/firefox/****.default等目录
2. 你有~/.mplayer/这个目录(没有就自己创建一个)。
这两点没有问题,就直接运行"python install.py",按照提示一路回车就好了。
当然,如前所述,如果你的系统像我的一样是64bit,则需要安装"ia32-libs"这个软件包才能正常运行。
代码: 全选
./mypps pps://pegp6ewqednaab5q2aqhi4qv37ica.pps/%B6%AF%BB%AD/%CD%EA%BD%E1/%C0%CB%BF%CD%BD%A3%D0%C4/%C0%CB%BF%CD%BD%A3%D0%C4TV/%C0%CB%BF%CD%BD%A3%D0%C4-75.rmvb
但是我没有~/.mplayer/这个目录,但却有个同名的文件.
安装提示:
代码: 全选
program: /home/koko/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
Traceback (most recent call last):
File "install.py", line 46, in <module>
auto.autoAssociate(['pps','tvod','sop','synacast'],ext_pro,profile,fox)
File "/home/koko/pps-mplayer/auto_firefox_association.py", line 56, in autoAssociate
doc = dom.parse(mime_file)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: junk after document element: line 264, column 2
- wlzyan
- 帖子: 504
- 注册时间: 2008-08-16 15:09
- 来自: 没有海一样的胸怀,哪能有海一样的事业.
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
经测试:我firefox新建的用户能够正常关联(全新生成有的空白用户配置文件)。
我现在用的却不能
检查了它写到 prefs.js 和 mimeTypes.rdf 的内容,复制到我的配置文件夹下 prefs.js 和 mimeTypes.rdf里 仍然不能关联.
请问该怎么办?
代码: 全选
summary:
program: /home/koko/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
haha, adding:pps Description
haha, adding:tvod Description
haha, adding:sop Description
haha, adding:synacast Description
haha, adding:pps Description external
haha, adding:tvod Description external
haha, adding:sop Description external
haha, adding:synacast Description external
haha, adding:pps Description handler
haha, adding:tvod Description handler
haha, adding:sop Description handler
haha, adding:synacast Description handler
backup your old prefs.js to /home/koko/.mozilla/firefox/glb0dizj.lk/prefs.js_0
backup your old mimeTypes.rdf to /home/koko/.mozilla/firefox/glb0dizj.lk/mimeTypes.rdf_0
代码: 全选
summary:
program: /home/koko/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
Traceback (most recent call last):
File "install.py", line 46, in <module>
auto.autoAssociate(['pps','tvod','sop','synacast'],ext_pro,profile,fox)
File "/home/koko/pps-mplayer/auto_firefox_association.py", line 56, in autoAssociate
doc = dom.parse(mime_file)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: junk after document element: line 264, column 0
请问该怎么办?
- wlzyan
- 帖子: 504
- 注册时间: 2008-08-16 15:09
- 来自: 没有海一样的胸怀,哪能有海一样的事业.
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
搞定!
自动关联不成功的话,可以手动编辑 mimeTypes.rdf 文件[此文件在你的firefox配置文件夹中,默认在~/.mozilla/firefox***/***下 *号是随机内容,就一两个文件夹自己找找吧]。相关代码如下:
----------------
当年在win下用arp防火墙时,为了防止它改我的主页,被逼才将配置文件独立出来,用 firefox -profile ./lzy 启动。
arp防火墙会根据profiles.ini里的地址,去修改你的配置文件的主页!!所以都不把配置文件地址写进去.
但我发现,只要随便乱写个地址,arp防火墙找不到,程序就会直接报错,退出。 用这个方法很容易就能把它放倒,哈~

自动关联不成功的话,可以手动编辑 mimeTypes.rdf 文件[此文件在你的firefox配置文件夹中,默认在~/.mozilla/firefox***/***下 *号是随机内容,就一两个文件夹自己找找吧]。相关代码如下:
说明:代码应该加在 </RDF:RDF> 标签之前, 红色部分请替换成你的mypps地址。<RDF:li RDF:resource="urn:scheme:pps"/>
<RDF:li RDF:resource="urn:scheme:tvod"/>
<RDF:li RDF:resource="urn:scheme:sop"/>
<RDF:li RDF:resource="urn:scheme:synacast"/>
<RDF:Description NC:value="pps" RDF:about="urn:scheme:pps"><NC:handlerProp RDF:resource="urn:scheme:handler:pps"/></RDF:Description><RDF:Description NC:value="tvod" RDF:about="urn:scheme:tvod"><NC:handlerProp RDF:resource="urn:scheme:handler:tvod"/></RDF:Description><RDF:Description NC:value="sop" RDF:about="urn:scheme:sop"><NC:handlerProp RDF:resource="urn:scheme:handler:sop"/></RDF:Description><RDF:Description NC:value="synacast" RDF:about="urn:scheme:synacast"><NC:handlerProp RDF:resource="urn:scheme:handler:synacast"/></RDF:Description><RDF:Description NC:path="/home/koko/pps-mplayer/mypps" NC:prettyName="mypps" RDF:about="urn:scheme:externalApplication:pps"/><RDF:Description NC:path="/home/koko/pps-mplayer/mypps" NC:prettyName="mypps" RDF:about="urn:scheme:externalApplication:tvod"/><RDF:Description NC:path="/home/koko/pps-mplayer/mypps" NC:prettyName="mypps" RDF:about="urn:scheme:externalApplication:sop"/><RDF:Description NC:path="/home/koko/pps-mplayer/mypps" NC:prettyName="mypps" RDF:about="urn:scheme:externalApplication:synacast"/><RDF:Description NC:alwaysAsk="false" RDF:about="urn:scheme:handler:pps"><NC:externalApplication RDF:resource="urn:scheme:externalApplication:pps"/></RDF:Description><RDF:Description NC:alwaysAsk="false" RDF:about="urn:scheme:handler:tvod"><NC:externalApplication RDF:resource="urn:scheme:externalApplication:tvod"/></RDF:Description><RDF:Description NC:alwaysAsk="false" RDF:about="urn:scheme:handler:sop"><NC:externalApplication RDF:resource="urn:scheme:externalApplication:sop"/></RDF:Description><RDF:Description NC:alwaysAsk="false" RDF:about="urn:scheme:handler:synacast"><NC:externalApplication RDF:resource="urn:scheme:externalApplication:synacast"/></RDF:Description>
----------------
当年在win下用arp防火墙时,为了防止它改我的主页,被逼才将配置文件独立出来,用 firefox -profile ./lzy 启动。
arp防火墙会根据profiles.ini里的地址,去修改你的配置文件的主页!!所以都不把配置文件地址写进去.
但我发现,只要随便乱写个地址,arp防火墙找不到,程序就会直接报错,退出。 用这个方法很容易就能把它放倒,哈~

- wlzyan
- 帖子: 504
- 注册时间: 2008-08-16 15:09
- 来自: 没有海一样的胸怀,哪能有海一样的事业.
Re: 最省资源ppstream+sopcast+pplive电视播放(for dummy)(9/20更新,错误修正版)
发现:
pps类链接正常播放。 synacast类链接,那个8/8之后一闪而过。 sop类链接,啥都没有,直接一闪而过。
tvod类链接,我还没找到...
ppvod类链接。还未关联...
pps类链接正常播放。 synacast类链接,那个8/8之后一闪而过。 sop类链接,啥都没有,直接一闪而过。
tvod类链接,我还没找到...
ppvod类链接。还未关联...