RTMP Streaming, SWF Player

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sjol Offline
Junior Member
Posts: 2
Joined: Feb 2009
Reputation: 0
Post: #1
Hello,

I want to be able to stream our content through XBMC, currently we have flash servers with a few .flv but the majority of our content is in .mp4. Now I have thanks to :
http://plexapp.lighthouseapp.com/project...pport-rtmp
sort of been able to stream my content, and by sort of, I mean that only the flv worked and that there seems to be odd buffering issues and that the end result is mostly reddish hues on a black screen on Mac OS X and nothing on windows... ?

this is the code snippet that i modified for my use :
item = xbmcgui.ListItem("svt video")
item.setProperty("SWFPlayer", "http://svt.se/svt/road/Classic/shared/flash/VideoPlayer/svtplayer.swf")
item.setProperty("PlayPath", "kluster/20081228/0812292020_GJKLS332")
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play("rtmp://fl1.c00928.cdn.qbrick.com/00928/definst/kluster/20081228/0812292020_GJKLS332", item)

what are the different cores for ? ( xbmc.PLAYER_CORE_DVDPLAYER )
also is it possible to collect midpoint statistics such as when the 25% mark is reached etc etc ?

I am so close!! yet so far...

then I will concentrate on the GUI.

thanks for any help,

Stephane
find quote
iRoNBiLL Offline
Senior Member
Posts: 175
Joined: Jun 2008
Reputation: 0
Location: Las Vegas, U.S.A.
Post: #2
Hey Stephane... e-mail me at billdaly111@aim.com because I have the answer for you... Navi-X... check out http://www.navi-x.org for more details... I'd say more but people keep calling me a spammer for telling people about Navi-X. There's a video demo there or you can get the latest script. I work with Rodejo adding content to Navi-X and .flv and .mp4 plays just fine. Thanks.

Bill
find quote
frosty Offline
Member
Posts: 61
Joined: Aug 2008
Reputation: 0
Location: England
Post: #3
It sounds like you run / have access to this website and it's contents. Before trying to stream from it, I'd suggest first checking if some of the .flv and .mp4 files play on a recent XBMC build.
If the files play OK, then we can look into streaming. Initially that probably only needs a correctly formed URL (eg. saved in a .strm file or playlist), rather than a plugin/app.
Quote:is it possible to collect midpoint statistics such as when the 25% mark is reached etc
I don't understand what you mean by this.
find quote
sjol Offline
Junior Member
Posts: 2
Joined: Feb 2009
Reputation: 0
Post: #4
ok! ok! I had jumped the gun a bit the redish color was solved by this : http://forum.xbmc.org/showthread.php?tid=45864

now I can see the image clearly ! But I get this long buffering phase before any movie starts... aren't the files supposed to be streamed ? it seems to take the length of the movie to buffer and then it starts to play, how can I overcome this ?

as for the midpoint statistics I would like to know when the timeline has reached 25% of the file or 50% so I can compile viewing stats on our content ...
find quote
frosty Offline
Member
Posts: 61
Joined: Aug 2008
Reputation: 0
Location: England
Post: #5
sjol Wrote:I get this long buffering phase before any movie starts... aren't the files supposed to be streamed ? it seems to take the length of the movie to buffer and then it starts to play
Precisely which build of XBMC are you using, and on what platform? RTMP streams will start faster after http://trac.xbmc.org/ticket/5246 was committed.
Non-xbox platforms have a pre-buffering dialog which delays playback starting until the buffer (which you cannot change the size of) is somewhat filled. How long are the videos you're playing? What's their data rate?

EDIT: rtmp://fl1.c00928.cdn.qbrick.com/00928/definst?slist=kluster/20081228/0812292020_GJKLS332 connects and starts playback 9 secs after clicking the playlist entry on a current-ish Windows svn build.

sjol Wrote:as for the midpoint statistics I would like to know when the timeline has reached 25% of the file or 50% so I can compile viewing stats on our content ...
This is nothing to do with the client, whether that's XBMC or flash proper. The RTMP protocol periodicially reports how much data the client has received, so I expect the flash server can generate this sort of report.
(This post was last modified: 2009-02-27 00:53 by frosty.)
find quote