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

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sheikh73 Offline
Member
Posts: 58
Joined: Apr 2011
Reputation: 0
Post: #46
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 quote
colbert Offline
Senior Member
Posts: 213
Joined: Dec 2008
Reputation: 0
Post: #47
Can someone help with the command line that would work for cp24.com? The top left is the live stream of the station.

[Image: widget]
find quote
moripi Offline
Junior Member
Posts: 10
Joined: Dec 2006
Reputation: 0
Post: #48
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 quote
fouad796 Offline
Senior Member
Posts: 151
Joined: Jul 2011
Reputation: 2
Location: Carlisle , PA
Post: #49
anyone got justin.tv streams to play in xbmc using a .strm file ?
if yes can u give an exemple ?

thank you

XBMC Fever..
find quote
muer-d Offline
Junior Member
Posts: 6
Joined: Jun 2011
Reputation: 0
Post: #50
hello
I'm was looking for streams when have found this method (http://sites.google.com/site/hoppthebroo...witzerland) to extract rtmp info from on the fly stream:
ngrep -W byline | grep -Pio '(swfurl\.{2}.*?\.{2})|(\.{2}play.*?\w.*?\.{3})|(tcUrl.*?rtmp://.*?\.{2})|(pageUrl\.{3}.*?\.{2})'
swfUrl..0http://www.yycast.com/player/player-licensed.swf..
swfUrl..0http://www.yycast.com/player/player-licensed.swf..
tcUrl.."rtmp://174.36.55.67/live/_definst_..
swfUrl..0http://www.yycast.com/player/player-licensed.swf..
tcUrl.."rtmp://174.36.55.67/live/_definst_..
..play.............nSfydRlJ6TaKy4K...
but I don't know how I do convert to a valid xml
I've tried this one:
<item>
<title>EuroSport</title>
<link>rtmp://173.193.242.216/live playpath=nSfydRlJ6TaKy4K swfUrl=http://www.yycast.com/player/player-licensed.swf live=true</link>
<thumbnail>http://www.lyngsat-logo.com/hires/bb/british_eurosport.png</thumbnail>
</item>

any tip please
thank you
find quote
WildBill Offline
Senior Member
Posts: 226
Joined: Aug 2011
Reputation: 3
Post: #51
It works but I want to know if it done correctly from http://www.shadownet.info/channels/usa/cinemax.html

Quote:rtmp://rtmp.flvnetwork.com/live/cinemax pageURL=http://www.shadownet.info/channels/usa/cinemax.html swfUrl=http://www.shadownet.ro/webplayer/player1.swf live=true

I guess if it works it good but I just want to be sure.

Thanks
find quote
pm2i Offline
Junior Member
Posts: 19
Joined: Nov 2011
Reputation: 11
Location: Canada
Post: #52
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 quote
win2kpro Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #53
Is there a easy plugin for Al Jazeera Arabic to install like the one for Al Jazeera English?
find quote
win2kpro Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #54
Could someone help me please? I've XBMC on my Apple TV 2G

I've created a STRM file with the following URL
Quote:rtmp://livestfslivefs.fplive.net/livestfslive-live/ playpath=aljazeera_ar_veryhigh app=aljazeeraflashlive-live live=true

xbmc can't see the file when I browse to it on my network share, I've copied file on the Apple TV where I can browse to /var/mobile/applications and even then I can't select the file as it is not there.

What am I doing wrong?
find quote
petervg Offline
Junior Member
Posts: 7
Joined: Aug 2010
Reputation: 0
Question   
Post: #55
Great topic. I hope one of you can help me with one stream I really would love to see on my TV. It's located at http://www.scheveningenlive.nl/beach2stream.html. I've been able to get the other streams mentioned in this topic working just not this one. I've tried various tools (including rtmpdump, Wireshark, URL Snooper, Replay Media Catcher, etc) but just can't get it to work. It seems I have all the parts of the puzzle, but can't figure out how to put them together. Can someone please have a look? It would make my day. Big Grin Thanks!
find quote
petervg Offline
Junior Member
Posts: 7
Joined: Aug 2010
Reputation: 0
Post: #56
Fixed it. I had a typo in my code. Eek

Code:
rtmp://b2.dnsdojo.com:1935/live/ app=live swfurl="http://www.scheveningenlive.nl/player.swf" pageurl="http://www.scheveningenlive.nl/beach2stream.html" playpath=sys2.stream live=true
find quote
Mudislander Offline
Skilled Skinner
Posts: 1,522
Joined: Jun 2009
Reputation: 33
Post: #57
Just out of interest for those who use .strm files - Convergence has an easy way of presenting upto 6 shortcuts for them on the main menu.

[Image: Streaming.png]

Noli illegitimi carborundum
find quote
petervg Offline
Junior Member
Posts: 7
Joined: Aug 2010
Reputation: 0
Post: #58
HELP! My code (see above) already stopped working after a few days and I can't find out why. I'm trying to find out whether they changed something. Can someone point me in the right direction? Thanks! Big Grin
find quote
cerande Offline
Junior Member
Posts: 1
Joined: Jan 2012
Reputation: 0
Post: #59
please help I cannot get the XMBC to see my .strm file( i have already unchecked the hide extensions box in xp). What am I doing wrong?
find quote
radiohead6969 Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #60
hi guys i can really use your help

i got my parents Russian iptv and it just wont play in XBMC it works in vlc and also on there web interface... so i think is a protective stream so can you please help me..

this i what it looks like

http://vswk-tv.tk/api/m3u/get_url.ph...=J5lhG77TDM3JK

i changed some info in the link to protect my account..

please guys I and my parents will me great full
find quote
Post Reply