2009-10-07, 17:16
I have been working quite hard to make a p2p stream server working with XBMC. This is probably due to my lack experience in C++ programming. Please give me a hand!
Brief background:
I am developing a p2p stream server for xbmc. The server will download video files (in wmv/rm/rmvb formats) from peers and it's contents can be accessed from a port assigned to the stream server cli via arguments. XBMC in question is svn 20436 and it's running on Ubuntu 9.04.
Problem encountered:
The problem I am having now is that the seek function apparently not working well with the stream server. Mplayer works fine with the same server.
Logs:
xbmc log
http://pastebin.com/f326410e0
tcpdump output passed to pipe : "grep -A 9 -B 20 HTTP"
http://pastebin.com/f46b50921
stream server log
http://pastebin.com/f198c0c06
The interesting thing can be found at the end of the log is that the server is sending the data in continuous sequence but xbmc is not acknowledging it.
Get the source code of the stream server:
http://xbox-remote.googlecode.com/svn/tr...am/xpps.cc
How to use the stream server binary:
First you need install the missing library
Add the following apt repository
deb http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main
then install the following libs:
libpps libppswrapper
Get binary from http://xbox-remote.googlecode.com/files/xpps
Finally, execute the binary with the following command
LD_PRELOAD=/usr/lib/libppswrapper-preload.so ./xpps -p 8809 -l pps://hwhna3oqea6y5udo2aqa.pps/%D5%E6-%C1%B5%BC%A7%CE%DE%CB%AB-01.rmvb
How to play the stream:
mplayer http://127.0.0.1:8809
Brief background:
I am developing a p2p stream server for xbmc. The server will download video files (in wmv/rm/rmvb formats) from peers and it's contents can be accessed from a port assigned to the stream server cli via arguments. XBMC in question is svn 20436 and it's running on Ubuntu 9.04.
Problem encountered:
The problem I am having now is that the seek function apparently not working well with the stream server. Mplayer works fine with the same server.
Logs:
xbmc log
http://pastebin.com/f326410e0
tcpdump output passed to pipe : "grep -A 9 -B 20 HTTP"
http://pastebin.com/f46b50921
stream server log
http://pastebin.com/f198c0c06
The interesting thing can be found at the end of the log is that the server is sending the data in continuous sequence but xbmc is not acknowledging it.
Get the source code of the stream server:
http://xbox-remote.googlecode.com/svn/tr...am/xpps.cc
How to use the stream server binary:
First you need install the missing library
Add the following apt repository
deb http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main
then install the following libs:
libpps libppswrapper
Get binary from http://xbox-remote.googlecode.com/files/xpps
Finally, execute the binary with the following command
LD_PRELOAD=/usr/lib/libppswrapper-preload.so ./xpps -p 8809 -l pps://hwhna3oqea6y5udo2aqa.pps/%D5%E6-%C1%B5%BC%A7%CE%DE%CB%AB-01.rmvb
How to play the stream:
mplayer http://127.0.0.1:8809