HOW-TO Play Live TV/Internet Video in XBMC (including some sample streams!)

  Thread Rating:
  • 4 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
elkosb Offline
Junior Member
Posts: 7
Joined: Mar 2011
Reputation: 0
Post: #31
I have seen live CNN USA and CNN International on Justin.tv... Is there a way to get the source code from those links to work as the others listed? thanks.
find
danfred Offline
Junior Member
Posts: 3
Joined: Mar 2011
Reputation: 0
Post: #32
Philmatic Wrote:This one doesn't seem to work for me, it just launches IE in fullscreen mode with a "page cannot be found error".

I have the same problem now too... ustream.tv must have changed something on their end (locked us out?)... I'll post again if I find a work-around.
find
danfred Offline
Junior Member
Posts: 3
Joined: Mar 2011
Reputation: 0
Post: #33
elkosb Wrote:I have seen live CNN USA and CNN International on Justin.tv... Is there a way to get the source code from those links to work as the others listed? thanks.

please refer to the post I just made on streaming CNN USA... http://forum.xbmc.org/showthread.php?p=7...post754636
find
myksterx Offline
Senior Member
Posts: 179
Joined: Jul 2009
Reputation: 0
Post: #34
i got a -o command i dont know what this is for in xbmc terms..

quote "-o m1.flv"

anyone know what i should do for -o
find
mpw1412 Offline
Junior Member
Posts: 6
Joined: Mar 2011
Reputation: 0
Post: #35
Hello,

I have problems with nasa hd, too. Did anyone solve it?

Code:
rtmpdump -v -r rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 playpath=streams/live -y "streams/live app=ustreamVideo/6540154" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf -p "http://www.nasa.gov/multimedia/nasatv/ustream.html -o test.flv

I tried to modify the example for al jazeera, but it dosn't work.

Thanks in advance.

Bye
MPW

/edit: Hey, I got it! I misparsed the url, here is how it works:

Code:
rtmpdump -v -r rtmp://flash86.ustream.tv:1935/ustreamVideo/6540154 -y "streams/live" -W "http://cdn1.ustream.tv/swf/4/viewer.rsl.558.swf" -p "http://www.nasa.gov/multimedia/nasatv/ustream.html" -a "ustreamVideo/6540154" -o test.flv
(This post was last modified: 2011-03-22 21:30 by mpw1412.)
find
mpw1412 Offline
Junior Member
Posts: 6
Joined: Mar 2011
Reputation: 0
Post: #36
myksterx Wrote:i got a -o command i dont know what this is for in xbmc terms..

quote "-o m1.flv"

anyone know what i should do for -o

-o is for the filename if you just want to save it. I think for XBMC you can just leave that option out. As the others did too...
find
akr884 Offline
Junior Member
Posts: 33
Joined: Apr 2010
Reputation: 0
Post: #37
It would be pretty awesome if this could be integrated with the PVR add-on, having the internet live streams show up as channels.

I'm (very slowly) learning how to code, so I can't really offer to help now, but Dushmaniac, who's developing the PVR add-on said he thought it was interesting if there is anyone in this thread willing to give it a shot.
find
myXBMC Offline
Junior Member
Posts: 40
Joined: Feb 2011
Reputation: 0
Post: #38
grassmunk Wrote:Could someone help me out with this? I just spent the last 3 hours trying to get it to work. Essentially I have site http://watchpinoytv.blogspot.com/2008/12...ve_18.html which streams a Filipino channel.

when I run
Code:
rtmpdump -v -V -r rtmp://173.193.20.156/live -y abscbn -W http://player.longtailvideo.com/player5.3.swf
I get NetConnection.Connect.Rejected

I thought I got the right parameters from the site
Code:
<param name='movie' value='http://player.longtailvideo.com/player5.3.swf'><param name='allowfullscreen' value='true'><param name='allowscriptaccess' value='always'><param name='wmode' value='transparent'><param name='flashvars' value='file=abscbn.sdp&bufferlength=2&streamer=rtmp://173.193.20.156/live&autostart=true&logo.hide=false&stretching=exactfit&logo.link=http://www.yeheytv.com&logo.position=top-left&plugins=sharing-1&sharing.link=http://watchpinoytv.blogspot.com/2008/12/abs-cbn-live_18.html&sharing.code=<iframe src="http://www.yeheytv.com/abscbn2.html" width="600" frameborder="0" height="520" scrolling="no"></iframe> '>
but no dice.

@grassmunk -

I ran a full dump...hope it works out for you.

Code:
<item>

<title>My Pinoy TV</title>

<link>rtmp://173.193.20.156/live app=live swfUrl="http://player.longtailvideo.com/player5.3.swf" pageUrl="http://watchpinoytv.blogspot.com/2008/12/abs-cbn-live_18.html" playpath=abscbn.sdp live=true swfVfy=true </link>

<thumbnail>http://cf.juggle-images.com/matte/white/280x280/my-pinoy-tv-logo-primary.jpg</thumbnail>

</item>
find
stevenbg Offline
Junior Member
Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #39
I'm having a problem playing a rtmp stream and I really hope you can help me Smile

I am able to play the stream in XBMC, but it has only sound, no picture. The codec is reported as h264 and I never had a problem with it before.

The strm file content is as follows
Code:
rtmp://cdn01.evolink.net:2007/mts/ playpath=bnt.stream pageURL=http://tv.bnt.bg/ swfUrl=http://tv.bnt.bg/player.swf app=mts/ swfVfy=true live=true subscribe=bnt.stream tcUrl=rtmp://cdn01.evolink.net:2007/mts/ flashver=WIN 10,2,154,25

I can use rtmpdump to open the stream and save it to a file, which I can play in Media player classic perfectly, but won't open in XBMC at all.
Code:
rtmpdump -r "rtmp://cdn01.evolink.net:2007/mts/" -t "rtmp://cdn01.evolink.net:2007/mts/" -a "mts/" -f "WIN 10,2,154,25" -s "http://tv.bnt.bg/player.swf" -p "http://tv.bnt.bg/" -v -y "bnt.stream" -V -o bnt.flv

Also you can find the stream playing via a flash player at http://tv.bnt.bg/

I am using a nightly win32 build, the log from playing the strm file is here.

What am I doing wrong?
(This post was last modified: 2011-03-29 21:48 by stevenbg.)
find
colbert Offline
Senior Member
Posts: 288
Joined: Dec 2008
Reputation: 0
Post: #40
This is awesome! I have gotten nearly every feed in the thread to work except CNN and Skynews.

I'd appreciate if any of you could help me get my local channel's feed going. The site is cp24.com and I have Flashblock installed, I right-clicked on the live feed window to get the flash location and I get this:

Code:
http://watch.ctv.ca/news/Flash/player.swf?themeURL=http://watch.ctv.ca/themes/CTV/player/340x267_Black_OneClip.aspx
Even with the output commands listed I don't know how to turn that into a .strm Confused
find
janetbuchler Offline
Junior Member
Posts: 1
Joined: May 2011
Reputation: 0
Post: #41
hi everybody could someone help me out with this
how to embed this stream

rtmp://m1.d1.yatv.ru/live/adamski/p/5d14dbfef55e7812<playpath>AdamskiTV <swfUrl>http://player.longtailvideo.com/player.swf <pageUrl>http://adamski.tv/BB.html

thx guys
find
sheikh73 Offline
Junior Member
Posts: 30
Joined: Apr 2011
Reputation: 0
Post: #42
TravellingGuy Wrote:This idea started in another thread, someone asking how to stream the live Al Jazeera feed right into XBMC ( http://forum.xbmc.org/showthread.php?tid=92671 ). Someone then posted an rtmpdump command that downloaded/piped the stream into mplayer. I then spent an hour trying to make the rtmp stream in XBMC, and had success.

I then found a few more streams, and achieved success in getting them playing in XBMC, so decided to share with you. Hopefully you can also share any live streaming URL's you're using with us.

The Generic Procedure
  1. Find the stream URL (see below for some links/help on this)
  2. Create a text file called "whatever.strm" and paste the stream URL (with any extra parameters) into the file (see below for some sample URLs)
  3. Save the file somewhere where XBMC can see it.
  4. In XBMC, go to Videos, make sure you are not in Library mode and browse to where your whatever.strm file is.
  5. Select your stream.
  6. Enjoy live streaming.
    • Specific Examples
      Here are some specific examples. These are the URL's (with paramaters) you'll want to put in your .strm file.
      NASA TV:
      Code:
      http://playlist.yahoo.com/makeplaylist.dll?id=1368163

      ISS Live Feed:
      Code:
      mms://a1709.l1856953708.c18569.g.lm.akamaistream.net/D/1709/18569/v0001/reflector:53708

      Al Jazeera English:
      Code:
      rtmp://livestfslivefs.fplive.net/livestfslive-live/ playpath=aljazeera_en_veryhigh?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId= pageURL=http://english.aljazeera.net/watch_now/ app=aljazeeraflashlive-live?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId= swfUrl=http://admin.brightcove.com/viewer/us1.24.04.08.2011-01-14072625/federatedVideoUI/BrightcovePlayer.swf swfVfy=true live=true

      France 24 English:
      Code:
      rtmp://stream2.france24.yacast.net/france24_live/en playpath=f24_liveen app=france24_live/en pageURL=http://www.france24.com/en/aef_player_popup/france24_player swfUrl=http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf live=true

      RT.com English (I'm assuming RT stands for Russia Today or something similar?):
      Code:
      rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true

      HOW-TO Find More Feeds
      1. Search the internet - http://www.reddit.com/r/linux/comments/f...t?sort=hot has a list of more than a dozen, mostly news channels in various languages. See below for instructions on how to turn an rtmpdump command line into something XBMC recognizes.
      2. Use various tools to extract stream URLs. I don't know anything about how to do this, so I just search the internets instead. If someone has a great HOW-TO on doing this, please post!
        • HOW-TO Turn that rtmpdump commandline you found into something XBMC recognizes
          Ok, so you've found a great rtmpdump (as in the Reddit link above) that pipes the live stream into mplayer for viewing. That's great, but we're using XBMC. Here is how the rtmpdump command line options correspond to the parameters XBMC expects.

          Let's take Al Jazeera as an example:
          Code:
          rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljazeera_en_veryhigh?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId=" -W "http://admin.brightcove.com/viewer/us1.24.04.08.2011-01-14072625/federatedVideoUI/BrightcovePlayer.swf -p "http://english.aljazeera.net/watch_now/ -a "aljazeeraflashlive-live?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId="

          The -r argument is the actual rtmp stream url. You'll copy/paste only this URL into your .strm file first.

          The -y argument corresponds to the playpath= parameter XBMC wants.

          The -W argument corresponds to the swfUrl= parameter XBMC wants.

          The -p argument corresponds to the pageURL= parameter XBMC wants.

          The -a argument corresponds to the app= parameter XBMC wants.

          The -v argument corresponds to the live=true parameter XBMC wants. If it's a live stream, make sure to include live=true, or it won't work.

          And, I don't know if/when/what circumstances it's needed, but you might need to also include "swfVfy=true" in your .strm file.

          If anyone else has any more streams to contribute, please do so! Or even links to some rtmpdump command lines, piping into mplayer (or VLC).

          TravellingGuy

how can i find playpath= parameter?
find
colbert Offline
Senior Member
Posts: 288
Joined: Dec 2008
Reputation: 0
Post: #43
Can someone help with the command line that would work for cp24.com? The top left is the live stream of the station.
find
moripi Offline
Junior Member
Posts: 10
Joined: Dec 2006
Reputation: 0
Post: #44
sheikh73 Wrote:how can i find playpath= parameter?

I did it by installing wireshark, capture traffic while you connect to the stream using a browser. Then perform a "find" on the packet capture for "playpath".
find
pm2i Offline
Junior Member
Posts: 16
Joined: Nov 2011
Reputation: 11
Location: Canada
Post: #45
Hi i'm little bit new over here and i have a stream that i want to play it in xbmc on atv2 it's an http paid stream that only can be played by ip adress and authorization so i want to know how do i need to do to pass this parameter in the xml file
the adress is like this:
http://adressofthestreamid=number&ip=anadress&auth=key

so when i try to run it in xbmc it give me an error because he gonna add ; after a specific indication the adress like this



http://adressofthestreamid=number&ip;=anadress&auth;=key

i think ip and auth are special command is there a way to make a concatination or anyone have an idea how to do this
thanks i apprecaite all the help that you are offering
find
Thread Closed