当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 73 篇帖子 ]  前往页数 1, 2, 3, 4, 5  下一页
作者 内容
1 楼 
 文章标题 : [公测]不需要root版本的xpps
帖子发表于 : 2009-09-02 15:26 
头像

注册: 2007-11-29 9:41
帖子: 8455
送出感谢: 0 次
接收感谢: 0 次
先说明一下,测试者先上。小白殿后。本人不负责任不限时回答。

xpps是指在gmlive-extra 中提供pps流的那个程序。程序由无名氏提供。

gmlive-extra:
http://gmlive.googlecode.com/files/gmli ... 0.2.tar.gz

方法是由sunmoon1997提供。
不过本人测试的情况是有一次不成功,今天却又成功,很奇怪。特放出来让大家测试下。如稳定或找到根本原因再放入gmlive的解决办法中。

下载附件中的ppstream.tar.gz
解压后有源码,可自己make出xpps二进制程序。注意,这里不需要设置啥suid权限的.
执行:
代码:
LD_PRELOAD="libppswrapper-preload.so.0.0.0"  ./xpps pps://hwhna3oqea6y5udo2aqa.pps/%E7%81%AB%E5%BD%B1%E5%BF%8D%E8%80%85-342.rmvb


如见到
代码:
[pps_callback]: connecting to server...
[pps_callback]: connecting to server...
[pps_callback]: buffing done.
[ppsvod_play_item]-----------end
------Start to play...

则表示能正常运行,可用mplayer http://127.0.0.1:8098 来播放。
如遇到其它错误,请大家贴出来。


附件:
ppstream.tar.gz [21.28 KiB]
被下载 288 次
页首
 用户资料  
 
2 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:28 
头像

注册: 2007-11-29 9:41
帖子: 8455
送出感谢: 0 次
接收感谢: 0 次
补充: 测试前可先运行下面命令,删除之前建立的消息队列。
代码:
  sudo ipcrm -Q 0x00000fb5
    sudo ipcrm -Q 0x00000908


页首
 用户资料  
 
3 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:35 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
之前果然是没启动,http://127.0.0.1:8098 :D


_________________
● 鸣学


页首
 用户资料  
 
4 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:37 
头像

注册: 2007-11-29 9:41
帖子: 8455
送出感谢: 0 次
接收感谢: 0 次
eexpress 写道:
之前果然是没启动,http://127.0.0.1:8098 :D

ee用这个自己写脚本玩去...


页首
 用户资料  
 
5 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:44 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
引用:
[sky@ThinkPad ppstream]$ LD_PRELOAD="libppswrapper-preload.so.0.0.0" ./xpps pps://hwhna3oqea6y5udo2aqa.pps/%E7%81%A ... 5-342.rmvb
[ppsvod_create]-----------start(ppstream,demo,xppstream)
[ppsvod_create]-----------end
[ppsvod_add_item]---------start(tvod://8fd943a160ab1cee667988e23b318761 ... 2.rmvb,0x0)
[ppsvod_add_item]-----------end,index:1
[ppsvod_play_item]-----------start,index:1,validcode:(null)
[pps_callback]: parsing server info.
[pps_callback]: connecting to server...
[pps_callback]: connecting to server...
[pps_callback]: requesting media info 0%.
[pps_callback]: requesting media info 0%.
[pps_callback]: requesting media info 0%.
[pps_callback]: requesting media info 0%.
[pps_callback]: requesting media info 0%.
[pps_callback]: requesting media info 6%.
[pps_callback]: requesting media info 6%.
[pps_callback]: requesting media info 6%.
[pps_callback]: requesting media info 12%.
[pps_callback]: requesting media info 12%.
[pps_callback]: requesting media info 12%.
[pps_callback]: requesting media info 18%.
[pps_callback]: requesting media info 18%.
[pps_callback]: requesting media info 18%.
[pps_callback]: requesting media info 25%.
[pps_callback]: requesting media info 25%.
[pps_callback]: requesting media info 25%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 31%.
[pps_callback]: requesting media info 37%.
[pps_callback]: requesting media info 37%.
[pps_callback]: requesting media info 37%.
[pps_callback]: requesting media info 43%.
[pps_callback]: requesting media info 43%.
[pps_callback]: requesting media info 43%.
[pps_callback]: requesting media info 50%.
[pps_callback]: requesting media info 50%.
[pps_callback]: requesting media info 50%.
[pps_callback]: requesting media info 56%.
[pps_callback]: requesting media info 56%.
[pps_callback]: requesting media info 56%.
[pps_callback]: requesting media info 62%.
[pps_callback]: requesting media info 62%.
[pps_callback]: requesting media info 62%.
[pps_callback]: requesting media info 68%.
[pps_callback]: requesting media info 68%.
[pps_callback]: requesting media info 68%.
[pps_callback]: requesting media info 75%.
[pps_callback]: requesting media info 75%.
[pps_callback]: requesting media info 75%.
[pps_callback]: requesting media info 81%.
[pps_callback]: requesting media info 81%.
[pps_callback]: requesting media info 81%.
[pps_callback]: requesting media info 87%.
[pps_callback]: requesting media info 87%.
[pps_callback]: requesting media info 87%.
[pps_callback]: requesting media info 93%.
[pps_callback]: requesting media info 93%.
[pps_callback]: requesting media info 93%.
[pps_callback]: get media info successfully.
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 0%...
[pps_callback]: buffering 4%...
[pps_callback]: buffering 4%...
[pps_callback]: buffering 4%...
[pps_callback]: buffering 4%...
[pps_callback]: buffering 4%...
[pps_callback]: buffering 8%...
[pps_callback]: buffering 8%...
[pps_callback]: buffering 8%...
[pps_callback]: buffering 12%...
[pps_callback]: buffering 12%...
[pps_callback]: buffering 16%...
[pps_callback]: buffering 16%...
[pps_callback]: buffering 16%...
[pps_callback]: buffering 16%...
[pps_callback]: buffering 20%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 24%...
[pps_callback]: buffering 28%...
[pps_callback]: buffering 28%...
[pps_callback]: buffering 28%...
[pps_callback]: buffering 32%...
[pps_callback]: buffering 32%...
[pps_callback]: buffering 32%...
[pps_callback]: buffering 32%...
[pps_callback]: buffering 36%...
[pps_callback]: buffering 36%...
[pps_callback]: buffering 40%...
[pps_callback]: buffering 48%...
[pps_callback]: buffering 52%...
[pps_callback]: buffering 56%...
[pps_callback]: buffering 56%...
[pps_callback]: buffering 56%...
[pps_callback]: buffering 56%...
[pps_callback]: buffering 56%...
[pps_callback]: buffering 64%...
[pps_callback]: buffering 64%...
[pps_callback]: buffering 68%...
[pps_callback]: buffering 68%...
[pps_callback]: buffering 68%...
[pps_callback]: buffering 68%...
[pps_callback]: buffering 68%...
[pps_callback]: buffering 72%...
[pps_callback]: buffering 72%...
[pps_callback]: buffering 80%...
[pps_callback]: buffering 80%...
[pps_callback]: buffering 84%...
[pps_callback]: buffering 92%...
[pps_callback]: buffering 92%...
[pps_callback]: buffering 92%...
[pps_callback]: buffering 92%...
[pps_callback]: buffering 96%...
[pps_callback]: buffering 96%...
[pps_callback]: buffing done.
[ppsvod_play_item]-----------end
------Start to play...



代码:
mplayer http://127.0.0.1:8098
MPlayer SVN-r29411-4.4.0 (C) 2000-2009 MPlayer Team
parse error at line 347
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://127.0.0.1:8098.
Resolving 127.0.0.1 for AF_INET6...
Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 8098...
Cache size set to 320 KBytes
Cache fill: 17.50% (57344 bytes)   
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
Resolving 127.0.0.1 for AF_INET6...
Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 8098...
Resolving 127.0.0.1 for AF_INET6...
Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 8098...
VIDEO:  [RV40]  640x352  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 comment:
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Win32 LoadLibrary failed to load: drv43260.dll, /usr/lib/codecs/drv43260.dll, /usr/lib/win32/drv43260.dll, /usr/local/lib/win32/drv43260.dll
Error loading dll
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc
Error loading dll
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4005->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x352 => 640x352 Planar YV12



可放,请斗蓬明鉴


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
6 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:45 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
图片
此库,之前没提供。估计是没整合进gmlive的,还敢发帖。毒害 skyxmm


_________________
● 鸣学


页首
 用户资料  
 
7 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:47 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
eexpress 写道:
图片
此库,之前没提供。估计是没整合进gmlive的,还敢发帖。毒害 skyxmm


上次用过有pps 的gmlive 后,就感觉怪怪的


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
8 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 15:48 
头像

注册: 2007-11-29 9:41
帖子: 8455
送出感谢: 0 次
接收感谢: 0 次
eexpress 写道:
图片
此库,之前没提供。估计是没整合进gmlive的,还敢发帖。毒害 skyxmm


当然没提供,这是新出来的东西嘛。这不让大家测试下再看看怎么整合进gmlive嘛


页首
 用户资料  
 
9 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 18:30 
头像

注册: 2006-07-08 14:07
帖子: 1771
送出感谢: 14
接收感谢: 1
就这样?不用那pps的库文件了?


X64 , make错误

skyxmm上传下编译的xpps


页首
 用户资料  
 
10 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 21:10 
头像

注册: 2007-03-16 15:42
帖子: 366
送出感谢: 0 次
接收感谢: 0 次
能否给xpps 加个命令行参数 如--app "媒体播放器 [媒体播放器相关参数]"
来自动调用指定的外部媒体播放器播放

这样写脚本就更方便了 :em03


页首
 用户资料  
 
11 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-02 21:33 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
eagle5678 写道:
就这样?不用那pps的库文件了?


X64 , make错误

skyxmm上传下编译的xpps


只用32位的,2010年以后,主流pc 内存8G后再用64位的系统


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
12 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-03 0:26 

注册: 2006-04-15 23:44
帖子: 87
送出感谢: 0 次
接收感谢: 0 次
测试可用。


页首
 用户资料  
 
13 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-03 0:49 
头像

注册: 2006-05-19 9:54
帖子: 1822
地址: Shanghai
送出感谢: 2
接收感谢: 11
[pps vod]StopFile: Url Invalid?
------Can not start task 1!

试了好几个,都是这个结果


_________________
ニンニク入れますか?
x60 with gentoo


页首
 用户资料  
 
14 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-03 10:01 

注册: 2007-03-21 14:33
帖子: 77
送出感谢: 0 次
接收感谢: 0 次
测试播放输出:
[ppsvod_stop_item]-----------start,index=0
[pps vod]illegal index:0
[ppsvod_remove_item]-----------start, index:0
[pps_callback]: server connecting timeout.
[ppsvod_stop_item]-----------start,index=0
[pps vod]illegal index:0
[ppsvod_remove_item]-----------start, index:0
[pps_callback]: server connecting timeout.
[ppsvod_stop_item]-----------start,index=0
[pps vod]illegal index:0
[ppsvod_remove_item]-----------start, index:0
[pps_callback]: server connecting timeout.
[ppsvod_stop_item]-----------start,index=0
[pps vod]illegal index:0
[ppsvod_remove_item]-----------start, index:0
[pps_callback]: server connecting timeout.
[ppsvod_stop_item]-----------start,index=0


页首
 用户资料  
 
15 楼 
 文章标题 : Re: xpps不需要root版本测试
帖子发表于 : 2009-09-03 11:44 
头像

注册: 2007-11-29 9:41
帖子: 8455
送出感谢: 0 次
接收感谢: 0 次
有人成功,有人失败, 这方法也不是万无一失。根源问题还是得pps自己解决。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 73 篇帖子 ]  前往页数 1, 2, 3, 4, 5  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译