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)

nacnay 05-04-2013 04:29 AM

Re: chaturbate.com: SecureToken problems


 
Now CB changed the protocol from rtmpe to rtmp in version 634

non90 05-04-2013 04:36 AM

Re: chaturbate.com: SecureToken problems


 
@nacnay

YEAH! Works fine with just a "rtmp://" in command line! Thanks alot! :)

phgonline 05-04-2013 10:18 AM

Re: chaturbate.com: SecureToken problems


 
This was working until the recent changes... now it just hangs. Any help would be appreciated

Code:

rtmpdump -r "rtmp://edge4-b.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,4,402,265" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/model/" -y "mp4" -o "model_%_date%_%_time%.flv" -C S:Anonymoususer -C S:model -C S:2.627 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

Humbug 05-04-2013 10:55 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by phgonline (Post 61974)
This was working until the recent changes... now it just hangs. Any help would be appreciated

Code:

@echo off
echo Nickname: Model
set /p nick=
title
:loop
FOR /F "tokens=1,2,3,4,5 delims=/. " %%a in ('date/T') do set _date=%%c-%%b-%%d%%a
FOR /F "tokens=1,2,3,4,5 delims=/: " %%a in ('time/T') do set _time=%%a.%%b.%%c%time:~6,2%
rtmpdump -r "rtmp://edge4-b.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,4,402,265" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/model/" -y "mp4" -o "model_%_date%_%_time%.flv" -C S:Anonymoususer -C S:model -C S:2.627 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live
echo ^G
for /F "delims=" %%I in ('dir /B') do if not exist "%%I\" if %%~zI EQU 0 del "%%I"
goto loop


change the following:
Code:

... -f "WIN  11,6,602,180" ... -W ".../flash/CBV_2p634 ... -C "S:2.634"
and add your CB Username and Password Hash

phgonline 05-04-2013 10:59 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by Humbug (Post 61975)
change the following:
Code:

... -f "WIN  11,6,602,180" ... -W ".../flash/CBV_2p634 ... -C "S:2.634"
and add your CB Username and Password Hash

That was quick, thanks!

potsie 05-04-2013 03:25 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by non90 (Post 61965)
@nacnay

YEAH! Works fine with just a "rtmp://" in command line! Thanks alot! :)

Thanks that worked for me too. My streams no longer have sound? Anyone else experiencing this?

Winstontoo 05-04-2013 04:23 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by potsie (Post 61979)
Thanks that worked for me too. My streams no longer have sound? Anyone else experiencing this?

They switched back to the speex audio codec a few days back, you have sound, but most likely your player doesn't support that particular codec.

Take a look at Tencoder, it will let you convert the speex to something more usable like mp3 without touching the video portion.

potsie 05-04-2013 04:58 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by Winstontoo (Post 61980)
They switched back to the speex audio codec a few days back, you have sound, but most likely your player doesn't support that particular codec.

Take a look at Tencoder, it will let you convert the speex to something more usable like mp3 without touching the video portion.

Thanks a bunch!

Cbater 05-05-2013 08:05 AM

Re: chaturbate.com: SecureToken problems


 
we need a new ksv rtmp release. when you loop a chaturbate cam in your batchfile the stream dont connect.

you see only INFO: Connected

muller91 05-05-2013 09:34 PM

Re: chaturbate.com: SecureToken problems


 
I read and read and read...I must be dump:o , how come my following strings doesn't work?

I'm still using Flash 11,2,202,235, so I changed the strings to reflect that...everything else I'm following from gurus here:D . I only need Flash ant NOT SWF, right?

I do the manual way of running URLSnooper 2 or Rtmpdump Helper to get the correct "edgeX.X"...what did I do wrong?

rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:Anonymoususer -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,2,202,235" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:Anonymoususer -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

P/s How to get/figure out the "your_password_hash" ?

nacnay 05-06-2013 02:08 AM

Re: chaturbate.com: SecureToken problems


 
@muller91

you have to use latest rtmpdump by ksv to work the code u mentioned. If you dont have it get it from the link below.

Code:

http://www.mediafire.com/file/bwxugu3x319p1x5/rtmpdump-2.4.zip
Regarding password hash you have to login to your CB acc, then seach for the password hash in the page source which is begin with 'pbkdf2_sha256$........and end with ......\u003D'

or just use the following javascript to get your password hash.

Code:

javascript:var%20prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");alert(prm[25]);

pianeta5 05-06-2013 02:49 AM

Re: chaturbate.com: SecureToken problems


 
Hi everybody!
I'm trying to record chaturbate model with this code:
rtmpdump -r "rtmp://edge4-b.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/model/" -y "mp4" -o "model_%_date%_%_time%.flv" -C S:Anonymoususer -C S:model -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

...but it doesn't work! It says :
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

What's the problem? How can I fix this???
Please, somebody help me!!!

muller91 05-06-2013 03:05 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by nacnay (Post 61995)
@muller91

you have to use latest rtmpdump by ksv to work the code u mentioned. If you dont have it get it from the link below.

Code:

http://www.mediafire.com/file/bwxugu3x319p1x5/rtmpdump-2.4.zip
Regarding password hash you have to login to your CB acc, then seach for the password hash in the page source which is begin with 'pbkdf2_sha256$........and end with ......\u003D'

or just use the following javascript to get your password hash.

Code:

javascript:var%20prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");alert(prm[25]);

Thanks a lot nacnay:) , you are great!

OK, I got the password hash part, but I kept getting "model status is error"?

nacnay 05-06-2013 03:56 AM

Re: chaturbate.com: SecureToken problems


 
@muller92 & @pianeta5
If you are using the following CB Script;
rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:Anonymoususer -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

Replace 'Anonymoususer' with YOUR CB USERNAME
and 'anonymous' with YOUR PW HASH

muller91 05-06-2013 04:02 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by nacnay (Post 61998)
@muller92 & @pianeta5
If you are using the following CB Script;
rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:Anonymoususer -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

Replace 'Anonymoususer' with YOUR CB USERNAME
and 'anonymous' with YOUR PW HASH

Hi nacnay, I followed your instructions and I'm still getting "model status is error"?

pianeta5 05-06-2013 04:57 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by nacnay (Post 61998)
@muller92 & @pianeta5
If you are using the following CB Script;
rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:Anonymoususer -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

Replace 'Anonymoususer' with YOUR CB USERNAME
and 'anonymous' with YOUR PW HASH

Thanks a lot Nancy... but still doesn't work... :8 :( :(
Now says:
ERROR: Closing connection: NetStream.Play.Failed

jimbob9 05-06-2013 04:16 PM

Re: chaturbate.com: SecureToken problems


 
anonymous can only have a stream open once. Did you close it in your browser?

muller91 05-06-2013 04:44 PM

Re: chaturbate.com: SecureToken problems


 
OK, it seems like different versions of rtmpdump.exe produces different errors code.

RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV) - Model Status Error

rtmpdump v2.4 GIT-2011-07-11 (Compiled by KSV) - NetStream.Play.Failed

Just to be sure, I only need to copy one file rtmpdump.exe to my Windows/systems32 folder, right?

Thanks.

skyDude14 05-06-2013 04:55 PM

Re: chaturbate.com: SecureToken problems


 
can any one tell me what is the exact rtmp url of each chaturbate stream ? how i can feed it to jw player ?

nacnay 05-07-2013 08:05 AM

Re: chaturbate.com: SecureToken problems


 
I have using the following code it works fine with me with any version of rtmpdump by ksv.

Code:

rtmpdump -r "rtmp://edge7-b.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:CB_USERNAME -C S:CamName -C S:2.634 -C S:PW_HASH -T "m9z#$dO0qe34Rxe@sMYxx%" --live
Replace CB_USERNAME & PW_HASH with your corresponding username & password hash respectively.

non90 05-07-2013 01:18 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by muller91 (Post 61999)
Quote:

Originally Posted by nacnay (Post 61998)
@muller92 & @pianeta5
If you are using the following CB Script;
rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:Anonymoususer -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live

Replace 'Anonymoususer' with YOUR CB USERNAME
and 'anonymous' with YOUR PW HASH

Hi nacnay, I followed your instructions and I'm still getting "model status is error"?

Tested the command-line and found an error! "Anonymoususer" did not work for me, it must be "AnonymousUser" (capital U).

It should work then (at least the anonymous login recording).


Regarding the error with real username login, I would guess that the password hash is not correct. Did you escaped it? Like it is described here:
Quote:

Originally Posted by marktr (Post 46927)
After putting my logged in username in viewer_username, and my password hash in viewer_password (which you can grab from the html source), I am able to view many streams simultaneously. Remember to escape $ in shells where appropriate, and that \u003D is = (equals symbol), and you'll be good to go.

Quote:

Originally Posted by callten (Post 46980)
Goto a chaturbate room in your browser and then goto the tools menu (or whatever it is in whichever browser you use) and "view source". Search that for "password" and you will see it, something like
Code:

password: 'pbkdf2_sha256$10000$B7osw0jRC3Qb$ etc etc etc kSMBOHwjzZk\u003D',
You need to go through and put a ^ in front of all the $'s and replace the \u003D with a "=" (minus the quotes). Then put the resulting string (starting with pdkd and ending with =) in place of "anonymous" in the 4th parameter in the rtmpdump command string.


muller91 05-07-2013 02:13 PM

Re: chaturbate.com: SecureToken problems


 
[quote=by callten You need to go through and put a ^ in front of all the $'s and replace the \u003D with a "=" (minus the quotes). Then put the resulting string (starting with pdkd and ending with =) in place of "anonymous" in the 4th parameter in the rtmpdump command string.[/QUOTE]


Hmm, this is my password copied from my browser:

pbkdf2_sha256$10000$FOmA2kP7HuQX$B4b0B1QsyXIToLTjS lS3vsvyA+KwX8qfR3exyRg5lWQ\u003D

What should be the correct way to change/enter it?

Thanks.

non90 05-07-2013 02:21 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by muller91 (Post 62038)
Hmm, this is my password copied from my browser:

pbkdf2_sha256$10000$FOmA2kP7HuQX$B4b0B1QsyXIToLTjS lS3vsvyA+KwX8qfR3exyRg5lWQ\u003D

What should be the correct way to change/enter it?

Thanks.

Code:

pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIToLTjSlS3vsvyA+KwX8qfR3exyRg5lWQ=
And should look in the command line like this:
Code:

-C S:pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIToLTjSlS3vsvyA+KwX8qfR3exyRg5lWQ=

muller91 05-07-2013 04:02 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by non90 (Post 62039)
Code:

pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIToLTjSlS3vsvyA+KwX8qfR3exyRg5lWQ=
And should look in the command line like this:
Code:

-C S:pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIToLTjSlS3vsvyA+KwX8qfR3exyRg5lWQ=

Thanks non90, you are very helpful.

Now I know the reasons for mine not working yesterday! I DID NOT insert the ^ and = and I used the full \u003D!...my bad.

Best regards.

skyDude14 05-08-2013 07:41 AM

Re: chaturbate.com: SecureToken problems


 
non90 i tried to capture as Anonymous user but i keep getting this eror:

Quote:

Error: Closing connection:NetStream.Play.Failed
command:
Quote:

rtmpdump -r "rtmp://edge12-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,6,602,180" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:AnonymousUser -C S:CamName -C S:2.634 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live
could you tell me what is wrong and what version of rtmpdump and flashplayer do i need ?

non90 05-08-2013 08:00 AM

Re: chaturbate.com: SecureToken problems


 
@skyDude14

Well if you are sure you are not trying to record a password protected room (you cannot get into it on browser too) then I would guess it is not an appropriate version of KSV-patched rtmpdump.

Does it look like this when you run it?
Code:

RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
If not, i would recommend to download the latest version: http://stream-recorder.com/forum/sho...90&postcount=1

skyDude14 05-08-2013 08:20 AM

Re: chaturbate.com: SecureToken problems


 
non90 many thanks for reply. when i run it it looks like this:

Quote:

RTMPDump v2.4-35-ge0056c5
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

c:\rtmpdump>
its public room with no password. Furthermore , i dont see any record duration specified in the command! is there a way to specify for example only record 10 min of stream ?i evern tried to use rtmpdumphelper but when i run rtmpdumphelper the room keep saying connecting ....

pianeta5 05-08-2013 08:27 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by nacnay (Post 62030)
I have using the following code it works fine with me with any version of rtmpdump by ksv.

Code:

rtmpdump -r "rtmp://edge7-b.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://chaturbate.com/static/flash/CBV_2p634.swf" -p "http://chaturbate.com/CamName/" -y "mp4" -o "C:\temp\Test.flv" -C S:CB_USERNAME -C S:CamName -C S:2.634 -C S:PW_HASH -T "m9z#$dO0qe34Rxe@sMYxx%" --live
Replace CB_USERNAME & PW_HASH with your corresponding username & password hash respectively.

No way to work for me :((((
But have CB_USERNAME and PW_HASH to be enclosed throw " " ? I did not it...
Another question... : where do you find the "m9z#$dO0qe34Rxe@sMYxx% token? I haven't in my sorce page... is it a problem?

non90 05-08-2013 08:29 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by skyDude14 (Post 62054)
non90 many thanks for reply. when i run it it looks like this:

Quote:

RTMPDump v2.4-35-ge0056c5
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

c:\rtmpdump>

Well whatever version this is... it looks like it is not the latest version with KSV patches i guess. And without the patches of KSV it definitely will not work!


Quote:

Originally Posted by skyDude14 (Post 62054)
Furthermore , i dont see any record duration specified in the command! is there a way to specify for example only record 10 min of stream ?

I don't know because I never wanted to set a duration. The only thing that I can say on this topic is that it is not necessary to do so to get it work.

skyDude14 05-08-2013 08:42 AM

Re: chaturbate.com: SecureToken problems


 
Thanks non90 for you help. knowing the rtmp stream of each stream is there a way to play the stream in Jw player ?the reason i like jw player that it always doesn't need new flash player installed. i just don't know how to feed the jw player with correct rtmp values.do you know how this can be done ?

non90 05-08-2013 08:44 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by skyDude14 (Post 62060)
do you know how this can be done ?

No, I do not know that.

InterdimensionalCow 05-09-2013 07:34 PM

Re: chaturbate.com: SecureToken problems


 
So we're resorting to manually building the batch code again? Because I tried the old javascript bookmark with the rtmpdump version nacnay linked and got a handshake failed error.

jimbob9 05-09-2013 09:16 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by InterdimensionalCow (Post 62091)
So we're resorting to manually building the batch code again? Because I tried the old javascript bookmark with the rtmpdump version nacnay linked and got a handshake failed error.


you just need to change in it from rtmpe to rtmp

Han5 05-10-2013 12:23 AM

Re: chaturbate.com: SecureToken problems


 
It now gives me:

ERROR: RTMP_Connect1, handshake failed.

Quote:

Originally Posted by jimbob9 (Post 62094)
you just need to change in it from rtmpe to rtmp

You mean change it to "rtmp://edge8-a.stream.highwebmedia.com/live-edge" ?

I tried that but it gives me a model status error. It worked fine in the past but it seems to have stopped working now...

oelk 05-10-2013 06:08 AM

Re: chaturbate.com: SecureToken problems


 
My old script is working with one little modification:
Code:

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
It reads all parameters from the active site. Most of them aren't really needed.

A stripped down call could look like this:
Code:

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/PERFORMERNAME" -C S:AnonymousUser -C S:PERFORMERNAME -C S:2.634 -C S:anonymous -y "playpath" -o "file.flv"
but I'm not sure, if the same server can be used for every performer every day.

Those who need to record many streams should replace AnonymousUser & anonymous by CB_USERNAME & PW_HASH as described above (or use the proposed script). (You'll get NetStream.Play.Failed otherwise)


The token isn't needed anymore, because they changed from rtmpe to rtmp. No need to worry about it fo now.

Han5 05-10-2013 01:35 PM

Re: chaturbate.com: SecureToken problems


 
Thanks very much oelk! Your parameters helped me alot :D

Btw the parameters I've changed are the:
- token (removed)
- S:2.634 (changed from S:2.632)
- rtmp:// (changed from rtmpe://)

Once again, thanks :p

yetanotherday 05-11-2013 02:11 AM

Re: chaturbate.com: SecureToken problems


 
skyDude14 , i have been testing this on jw player website but couldn't see the feed
http://www.longtailvideo.com/jw-player/wizard/

pitboss 05-12-2013 04:24 PM

Re: chaturbate.com: SecureToken problems


 
oelk , script is working perfectly with video recording but why it is not recording audio anymore? I remember previously everything was fine until they changed rtmpe:// to rtmp:// . Please , how to fix this?

malky 05-13-2013 01:57 AM

Re: chaturbate.com: SecureToken problems


 
Because they changed back to the speex audio codec. As said previously you can use open source Tencoder video converter. Just set the video to direct copy audio to mp3.

pitboss 05-13-2013 06:15 AM

Re: chaturbate.com: SecureToken problems


 
thanks a lot malky! Just encoded the audio with Tencoder. Everything is fine now.


All times are GMT -6. The time now is 12:57 AM.