Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-12-2014, 03:04 PM
jhb50 jhb50 is offline
Member
 
Join Date: Nov 2011
Posts: 54
jhb50 is on a distinguished road
Default

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 -
Attached Files
File Type: txt works1.txt (8.3 KB, 0 views)
File Type: txt works2.txt (13.4 KB, 0 views)
File Type: txt fails.txt (12.5 KB, 0 views)
Reply With Quote
  #2  
Old 06-12-2014, 03:56 PM
mckv mckv is offline
Senior Member
 
Join Date: Mar 2011
Posts: 104
mckv is on a distinguished road
Default

Re: HDSTREAMS.TV Challenge!


you might need to load the full page before the stream actually works ( background ajax requests and whatever )
Reply With Quote
  #3  
Old 06-13-2014, 09:15 AM
jhb50 jhb50 is offline
Member
 
Join Date: Nov 2011
Posts: 54
jhb50 is on a distinguished road
Default

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.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:11 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons