Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
HDSTREAMS.TV Challenge!I develop plugins for Serviio, that extract the rtmp urls of the live streams used by many web sites from their flashvars, and allow those streams to be played on DLNA devices such as TV's and Tablets.
Since some of those urls contain time dependent keys, serviio includes support to reextract the urls and obtain the current key just before a stream is played. To date I have not had a site that I could not decode, and with KSV's mods all streams play successfully. Recently a new site hdstreams.tv has replaced igoal.tv (using servers at kbps.tv and cast247.tv) and despite the above, the keys extracted from the flashvars all fail and the stream url's will not play. I am able to obtain the correct url and key by playing a stream in the browser using hidownloader, and by reformatting it and playing with rtmpdump-ffplay I have confirmed that the url is correct and that the key remains valid for a few minutes, and that it will play with KSV's rtmplib. (see debug output works1 and works2 attached) However, when the same url format is extracted by my plugin and played within seconds, it fails. (see second debug output fails attached) Perhaps the key is being transposed from the value obtained by my plugin from the flashvars, but unfortunately Wireshark does not display the RTMP "connect" command when the streams from this site are played as it does for many sites,(can anyone explain why?), so I cannot verify that. At this point I am stumped and would offer this a challenge to those of you in the same game. THE COMMAND Code:
rtmpdump.exe -r "rtmp://12445055.cast247.tv:443/live" -y "skysp1?ticket=4fbbc88ce114f871874decfed41af24e" -W "http://www.cast247.tv/swf/player.swf" -p "http://www.cast247.tv/embed.php?channel=skysp1&width=474&height=350&domain=www.kbps.tv" -z -m 15 | ffplay.exe -i - |
#2
|
|||
|
|||
Re: HDSTREAMS.TV Challenge!you might need to load the full page before the stream actually works ( background ajax requests and whatever )
|
#3
|
|||
|
|||
Re: HDSTREAMS.TV Challenge!Thanks to @blimey for his response and the solution. Strangely it appeared in my mailbox but it does not appear in this forum thread.
His response was [code]the rtmp url (even with new key) is not active unless the t.php url (with its own key) is requested first. First one I have seen that works like this. Last edited by jhb50 : 06-13-2014 at 03:04 PM. |
Tags: rtmpdump |
Thread Tools | |
Display Modes | |
|
|