Rtmp Plugin Stream
#1
Can someone help me create a plugin that will scrape the following page http://3242.a.hostable.me/file.html and then return the rtmp parameters in order for it to play in xbmc. Can someone help me?

Thank You In Advance
Reply
#2
How can I catch the rtmp parameters from such a page within a python script?
Reply
#3
Found this by looking at web page source:

http://embed.zonein.tv/plkgftdhgfhydfyha...=630&h=354
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply
#4
from my VideoDevil cfg for MyP2P:

%s contains channelid

########################################################
# ZoneIn - Videos
########################################################
item_infos=<a href="http://embed.zonein.tv/[^\?]+\?id=([^&]+)
...
item_url_build=rtmp://68.68.31.46:1935/%s?doPlay=a/ playpath=zonein swfurl=http://cdncdn.zonein1.com/kikikili.swf
Reply
#5
How can i incorporate this
http://embed.zonein.tv/plkgftdhgfhyd...70&w=630&h=354 in a plugin or the zone in plugin. The page has a player embedded but the rtmp streams
Quote:rtmp://68.68.31.46:1935/
changes daily so i want to capture it from within a script which I can add the channel id such as http://www.zonein.tv/333670 from within an external settings.xml or something similar so I won't have to change the rtmp streams daily

Today the rtmp address changed to rtmp://208.53.158.159:1935/333670 from rtmp://68.68.31.46:1935/ so I am guessing that this problem applies to videodevil also.
Reply
#6
Hm, it's still working for me with this ip.
Reply
#7
I tried it with the rtmp stream that the videodevil plugin has and I have had to change it daily by sniffing it from the webpage above and I would like to create a script which keeps me from having it to change it on those streams.
Reply
#8
What can we do about these kind of streams? How can we capture the rtmp parameters from the player embedded in the page?

Thank You In Advance Everyone
Reply
#9
The problem I've found with those Zonein streams is the RTMP address that you are able to finally track down via HTML is then redirected to one of their IP addresses

If you keep following the links of that page in the source of the html you will finally come to a page that has this:

Code:
<param name="allowfullscreen" value="true"/>
<param name="allowscriptaccess" value="always"/>
<param name="wmode" value="transparent" />
<param name="FlashVars" VALUE="bufferlength=2&srp=20&file=rtmp://zonein.tv/stream&id=zonein&autostart=true&cod=333670&logo=http://www.zonein.tv/images/l.png&link=http://www.zonein.tv&displayclick=link&cid=333670">

Notice the RTMP url, when you track playing this video with something like Coojah you will see it comes from an IP address instead, so that means it's doing a redirect.. if you try to use this RTMP address you will see in the XBMC logs a redirect reported and to where

But librtmp/rtmpdump currently does not support redirects
Reply
#10
I see

What solutions can we come up in regards to this problem. Is it possible to embed the player in a webpage or possibly grab the redirected url like I do in methods of a script. If rtmpdump supported redirects, I could just use

Quote:rtmp://zonein.tv/stream&id=zonein&autostart=true&cod=333670&logo=http://www.zonein.tv/images/l.png&link=http://www.zonein.tv&displayclick=link&cid=333670

to play the stream? What else can you guys think of? How does videodevil play the streams just using the channel id? How can I incorporate that same code in a different script to specify the channel id's and be able to play them?
Reply
#11
scriptdeveloper Wrote:I see

What solutions can we come up in regards to this problem. Is it possible to embed the player in a webpage or possibly grab the redirected url like I do in methods of a script. If rtmpdump supported redirects, I could just use



to play the stream? What else can you guys think of? How does videodevil play the streams just using the channel id? How can I incorporate that same code in a different script to specify the channel id's and be able to play them?

I've asked about RTMP redirects just a few days ago:
http://forum.xbmc.org/showthread.php?tid=99157

As already mentioned, Video Devil is using a hard coded IP address to play it, Zonein seems to flip flop between a few of them but they all appear to work

Real solution is to see if the librtmp guys can include redirect support
Reply
#12
Isn't there a way to embed the stream within a webpage and load it through xbmc? Until the librtmp developers can support redirect, I am guessing thats the way to go. Or if we could grab the final rtmp plugin parameters once the page loads the player using a way in Python then we could be successful at getting this to work without using a random array. The same stream could change Ip Addresses and we would't have to worry if we got the rtmp values at the end instead of beforehand.

Thanks For All Your Help Guys
Reply

Logout Mark Read Team Forum Stats Members Help
Rtmp Plugin Stream1