XBMC Community Forum
LiveStream Requests and XML Listings - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: LiveStream Requests and XML Listings (/showthread.php?tid=120418)



- djtulan - 2012-02-21 00:20

@wired_: thx, that helped me a lot !!!!


- dtsexpert - 2012-02-21 04:39

anyone with a mac, kindly please help
thanks,
dtsexpert Wrote:Hi,
I am able to figure out all Vienamese channels at tv24.vn, they play fine on the ATV2.
Here is the "odd" thing. This site tv24.vn does work on Iphone, Ipad, what I mean is the iphone/ipad is able to play video on the this site, so this mean is this site has 2 server, one is flash for OS that can play the flash, the other is for IOS.
When I use the iphone 4s to play the stream, then airplay to stream it back to the AppleTV, the quality is better than flash stream.
So to make it short, if you have Apple PC/Laptop, would you use your iOS machine to get the stream. Just get one so we can compare with the Flash one. I bet the IP is different.
If we can get stream from the 2nd server for the iOS, it will be great since the quality is better.
Thanks,



link works on XBMC PC but not on ATV2 - antar - 2012-02-21 06:19

deleted


- djtulan - 2012-02-21 10:21

wired_ Wrote:You only need the complete stream URL, no swfUrl etc. needed.

The baseUrl for the stream appears to be rtmp://cp112898.edgefcs.net/ondemand/mp4:
(there could be more than one, of course)

Now for every clip ID (in your example 2200022), there's a streaming/video ID. This you find in the JSON info.

So for clip ID=2200022, the stream URL is:
rtmp://cp112898.edgefcs.net/ondemand/mp4:2296491

Hope that helps a little. Smile

First thx for your help.
I have some questions, because it don't work for all streams.
How can I get the correct rtmp? Do I need to look with wireshark or similar?
Than I have a question about number of streams. If I get e.g. this kind of JSON: http://atv.at/getclip/2152383 it have 4 Streaming IDs streaming_ids: [2248454, 2248447, 2248442, 2248395], but one video ID video: 2248454. Do I have to play a playlist?

thx in advance and greets,
Tulan


- nikc0069 - 2012-02-21 10:59

If anyone can tell me how to get this stream on this page working I would be immensely thankful. I read somewhere it needs a modified librtmp to work but I tried creating a .strm file with my rtmp trace in it which was undoubtedly wrong and it didn't work.

http://weeb.tv/channel/tvn24


- GSMRULES - 2012-02-21 12:54

yacir Wrote:this is working for me ... not sure it would wok if they change the numbers in future

<item>
<title>test</title>
<thumbnail></thumbnail>
<link>rtmp://stream-18.dailymotion.com:1935/live-dm?auth=1329677603-3301266000b41236fd03dbf823ca63ad playpath=xio7e2?auth=1329677603-3301266000b41236fd03dbf823ca63ad swfUrl="http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod.swf.v0e6d5de14aee61b02" pageUrl=http://www.dailymotion.com/video/xio7e2_globovision-en-vivo_news</link>
</item>

I came up with a similar XML; however I'll try it today and let you know.

Thanks!


- GSMRULES - 2012-02-21 15:48

GSMRULES Wrote:I came up with a similar XML; however I'll try it today and let you know.

Thanks!

Sorry, tried again but didn't work. By the way I'm using ATV2, not sure whether I need to take into account anything else. When I press to start the stream, the icon on the lower right corner says "working", then nothing happens and at the end a message appears on the screen: "one or more items failed to play, check the log file for details"

The log shows:

14:43:15 T:103444480 NOTICE: DVDPlayer: Opening: rtmp://stream-17.dailymotion.com:1935/live-dm?auth=1329579740-3516afbc8e8070cf08d5d2d0ff6c52a2 app=live-dm?auth=1329579740-3516afbc8e8070cf08d5d2d0ff6c52a2 swfUrl="http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod.swf.v0e6d5de14aee61b02" pageUrl="http://www.dailymotion.com/video/xio7e2_globovision-en-vivo_news?start=2#from=embediframe" swfVfy=true live=true
14:43:15 T:103444480 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:43:15 T:131088384 NOTICE: Creating InputStream
14:43:15 T:131088384 ERROR: RTMP_HashSWF: couldn't contact swfurl "http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod.swf.v0e6d5de14aee61b02" (HTTP error -1)
14:43:15 T:131088384 ERROR: Closing connection: NetStream.Play.Failed
14:43:15 T:131088384 ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://stream-17.dailymotion.com:1935/live-dm?auth=1329579740-3516afbc8e8070cf08d5d2d0ff6c52a2 app=live-dm?auth=1329579740-3516afbc8e8070cf08d5d2d0ff6c52a2 swfUrl="http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod.swf.v0e6d5de14aee61b02" pageUrl="http://www.dailymotion.com/video/xio7e2_globovision-en-vivo_news?start=2#from=embediframe" swfVfy=true live=true]
14:43:15 T:131088384 NOTICE: CDVDPlayer::OnExit()
14:43:15 T:131088384 NOTICE: CDVDPlayer::OnExit() deleting input stream
14:43:15 T:103444480 ERROR: Playlist Player: skipping unplayable item: 0, path [rtmp://stream-17.dailymotion.com:1935/live-dm?auth=1329579740-3516afbc8e8070cf08d5d2d0ff6c52a2 app=live-dm?auth=1329579740-3516afbc8e8070cf08d5d2d0ff6c52a2 swfUrl="http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod.swf.v0e6d5de14aee61b02" pageUrl="http://www.dailymotion.com/video/xio7e2_globovision-en-vivo_news?start=2#from=embediframe" swfVfy=true live=true]
14:43:15 T:103444480 NOTICE: CDVDPlayer::CloseFile()
14:43:15 T:103444480 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:43:15 T:103444480 NOTICE: DVDPlayer: waiting for threads to exit
14:43:15 T:103444480 NOTICE: DVDPlayer: finished waiting

Any ideas? :confused2:

Thanks!


- wired_ - 2012-02-21 21:47

djtulan Wrote:First thx for your help.
I have some questions, because it don't work for all streams.
How can I get the correct rtmp? Do I need to look with wireshark or similar?

I use 1. Stream Transport and 2. URLsnooper to get the rtmp address.

djtulan Wrote:Than I have a question about number of streams. If I get e.g. this kind of JSON: http://atv.at/getclip/2152383 it have 4 Streaming IDs streaming_ids: [2248454, 2248447, 2248442, 2248395], but one video ID video: 2248454. Do I have to play a playlist?

thx in advance and greets,
Tulan

Could you post the actual page address of this clip (2152383)?
So I may take a look at it. Smile

Two additional things I found out:

There seems to be another baseURL for the streams: rtmp://cp112899.edgefcs.net/ondemand/mp4:,
and not all clips appear to be streamed via rtmp.

As this one e.g.: http://atv.at/static/assets/tvnext_clip/video/1884969.mp4

Works great in VLC. Thus said, we could assume that while being geo-blocked on their site (as this old "Bauer sucht Frau" clip is), the raw streams are not geo-blocked. At least the http:// - streams... Wink


- djtulan - 2012-02-22 00:50

@wired_:

Thank you very much for your help!
I found now some interesting xmls. (google search)

http://atv.at/flash/playcenter/main/conf/config.xml
http://atv.at/flash/EmbedPlayer/main/conf/config.production.xml

I guess they have configured only 2 streaming server, which you have already found out.

Last one (rtmp://cp112899.edgefcs.net/ondemand/mp4Smile works for the other streams, which didn't work.
So i can test both for playing the videos.

Smile

I can finish my addon


Romanian TV channels - adysor - 2012-02-22 05:33

how can I extract the links for atv from this site.
http://www.dolcetv.ro/#tv-live