• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 12
HOW-TO Play Live TV/Internet Video in XBMC (including some sample streams!)
#1
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
#2
As described above (thank you!)

Drop from into a text file call it cspan1.strm, and then you can open it up in XBMC in file mode. Add it to your favorites, and then you can drop it into your home menu!

CSPAN1:
rtmp://cp82346.live.edgefcs.net:1935/live playpath=CSPAN1@14845 swfUrl="http://www.c-span.org/cspanVideoHD.swf" pageURL="http://www.c-span.org/Live-Video/C-SPAN/" swfVfy=true live=true

CSPAN2:
rtmp://cp82347.live.edgefcs.net:1935/live playpath=CSPAN2@14846 swfUrl="http://www.c-span.org/cspanVideoHD.swf" pageURL="http://www.c-span.org/Live-Video/C-SPAN2/" swfVfy=true live=true

CSPAN3:
rtmp://cp82348.live.edgefcs.net:1935/live playpath=CSPAN3@14847 swfUrl="http://www.c-span.org/cspanVideoHD.swf" pageURL="http://www.c-span.org/Live-Video/C-SPAN3/" swfVfy=true live=true

CNN Live Stream 2 (arabic):
rtmp://cp44679.live.edgefcs.net/live playpath=cnn_stream2_low@2787 swfUrl="http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf" pageURL="http://www.cnn.com/video/flashLive/live.html?stream=2" swfVfy=true live=true

Tried getting CNN Live Stream 1 - all I was getting was a black screen - someone else want to take a whack at it?
Image
Image
Image
#3
The following, in addition to Travelling Guy's explanation, was my Rosetta stone:

-w <=> swfUrl=
-p <=> pageURL=
-y <=> playpath=
-a <=> app=

XBMC Version:
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
--------------------------------------------

Original from Reddit
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="
| mplayer -
#4
Valid RTMP options in XBMC (pulled from debug log):

In bold, the parameter by name. Followed by the type, then the definition.

So, immediately below - socks is the parameter, which takes a string type. It defines the specified SOCKS proxy.

socks string
Use the specified SOCKS proxy
app string
Name of target app on server
tcUrl string
URL to played stream
pageUrl string
URL of played media's web page
swfUrl string
URL to player SWF file
flashver string
Flash version string (default WIN 10,0,32,18)
conn AMF
Append arbitrary AMF data to Connect message
playpath string
Path to target media on server
playlist boolean
Set playlist before play command
live boolean
Stream is live, no seeking possible
subscribe string
Stream to subscribe to
token string
Key for SecureToken response
swfVfy boolean
Perform SWF Verification
swfAge integer
Number of days to use cached SWF hash
start integer
Stream start position in milliseconds
stop integer
Stream stop position in milliseconds
buffer integer
Buffer time in milliseconds
timeout integer
Session timeout in seconds
#5
Hello guys, I'm trying to watch a live stream that I'm creating from FMLE (flash media live encoder) to FMS (flash media server) on XBMC.
So I created a .strm file with the following parameter "rtmp://186.204.21.137/live/pedro"
But it does not work.
is that possible? how can I play RTMP on XBMC?
thank you in advance.
#6
Anybody has tried these live feeds posted on reddit?



cnn live stream 1 (Al Masriya yesterday, Nile TV today)

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream1_low@2785 -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=1 | mplayer -

cnn live stream 2

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream2_low@2787 -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=2 | mplayer -

cnn live stream 3

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=3 -y cnn_stream3_low@2796 | mplayer -

cnn live stream 4 (al Masriya today)

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=4 -y cnn_stream4_low@2797 | mplayer -
#7
I'm trying to convert an rtmpdump into code (strm file) that XBMC can understand, however I'm still very puzzled on the actual conversion process. TravellingGuy's earlier post was helpful, but I still am having trouble understanding the conversion process.

I have found 2 rtmpdump streams for Al Jazeera Arabic on another website (first one very high quality & the second medium to high quality). See code below.

Code:
rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljazeera_ar_veryhigh" -a "aljazeeraflashlive-live" -o -| mplayer -

Code:
rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y  "aljazeera_ar_high" -a "aljazeeraflashlive-live" -o -| mplayer -

Can someone please convert these into code that XBMC can understand, but more importantly explain how the actual conversion is done?
#8
bodhi Wrote:Anybody has tried these live feeds posted on reddit?



cnn live stream 1 (Al Masriya yesterday, Nile TV today)

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream1_low@2785 -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=1 | mplayer -

cnn live stream 2

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream2_low@2787 -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=2 | mplayer -

cnn live stream 3

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=3 -y cnn_stream3_low@2796 | mplayer -

cnn live stream 4 (al Masriya today)

rtmpdump -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/app...Player.swf -p http://www.cnn.com/video/flashLive/live.html?stream=4 -y cnn_stream4_low@2797 | mplayer -

I saw those ones on Reddit, but I couldn't get them to work, even with mplayer.
#9
ezcashman Wrote:I'm trying to convert an rtmpdump into code (strm file) that XBMC can understand, however I'm still very puzzled on the actual conversion process. TravellingGuy's earlier post was helpful, but I still am having trouble understanding the conversion process.

I have found 2 rtmpdump streams for Al Jazeera Arabic on another website (first one very high quality & the second medium to high quality). See code below.

Code:
rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljazeera_ar_veryhigh" -a "aljazeeraflashlive-live" -o -| mplayer -

Code:
rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y  "aljazeera_ar_high" -a "aljazeeraflashlive-live" -o -| mplayer -

Can someone please convert these into code that XBMC can understand, but more importantly explain how the actual conversion is done?

Hey ezcashman.

Put this into a whatever.strm file and then select it in XBMC:
Code:
rtmp://livestfslivefs.fplive.net/livestfslive-live/ playpath=aljazeera_ar_veryhigh app=aljazeeraflashlive-live live=true

The explanation of the actual conversion was shown above, in my original post. Take a look at what I've done here with the veryhigh feed, and it should make sense. :-)
#10
Thanks for your assistance TravellingGuy. I reviewed previous posts and looked over how you did the conversions and I was able to figure it out.

I was able to convert another one I was interested in, Bloomberg TV USA to an XBMC address. I saw the code posted on reddit
http://www.reddit.com/r/linux/comments/f...t?sort=hot

The XBMC compatible address I was able to get from this:
Code:
##Bloomberg TV
alias btv="rtmpdump -v -r rtmpt://cp87869.live.edgefcs.net:1935/live \
-a live \
-y us_300@21006 \
-W http://cdn.gotraffic.net/v/20110210_153738//flash/BloombergMediaPlayer.swf \
-p http://www.bloomberg.com/tv/ \
| vlc -"
was this:
Code:
rtmpt://cp87869.live.edgefcs.net:1935/live/ playpath=us_300@21006 pageURL=http://www.bloomberg.com/tv/ app=live swfUrl=http://cdn.gotraffic.net/v/20110210_153738//flash/BloombergMediaPlayer.swf swfVfy=true live=true

Something I should point out, although the Bloomberg TV stream does work, it sometimes locks up and/or just stops playing. I'm not sure if I made a minor error or not in the conversion process, but maybe someone else can see something that I may have missed.
#11
TravellingGuy Wrote:Specific Examples
Here are some specific examples. These are the URL's (with paramaters) you'll want to put in your .strm file.

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

Thanks for the tips and links. Aljazeera and ISS work fine but the RT News doesnt seem to work. Am I supposed to alter the code or does it work as it is?
#12
These are the News channels that I was able to get to work on XBMC. It's quite a collection now!

Press TV
Code:
rtmp://presstv.fc.llnwd.net/presstv/PressTV swfUrl=http://www.presstv.ir/live/llnw/LLNWPlayer.swf playpath=PressTV app=PressTV live=true

Al-Alam
Code:
rtmp://184.107.48.217/live swfUrl=http://www.alalam-news.com/sites/www.alalam-news.com/modules/alalam_flowplayer/flowplayer.commercial-3.2.2.swf playpath=alalam1 app=live live=true

RT English
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

RT Arabic
Code:
rtmp://russiatoday.fms.visionip.tv/rt/Russia_al_yaum_1000k_1 app=rt/Russia_al_yaum_1000k_1 swfUrl=http://arabic.rt.com/style/liveplayer.swf pageURL=http://arabic.rt.com/live_high playpath=1000k_1 live=true

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

If someone can get the code for Euronews that would be great. I cannot seem to get the RTMP URL Sad

http://www.euronews.net/news/streaming-live
#13
Has anyone had any luck getting the cnn live feeds to work?

Also another great url atm to get working in XBMC would be NHK World broadcast which is covering the Japan tragedy.

http://www3.nhk.or.jp/nhkworld/r/movie/ is the link for the flash.

thanks
#14
Have you considered setting up a repository on Github or Sourceforge to maintain the .strm files?

JR
#15
danfred Wrote:NHK World
Code:
rtmp://175.41.168.21:1935/2e2cd playpath=nhkworldhd.sdp swfUrl="http://www3.nhk.or.jp/nhkworld/r/movie/fivecool_player.0.3.6.2.swf" pageUrl="http://www3.nhk.or.jp/nhkworld/r/movie/" swfVfy=true live=true

BBC World

Thanks for the info, Ill give that a try when home from work..

Update: rule works great for NHK in Japan, thankx....My heart goes out to the people of Japan atm with what you are enduring. Everyone I know in the US are praying for them...
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 12

Logout Mark Read Team Forum Stats Members Help
HOW-TO Play Live TV/Internet Video in XBMC (including some sample streams!)4