View Single Post
  #1  
Old 04-11-2011, 05:52 PM
Eldorado Eldorado is offline
Junior Member
 
Join Date: Apr 2011
Posts: 15
Eldorado is on a distinguished road
Default

Download streams from Seeon.tv


I'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
The values from which I easily pulled from CooJah:
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
Though the html from the website shows me this for the rtmp url
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>
I'm still learning and trying to figure out how the above html translates into what Coojah (and others) shows me - and works

Notice how the RTMP url is different:
Code:
rtmp://live00.seeon.tv/redirect
I tried running the link thru RTMPexplorer and the rtmpdump command it attemped, and failed, on basically what I would have used based on what I see in the html:
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
So can anyone give me some help on how the rtmp url translates? Can I find this out via scripting, or is a sniffer app required?

Is there something in the html that I'm missing?
Reply With Quote