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 audio and video online. Audio and video downloads. > Playing online streaming in media players
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-30-2012, 11:07 AM
gallina94 gallina94 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 15
gallina94 is on a distinguished road
Default

RTMPDUMP and TOKEN


Hi all,
trying to get stream from www.mitele.es/direct/cuatro and i get these parameters
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app: telecincolive-live
flashVer: LNX 11,2,202,228
swfUrl: http://static1.tele-cinco.net/comun/...ayerMitele.swf
tcUrl: rtmp://telecincolivefs.fplive.net/telecincolive-live
pageUrl: http://www.mitele.es
Playpath: telecincochannel4_800k?token=c3RhcnRfdGltZT0yMDEyM DQzMDEzMDUxNyZlbmRfdGltZT0yMDEyMDQzMDEzMDczNyZkaWd lc3Q9ZWU1ZjQxNDczMzBjODRhZDcyYzk1Nzc3ZjZhZmIzOWM=
Saving as: telecincochannel4_800k

But when i try to use rtmpdump in this way:
rtmpdump -r "rtmp://telecincolivefs.fplive.net/telecincolive-live" -a "telecincolive-live" -f "LNX 11,2,202,228" -W "http://static1.tele-cinco.net/comun/swf/playerCuatro.swf" -p "http://www.mitele.es" -y "telecincochannel4_800k?token=c3RhcnRfdGltZT0y MDEy MDQzMDEzMDUxNyZlbmRfdGltZT0yMDEyMDQzMDEzMDczNyZkaW dlc3Q9ZWU1ZjQxNDczMzBjODRhZDcyYzk1Nzc3ZjZhZmIzOWM= " -v

i get RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Failed


I think the problem is the token.
Anyone can help me?

Thanks
Reply With Quote
  #2  
Old 04-30-2012, 04:41 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: RTMPDUMP and TOKEN


Quote:
I think the problem is the token.
Anyone can help me?
use rtmpsusk
Reply With Quote
  #3  
Old 05-01-2012, 01:45 AM
gallina94 gallina94 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 15
gallina94 is on a distinguished road
Default

Re: RTMPDUMP and TOKEN


Quote:
Originally Posted by chap View Post
use rtmpsusk
i used rtmpsuck to get all the following parameters:

app: telecincolive-live
flashVer: LNX 11,2,202,228
swfUrl: http://static1.tele-cinco.net/comun/...ayerMitele.swf
tcUrl: rtmp://telecincolivefs.fplive.net/telecincolive-live
pageUrl: http://www.mitele.es
Playpath: telecincochannel4_800k?token=c3RhcnRfdGltZT0yMDEyM DQzMDEzMDUxNyZlbmRfdGltZT0yMDEyMDQzMDEzMDczNyZkaWd lc3Q9ZWU1ZjQxNDczMzBjODRhZDcyYzk1Nzc3ZjZhZmIzOWM=
Saving as: telecincochannel4_800k


But whe i use rtmpdump with the parameters got with rtmpsuck i get netstream.failed

I think the problem is the token, but not sure.
Reply With Quote
  #4  
Old 05-02-2012, 03:15 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: RTMPDUMP and TOKEN


Quote:
Originally Posted by gallina94 View Post
i used rtmpsuck to get all the following parameters:

app: telecincolive-live
flashVer: LNX 11,2,202,228
swfUrl: http://static1.tele-cinco.net/comun/...ayerMitele.swf
tcUrl: rtmp://telecincolivefs.fplive.net/telecincolive-live
pageUrl: http://www.mitele.es
Playpath: telecincochannel4_800k?token=c3RhcnRfdGltZT0yMDEyM DQzMDEzMDUxNyZlbmRfdGltZT0yMDEyMDQzMDEzMDczNyZkaWd lc3Q9ZWU1ZjQxNDczMzBjODRhZDcyYzk1Nzc3ZjZhZmIzOWM=
Saving as: telecincochannel4_800k


But whe i use rtmpdump with the parameters got with rtmpsuck i get netstream.failed

I think the problem is the token, but not sure.
I think they use second security system which needs to be done into rtmpdump and the only man on this forum who is able to analyze and do that is KSV. ;-)
Reply With Quote
  #5  
Old 05-02-2012, 03:51 AM
gallina94 gallina94 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 15
gallina94 is on a distinguished road
Default

Re: RTMPDUMP and TOKEN


Quote:
Originally Posted by karlo2105 View Post
I think they use second security system which needs to be done into rtmpdump and the only man on this forum who is able to analyze and do that is KSV. ;-)
So let's wait.... KSV if you read this, please tell us something.....
Reply With Quote
  #6  
Old 05-02-2012, 11:17 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: RTMPDUMP and TOKEN


there aren't any special tricks used by website. it only uses a unique expiring token which many sites normally do. token is only valid for 2 minutes 20 seconds after which you need to grab new token. player sends following request to server and server provides tokenized url.

Code:
http://servicios.telecinco.es/tokenizer/tk3.php
POST Data:
Code:
id=cuatro&startTime=0&endTime=0&directo=wnEDAEVFRUWZFUD0WA+xIY2OlZvM47JMyKrnL+g=
Server Response:
Code:
<?xml version="1.0" encoding="utf-8"?>
<url>
  <file>telecincochannel4_800k?token=c3RhcnRfdGltZT0yMDEyMDUwMjEyMDczOSZlbmRfdGltZT0yMDEyMDUwMjEyMDk1OSZkaWdlc3Q9YzI1MTU3OGVjNWFiZjIxZTM0ZWYxMTU3M2UyNWMzODk=</file>
  <stream>rtmp://telecincolivefs.fplive.net/telecincolive-live</stream>
</url>
to make the request from your script you need to calculate the hash highlighted above in blue. AES-CTR is used to encrypt following data and then result is encoded by base64.

Data:
Code:
1335960574;cuatro;0;0
first argument is server timestamp. second is channel name. third and fourth argument is start time and end time respectively.

Encryption Key:
Code:
xo85kT+QHz3fRMcHMXp9cA
Sample Reference for AES-CTR implementation:
Code:
http://www.movable-type.co.uk/scripts/aes.html
Reply With Quote
  #7  
Old 06-11-2012, 01:56 AM
WCKicksAss WCKicksAss is offline
Junior Member
 
Join Date: Jun 2012
Posts: 12
WCKicksAss is on a distinguished road
Default

Re: RTMPDUMP and TOKEN


im trying to figure out how to get tokens and shit, cuz thats how people are trying to protect but It cant end like that! So, their is a program rtmpsuck that will find it for me? Is this true?
Reply With Quote
  #8  
Old 08-04-2014, 01:17 AM
rvindell82 rvindell82 is offline
Junior Member
 
Join Date: Aug 2014
Posts: 16
rvindell82 is on a distinguished road
Default

Re: RTMPDUMP and TOKEN


damn reading KSV answer really makes someone trying to figure out how to do this give up, jesus they have put a lot of work into countering stream ripping having the server change the key every 2 minutes
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 01:30 PM.


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