Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

chaturbate.com: SecureToken problems

(http://stream-recorder.com/forum/showthread.php?t=10869)

AmazingMatze 01-27-2013 10:10 PM

Re: chaturbate.com: SecureToken problems


 
Code:

rtmpdump
-v
-r "rtmpe://XXXX/live-edge"
-a "live-edge"
-f "WIN 11,5,502,146"
-W "http://XXXX/static/flash/CBV_2p632.swf"
-p "http://XXXX/XXXX"
-C S:XXXX                [USERNAME]
-C S:XXXX                [MODEL_NAME]
-C S:2.632                [SWF_VERSION]
-C S:XXXX                [PW_HASH]
-C S:XXXX                [OPTIONAL_HASH]
-y "playpath"
-T "m9z#$dO0qe34Rxe@sMYxx%"
-o "XXXX.flv"

I got bored and wrote (just like user savanna suggested) a little javascript that will retrieve the above parameters (XXXX) from the website itself. Just put it as a bookmark in Firefox.

Code:

javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");alert('rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+'/static/flash/CBV_2p632.swf" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:2.632 -C S:'+prm[25]+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');
// I changed it a little bit. This one also retrieves the SwfUrl and the SwfVersion:

Code:

javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");swfUrl=document.getElementsByTagName('object')[0].getAttribute('data');swfVers=swfUrl.replace("_",".").split(".");swfVers=swfVers[1];swfVers=swfVers.split("p");prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+swfUrl+'" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:'+swfVers[0]+'.'+swfVers[1]+' -C S:'+prm[25]+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');reload();

CristianoA 01-28-2013 06:36 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by AmazingMatze (Post 59142)
Code:

rtmpdump
-v
-r "rtmpe://XXXX/live-edge"
-a "live-edge"
-f "WIN 11,5,502,146"
-W "http://XXXX/static/flash/CBV_2p632.swf"
-p "http://XXXX/XXXX"
-C S:XXXX                [USERNAME]
-C S:XXXX                [MODEL_NAME]
-C S:2.632                [SWF_VERSION]
-C S:XXXX                [PW_HASH]
-C S:XXXX                [OPTIONAL_HASH]
-y "playpath"
-T "m9z#$dO0qe34Rxe@sMYxx%"
-o "XXXX.flv"

I got bored and wrote (just like user savanna suggested) a little javascript that will retrieve the above parameters (XXXX) from the website itself. Just put it as a bookmark in Firefox.

Code:

javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");alert('rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+'/static/flash/CBV_2p632.swf" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:2.632 -C S:'+prm[25]+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');

great work thanks :D

Cbater 01-29-2013 05:32 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by Humbug (Post 59072)
I'm sure this works fine but with those parameters you are only able to grab public shows. However the guys are right they did change things up again for password/ private rooms. There were a couple of scripts out there that used your 2.4 version of rtmpdump and the original 2.3. It uses findstr via a txt file in the -v parameter to figure out the variables like the token (sorry for the weird explanation, hope you know what I mean).

yes! it only works with public shows. password/private rooms dont work anymore :(

AmazingMatze 01-29-2013 06:13 PM

Re: chaturbate.com: SecureToken problems


 
I just wanted to add the latest addition to my Bookmarklet. The necessary replacements for the password hash. Although this is probably not working for private rooms anymore.

Code:

javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");swfUrl=document.getElementsByTagName('object')[0].getAttribute('data');swfVers=swfUrl.replace("_",".").split(".");swfVers=swfVers[1];swfVers=swfVers.split("p");prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+swfUrl+'" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:'+swfVers[0]+'.'+swfVers[1]+' -C S:'+prm[25].replace(/\$/g,"^$")+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');reload();

jimbob9 01-31-2013 04:07 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by AmazingMatze (Post 59243)
I just wanted to add the latest addition to my Bookmarklet. The necessary replacements for the password hash. Although this is probably not working for private rooms anymore.

Code:

javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");swfUrl=document.getElementsByTagName('object')[0].getAttribute('data');swfVers=swfUrl.replace("_",".").split(".");swfVers=swfVers[1];swfVers=swfVers.split("p");prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+swfUrl+'" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:'+swfVers[0]+'.'+swfVers[1]+' -C S:'+prm[25].replace(/\$/g,"^$")+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');reload();

I'm having some trouble. Is all I have to do is login to chaturbate, run the bookmarklet, copy the command and paste it to a command prompt with rtmpdump.exe?

I've got windows, and this is the error I get:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

I tried with linux too. Am I missing something here? Do I need to do something other than login to chaturbate, and run the bookmarklet on the cam screen? I'm not trying to do a password protected stream or anything.. just a public stream.

AmazingMatze 01-31-2013 05:50 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by jimbob9 (Post 59309)
I'm having some trouble. Is all I have to do is login to chaturbate, run the bookmarklet, copy the command and paste it to a command prompt with rtmpdump.exe?

I've got windows, and this is the error I get:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

I tried with linux too. Am I missing something here? Do I need to do something other than login to chaturbate, and run the bookmarklet on the cam screen? I'm not trying to do a password protected stream or anything.. just a public stream.

Yes, all you have to do is go to the site and click on a chatroom (you don't need to login for that).

Execute the Bookmarklet, then close your browser. My bookmarklet extracts the path to the excact same server that you were viewing (e.g. edge1-a, edge1-b, edge2-a, edge2-b etc.).

The site won't allow you to stream more than one stream from the same server. That's why you have to close your video in the browser. The other batch commands didn't care for that and used a static (like 9-b), but I wanted to make sure of it to catch the stream.

Then paste the command into your command prompt or a ".bat" file (in the same directory where RTMPDump is located) and execute it.

Cbater 02-01-2013 12:53 AM

Re: chaturbate.com: SecureToken problems


 
how are you fixing the flv files?

jimbob9 02-01-2013 05:50 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by AmazingMatze (Post 59310)
Yes, all you have to do is go to the site and click on a chatroom (you don't need to login for that).

Execute the Bookmarklet, then close your browser. My bookmarklet extracts the path to the excact same server that you were viewing (e.g. edge1-a, edge1-b, edge2-a, edge2-b etc.).

The site won't allow you to stream more than one stream from the same server. That's why you have to close your video in the browser. The other batch commands didn't care for that and used a static (like 9-b), but I wanted to make sure of it to catch the stream.

Then paste the command into your command prompt or a ".bat" file (in the same directory where RTMPDump is located) and execute it.

Thanks for the info. is it possible to watch the video at all while it's recording? Maybe opening another browser window afterwards?

AmazingMatze 02-01-2013 06:26 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by jimbob9 (Post 59351)
Thanks for the info. is it possible to watch the video at all while it's recording? Maybe opening another browser window afterwards?

Just drag it in VLC player while it is playing. - You could also try to reopen the browser or the tab you closed and see if you catch a different server. If it doesn't work try refreshing until you catch a different server.

InterdimensionalCow 02-02-2013 04:17 AM

Re: chaturbate.com: SecureToken problems


 
Hmm, odd. I'm using AmazingMatze's second Javascript code from the post at the top of this page, rtmpdump 2.4, closing my browser after getting the line, and putting it in a .bat with rtmpdump. However, I still get the NetStream.Play.Failed error. I'm probably just doing something stupidly wrong, but then I don't know how to identify it.


All times are GMT -6. The time now is 12:22 PM.