Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Download streams from Seeon.tvI'm having trouble parsing out the proper rtmp link from the html from channels on this site - _www.seeon.tv
In the end I would like to write a script against the site to automatically pull the rtmp links and play them in XBMC I am able to get it to download fine with rtmp dump with the following: Code:
rtmpdump -r "rtmp://live4.seeon.tv/edge" -y "0icej868dte1vdx" -W "http://www.seeon.tv/jwplayer/player.swf" -p "http://www.seeon.tv/view/161/Comedy_Guy" -o test.flv Code:
url: rtmp://live4.seeon.tv/edge/0icej868dte1vdx app: edge flashVer: WIN 10,1,85,3 pageUrl: http://www.seeon.tv/view/161/Comedy_Guy swfUrl: http://www.seeon.tv/jwplayer/player.swf tcUrl: rtmp://live4.seeon.tv/edge playPath: 0icej868dte1vdx From page - Code:
http://www.seeon.tv/view/161/Comedy_Guy Code:
<object width="640" height="480" id="dplayer" type="application/x-shockwave-flash" data="http://www.seeon.tv/jwplayer/player.swf"> <param name="movie" value="http://www.seeon.tv/jwplayer/player.swf"></param> <param name="allowscriptaccess" value="always"></param> <param name="wmode" value="opaque"></param> <param name="allowfullscreen" value="true"></param> <param name="flashvars" value="&streamer=rtmp%3A%2F%2Flive00.seeon.tv%2Fredirect&file=0icej868dte1vdx.flv&autostart=true"></param> <embed name="dplayer" wmode="opaque" src="http://www.seeon.tv/jwplayer/player.swf" width="640" height="480" wmode="opaque" allowscriptaccess="always" allowfullscreen="true" flashvars="&streamer=rtmp%3A%2F%2Flive00.seeon.tv%2Fredirect&file=0icej868dte1vdx.flv&autostart=true" /></embed> </object> Notice how the RTMP url is different: Code:
rtmp://live00.seeon.tv/redirect Code:
rtmpdump -r "rtmp://live00.seeon.tv/redirect" -a "redirect" -f "WIN 10,0,45,2" -W "http://www.seeon.tv/jwplayer/player.swf" -p "http://www.seeon.tv/view/161/Comedy_Guy" -y "0icej868dte1vdx" -o 0icej868dte1vdx.flv Is there something in the html that I'm missing? |
#2
|
|||
|
|||
Re: Download streams from Seeon.tvIt's simple. when you use the rtmp parameters from html server sends a 302 redirect AMF packet which contains the new url.
Code:
Property: <Name: level, STRING: error> Property: <Name: code, STRING: NetConnection.Connect.Rejected> Property: <Name: description, STRING: Connection failed: Application rejected connection.> Property: <Name: ex, OBJECT> Property: <Name: redirect, STRING: rtmp://live4.seeon.tv:1935/edge> Property: <Name: code, NUMBER: 302.00> |
#3
|
|||
|
|||
Re: Download streams from Seeon.tvAh crap, the word "redirect" in that link didn't ring a bell for me the first time
Is that output from your rtmpdump? I'm looking for a way to capture this redirected url via a script, any tips? |
#4
|
|||
|
|||
Re: Download streams from Seeon.tvMost probably it returns the same host and app parameter for all urls. if it is the case then use these two parameters statically and parse other parameters from html file. if server returns different url for other streams then parse the output of rtmpdump to get host and app parameter.
if you know programming it will be better to modify rtmpdump to handle redirects automatically. |
#5
|
|||
|
|||
Re: Download streams from Seeon.tvIt seems to be possibly random in the url's it redirects to, but still fairly static
rtmp://live#.seeon.tv:1935/edge Where the # seems to vary between 1-7 and any # in that range seems to work at all times no matter what the redirect returns I just hate hard coding and hoping to find a dynamic way of grabbing it Now modifying rtmpdump.. hmm... |
#6
|
|||
|
|||
Re: Download streams from Seeon.tvcan rtmpsusk help you with this?
|
Tags: coojah, redirect, rtmp, rtmp explorer, rtmp redirect, rtmp seeontv, rtmpdump, see on tv, seeon tv |
Thread Tools | |
Display Modes | |
|
|