PDA

View Full Version : chaturbate.com: SecureToken problems


Pages : 1 [2]

nacnay
05-06-2013, 02:08 AM
@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.

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.

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

pianeta5
05-06-2013, 02:49 AM
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
@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.

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.

javascript:var%20prm=document.getElementById('movi e').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
@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
@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
@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
anonymous can only have a stream open once. Did you close it in your browser?

muller91
05-06-2013, 04:44 PM
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
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
I have using the following code it works fine with me with any version of rtmpdump by ksv.

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
@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:
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.

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 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
[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
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.

pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIToL TjSlS3vsvyA+KwX8qfR3exyRg5lWQ=

And should look in the command line like this:
-C S:pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIT oLTjSlS3vsvyA+KwX8qfR3exyRg5lWQ=

muller91
05-07-2013, 04:02 PM
pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIToL TjSlS3vsvyA+KwX8qfR3exyRg5lWQ=

And should look in the command line like this:
-C S:pbkdf2_sha256^$10000^$FOmA2kP7HuQX^$B4b0B1QsyXIT oLTjSlS3vsvyA+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
non90 i tried to capture as Anonymous user but i keep getting this eror:

Error: Closing connection:NetStream.Play.Failed

command:
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
@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?
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/showpost.php?p=61390&postcount=1

skyDude14
05-08-2013, 08:20 AM
non90 many thanks for reply. when i run it it looks like this:

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
I have using the following code it works fine with me with any version of rtmpdump by ksv.

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
non90 many thanks for reply. when i run it it looks like this:

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!


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
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
do you know how this can be done ?

No, I do not know that.

InterdimensionalCow
05-09-2013, 07:34 PM
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
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
It now gives me:

ERROR: RTMP_Connect1, handshake failed.

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
My old script is working with one little modification:
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:
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
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
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
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
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
thanks a lot malky! Just encoded the audio with Tencoder. Everything is fine now.

rtmpdumper1
05-24-2013, 09:12 PM
My old script is working with one little modification:
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:
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)



Hello

I'm using this code for anonymous single streams just fine, but when I add my username and password hash to record multiple streams I get "Model status is error".

Really can't figure out what the problem is here. I put a ^ in front of all the $'s and replaced the \u003D with an =. My password hash has forward slashes in it, not sure that would be an issue though (I noticed the example above didn't have any).

I am on a Mac using Terminal. Using rtmpdump 2.4 KSV patch

marktr
05-27-2013, 07:00 PM
Hello

I put a ^ in front of all the $'s and replaced the \u003D with an =.

I am on a Mac using Terminal. Using rtmpdump 2.4 KSV patch

Did you try \$ instead?

rtmpdumper1
05-27-2013, 08:19 PM
Ah, that was it. Figured it was simple.

Thanks for the tip mark!

phgonline
06-17-2013, 09:56 AM
Anyone know a script to cap password shows when I have the password to the room? Been using tubedigger but it's limited, thanks!

non90
06-17-2013, 10:05 AM
Anyone know a script to cap password shows when I have the password to the room? Been using tubedigger but it's limited, thanks!
You can use plain rtmpdump in a command line for it. You just need to find out the Hash of the password (that you know). You will find it also (like the hash to your own password) in the html-code once you inside the room. Add it as the 5th "-C S:" parameter to the command line.

-C S:your_username
-C S:model_name
-C S:player_version
-C S:your_password_hash
-C S:room_password_hash

Of course you have to grab it manually. As far as I understand it, the javascript that is given a few posts above also do the trick.

yetanotherday
06-25-2013, 08:57 PM
does the site is going to support html5 ? i see some changes .

someone please give me a java bookmarklet to download the feed in mp4 format !

skyDude14
07-03-2013, 12:18 AM
My old script is working with one little modification:
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:
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.

oelk can you tell me how to run your javascript?furthermore , how to construct the full rtmp url with all its parameters ?(not the one for command prompt)

Mestameh
07-26-2013, 03:03 AM
Hi,

Thank everybody who is posting in this thread, it helped me a lot and therefore I want to give a little something back.

I wrote a Batch script for Windows that you can use to instantly record any room either using your password and roomname or just the room name.

In windows, open a textfile (e.g. by opening the editor), copy the code below into the textfile, change the username in line 4 (ENTERYOURUSERNAME) to your username and save as "record.bat" in your rtmpdump folder.


@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION

set username=ENTERYOURUSERNAME
set password=%1
Set channel=%2
Set password=%password:\u003D=^=%
Set password=%password:$=^^$%


set now=%date:~6,4%%date:~3,2%%date:~0,2%
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
SET mydate=%now%_%mytime%
echo ################################################## ####
echo ############ R E C O R D I N G #####################
echo %channel%
echo ################################################## ####
IF NOT ["%password%"] == ["none"] (
rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/%channel%" -C S:%username% -C S:%channel% -C S:2.634 -C S:%password% -y "playpath" -o "%mydate%_%channel%.flv"
)
rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/%channel%" -C S:AnonymousUser -C S:%channel% -C S:2.634 -C S:anonymous -y "playpath" -o "%mydate%_%channel%.flv"
ENDLOCAL


If you want to record a stream, do the following.

Open a terminal window (HowTo (http://java.about.com/od/gettingstarted/ss/firstprogram_4.htm)).

Go to your rtmpdump folder using the cd command.

use your newly created record Batchfile by typing:

record $yourpassword $channelname

example:

record pbkdf2_iklnewrkwe$jlkjlkjklj$kjlkasepoöiase/003D rockchannel

This command will do the following:

It will record the channel "rockchannel" using your username and password, naming the file after date and time when you started the stream and at the end naming it like the channel. Like that you can start recordings over and over without having to change the file name everytime.

Because using your password, you will be able to record several streams at once. How to get your password has been described earlier in this thread. If you want to run several recordings parallely, you will need to open several terminal windows at the same time.

If you want to record a stream without logging in (you will only be able to record one stream at once), type:

record none $channelname

example:

record none rockchannel

To stop the recording, just hit: Ctrl + C, it will ask you if you want to abort the batchscript and just confirm with Y.

Voila... after that you will find the recorded file in your rtmpdump folder.

mimi25
08-05-2013, 04:43 AM
KSV and Mestameh....you are both real gentlemen! Modded rtmpdump work perfectly and batch file is insanely simple to use.

Thank you both for your time and effort to make this work. And it works like a charm!

mimi25
08-05-2013, 07:19 AM
One small problem though. Whenever I record multiple rooms, I see several .flv files getting bigger as time passes. Cool, I have plenty of space. When a model has a connect problem (disconnect/reconnect), rtmpdump stops....and erases the file. Now that's strange. The file is there, big and juicy, and 1sec later, file's still here but 0k.

Any chance having that solved?

Thanks in advance.

Cbater
08-06-2013, 11:38 AM
Please KSV work on the Chaturbate 0 kb Problem! Over a half year is this problem now public.

Thx guys.

mimi25
08-07-2013, 12:03 AM
Oh...so this is a known "bug" (problem anyway). I managed to solve that by using RTMPDumpHelper. No more 0k files. BUT, since while solving a problem creates another one, RTMPDH makes my adobe flash plugin crash....then stops the whole process. But file is there.

Thanks guys for squeezing brain juice :)

got420
09-09-2013, 01:19 PM
Hi,

Thank everybody who is posting in this thread, it helped me a lot and therefore I want to give a little something back.

I wrote a Batch script for Windows that you can use to instantly record any room either using your password and roomname or just the room name.

example:

record none rockchannel

To stop the recording, just hit: Ctrl + C, it will ask you if you want to abort the batchscript and just confirm with Y.

Voila... after that you will find the recorded file in your rtmpdump folder.

Hi, I like this bat file but I can't get it to work. Did the rtmp stream server name change perhaps? also, is there a way to hard code the password so I don't have to grab it every time and can just do
record.bat roomname ?

stream01
11-18-2013, 02:33 AM
Any news on how to rec group/private shows?

ilovestreamz1990
11-29-2013, 10:52 PM
if i know the password of the locked room..how can i recored it with rtmpdump? any code?

diablo888
12-03-2013, 04:56 PM
Please KSV work on the Chaturbate 0 kb Problem! Over a half year is this problem now public.

Thx guys.

i have the same problem and its so depressing. its because rtmpdump tries to resume the same file, and since/if the model is offline, it overwrites the file and it becomes 0kb. :mad:
havent found a fix or workaround yet, (rtmpdh works, but i dont wanna use it, but a script)

guys if youre using Mestameh .bat file make sure to delete the line
rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/%channel%" -C S:AnonymousUser -C S:%channel% -C S:2.634 -C S:anonymous -y "playpath" -o "%mydate%_%channel%.flv"
from the bat file. As far as I know anonymous streamrecording hasnt worked in months...

otherwise this line will cause to "retry" to download the stream AFTER downloading it via ur login credentials instead of ALTERNATIVELY...

i lost such a nice cap to this :mad:

jonaruto
12-05-2013, 04:44 AM
My script worked 2 days ago, now I get status "error":

RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : edge.stream.highwebmedia.com
DEBUG: Parsed app : live-edge
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : edge.stream.highwebmedia.com
DEBUG: Port : 1935
DEBUG: Playpath : 0
DEBUG: tcUrl : rtmp://edge.stream.highwebmedia.com:1935/live-edge
DEBUG: pageUrl : http://chaturbate.com/sexyladies
DEBUG: app : live-edge
DEBUG: StopTime : 100 msec
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, flex message, size 20 bytes, not fully supported
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: osm>
DEBUG: Property: <Name: no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, STRING: >
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <osm>
DEBUG: RTMP_ClientPacket, received: invoke 261 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _result>
DEBUG: Property: <Name: no-name, NUMBER: 1.00>
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,7,7009>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00>
DEBUG: Property: <Name: mode, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,7,7009>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 1608078548.00>
DEBUG: Property: <Name: objectEncoding, NUMBER: 3.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl, type: 0x0003
DEBUG: Invoking CheckPublicStatus
DEBUG: RTMP_ClientPacket, flex message, size 37 bytes, not fully supported
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: cps>
DEBUG: Property: <Name: no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, BOOLEAN: FALSE>
DEBUG: Property: <Name: no-name, STRING: error>
DEBUG: Property: <Name: no-name, STRING: 1000>
DEBUG: Property: <Name: no-name, STRING: >
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <cps>
INFO: Model status is error
DEBUG: Closing connection.

malky
12-05-2013, 11:00 AM
No problems recording cb here.

Leifman
12-05-2013, 03:47 PM
No problems recording cb here.

very odd.. it seems like my batch that worked for a year+ and many others died and gives model: error... cb definitely changed sometimes
what sort of batch are u using?

non90
12-07-2013, 12:06 PM
Had the same problem. For me it was a new password hash that got me the model error (and I did NOT changed my password!). So after I insert new passwort hash (keep in mind how to prepare/edit it correctly) into command line, it worked again.

fireball
01-30-2014, 08:59 AM
Any of you mac users know a step by step way of getting the ksv rtmpdump working ?? From downloading, patching and installing please.

I keep having issues with out of date guides, commands and links.

DDMW
02-04-2014, 09:49 AM
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION

set username=ENTERYOURUSERNAME
set password=%1
Set channel=%2
Set password=%password:\u003D=^=%
Set password=%password:$=^^$%


set now=%date:~6,4%%date:~3,2%%date:~0,2%
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
SET mydate=%now%_%mytime%
echo ################################################## ####
echo ############ R E C O R D I N G #####################
echo %channel%
echo ################################################## ####
IF NOT ["%password%"] == ["none"] (
rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/%channel%" -C S:%username% -C S:%channel% -C S:2.634 -C S:%password% -y "playpath" -o "%mydate%_%channel%.flv"
)
rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/%channel%" -C S:AnonymousUser -C S:%channel% -C S:2.634 -C S:anonymous -y "playpath" -o "%mydate%_%channel%.flv"
ENDLOCAL

record none $channelname
example:
record none rockchannel


That worked perfect over weeks!
Now I get

K:\rtmpd>record none MODELNAME
################################################## ####
############ R E C O R D I N G #####################
MODELNAME
################################################## ####
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
INFO: Model status is error

Thanks :/

edit//
Used the method with my own hashpassword like
record HASHPASSWORD Modelname and it worked then again lol ...

Is it possible to record more then one show at the moment?

Dahoam
02-04-2014, 05:39 PM
That worked perfect over weeks!
Now I get

K:\rtmpd>record none MODELNAME
################################################## ####
############ R E C O R D I N G #####################
MODELNAME
################################################## ####
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
INFO: Model status is error

Thanks :/

edit//
Used the method with my own hashpassword like
record HASHPASSWORD Modelname and it worked then again lol ...

Is it possible to record more then one show at the moment?

I get the error too when the cam is offline but it's still recording once it's online no matter if using anonymous or username + pw hash. Don't know what they've changed though.

You can still record multiple cams if you use your username and the according pw hash.

Edit: Seemed to be a temporary thing, they had some major server issues and down time of the last few days.

DDMW
02-05-2014, 07:12 AM
Have no Sound on the recorded files.
Is it normal?

phgonline
02-05-2014, 09:55 AM
Been trying to cap PW shows, I have the pw but when I enter the room and get the 2nd hash and add it after the original I still get netstream.play.fail do I have to enter the actual pw somewhere?

-C S:username -C S:modelname -C S:2.644 -C S:userhash -C S:pwroomhash -T "key" --live

malky
02-06-2014, 06:36 PM
cb uses the speex audio codec which few players play hence no sound. You can convert the audio part of the file to mp3 using open source program, TEncoder video converter.

miles_gloriosus
02-10-2014, 08:45 PM
What version of rtmpdump 2.4 was KSV's build (from Nov 9, 2012) patched against? I'm seeing 2 failed hunks when patching against 2.4 pulled from git.


$ patch --dry-run -p 0 < ../../rtmpdump-2.4-ksv/Patch.diff
patching file Makefile
patching file librtmp/Makefile
Hunk #1 succeeded at 26 with fuzz 2 (offset 1 line).
patching file librtmp/amf.c
patching file librtmp/handshake.h
patching file librtmp/hashswf.c
patching file librtmp/log.c
patching file librtmp/parseurl.c
patching file librtmp/rtmp.c
Hunk #21 succeeded at 2975 (offset 11 lines).
Hunk #23 succeeded at 3015 (offset 11 lines).
Hunk #25 succeeded at 3245 (offset 11 lines).
Hunk #27 succeeded at 3277 (offset 11 lines).
Hunk #29 succeeded at 3392 (offset 11 lines).
Hunk #31 succeeded at 3513 (offset 11 lines).
Hunk #32 FAILED at 3688.
Hunk #33 succeeded at 3763 (offset -3 lines).
Hunk #34 succeeded at 3886 (offset 11 lines).
Hunk #35 succeeded at 4178 (offset -3 lines).
Hunk #36 succeeded at 4654 (offset 11 lines).
Hunk #37 succeeded at 4660 (offset -3 lines).
Hunk #38 succeeded at 4815 (offset 11 lines).
Hunk #39 succeeded at 4823 (offset -3 lines).
Hunk #40 succeeded at 4861 (offset 11 lines).
Hunk #41 succeeded at 4880 (offset -3 lines).
Hunk #42 FAILED at 5417.
Hunk #43 succeeded at 5598 (offset 13 lines).
2 out of 43 hunks FAILED -- saving rejects to file librtmp/rtmp.c.rej
patching file librtmp/rtmp.h
patching file librtmp/rtmp_sys.h
patching file rtmpdump.c
patching file rtmpgw.c
patching file rtmpsrv.c
patching file rtmpsuck.c
$


At any rate, has anybody successfully recorded streams from the latest CB (2.644)?

malky
02-10-2014, 10:08 PM
The simple answer to your question is yes. I have had no problems recording 2.644.

miles_gloriosus
02-11-2014, 07:55 AM
The simple answer to your question is yes. I have had no problems recording 2.644.

What do you use to record?

malky
02-11-2014, 01:19 PM
I use KSVs version of Rtmpdump downloaded from github dated 30.12.2012, and the Javascript script downloaded from this forum all thanks to the both authors.

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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');

I created a bookmark by pressing ctrl-D, any page will do, edited the bookmark to rename it, chaturbate download, and pasted the above JS in the url part. To use it I open a cmd window to rtmpdump, and click on the bookmark when on a broadcasters page. I then copy the highlighted text from the popup window and paste in the cmd window and press return. Job done.

Don't forget to cancel the popup window.

basa666
02-11-2014, 04:39 PM
I use KSVs version of Rtmpdump downloaded from github dated 30.12.2012, and the Javascript script downloaded from this forum all thanks to the both authors.
cut

i tried this but in result i have 0 byte files but i have different date version, i cant find in github 20121230 version compiled for windows , anyone have link for this? or send me pm

thanks

malky
02-11-2014, 07:04 PM
I just typed ksv rtmpdump into google and the second result was for KSVs script page?

https://github.com/K-S-V/Scripts/downloads

malky
02-11-2014, 07:49 PM
My bad. When you get what you want you tend to loose interest in the complicated stuff that other people have generously solved for you.:(
I've PM'd you.

malky
02-12-2014, 10:37 AM
Just to clarify the KSV updated version of RTMPdump that works with chaturbate can be found here:

https://github.com/K-S-V/Scripts/releases :)

miles_gloriosus
02-12-2014, 10:49 AM
Just to clarify the KSV updated version of RTMPdump that works with chaturbate can be found here:

https://github.com/K-S-V/Scripts/releases :)

Thanks malky. It's weird because i found a KSV rtmpdump build from github but it's different from this one. It didn't work. I'm going to try this out.

miles_gloriosus
02-12-2014, 11:03 AM
No worky, malky. I get the "model status is error" error.

basa666
02-12-2014, 04:38 PM
like im say in pm , for me new ksv,s build also give like miles say "model status error" then looks new build dont work or something wrong in java script :/

malky
02-12-2014, 09:24 PM
Strange. I just tried recording with the 30.12.2012 rtmpdump and the version i just downloaded from KSV releases and both worked with no problems? I'm using chrome by the way.

C:\Users\Malky\rtmpdump-2.4>rtmpdump -v -r "rtmp://edge21-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/*******" -C S:malky -C S:******* -C S:2.644 -C S:pbkdf2_sha256$12000$Cml4dozmu64A$bC
s47aQOx/Tx7WIZkdyTJMpgkWcfdXX/ZG8oONigPr4= -C S:53ac0c886fe839b4e1ea2b3852fc6796
13d32d97aa1dbd60f228fced06e1cc95 -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "
*******_1392264929.flv"
RTMPDump v2.4 GIT-2013-12-05 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
1357.960 kB / 21.96 sec

Unless the change is slowly being introduced I can't think of any else.

basa666
02-13-2014, 02:08 AM
thanks malky for paste your command line , im compared this and solved the problem , need only changes after third S:

miles_gloriosus
02-13-2014, 06:43 AM
Malky or anybody else, would you happen to know against what version of rtmpdump does KSV's patch apply cleanly against? I'm trying to build for linux.

malky
02-13-2014, 11:04 AM
I think what you are looking for is the first sticky post in the rtmpdump directory.

http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html

All hail KSV none of us would have got this far without his hard work.

Arukarudo
02-14-2014, 10:17 PM
I were able to make it work as well, i used the javascript that Malky provided, it had just one little error like basa666 pointed, it were an extra space that made the script get a wrong flash version.

So basically you will download the KSVs version of Rtmpdump from https://github.com/K-S-V/Scripts/releases (click the green button)

and if you're on:

Chrome
- Press Ctrl+D
- Click Edit
- Give any Name and on url you put 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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Save
- Go to the chaturbate page you want and click on the favorite button you just created
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

Firefox
- Go to the chaturbate's broadcaster page you want
- Press Ctrl+Shift+K
- Paste the 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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

And that is it =)
Thanks a lot for Malky and Basa666 for the great help!

xaboxa
02-15-2014, 02:18 AM
Thanks for this step by step instruction also :)

malky
02-15-2014, 12:40 PM
Well thanks for that for the thanks. But as I said the javascript wasn't mine. It was originally suggested by Savanna and the version I use was by oelk. I just wish I was so good at javascript. :)

Zorlan
02-21-2014, 05:47 AM
So... Anyone still doing this? I'm getting:

ERROR: Closing connection: NetStream.Play.Failed

..on a authenticated account. So maybe something has changed? Appreciate an updated working procedure, if anyone got it, or help on location the issue. I'm using the following script, and entering "./dump.sh Modelname" on the command line to start it:


#!/bin/bash
rtmpdump -z -r "rtmp://edge6-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/$1" -C S:Myusername -C S:$1 -C S:2.644 -
C S:pbkdf2_sha256\$12000\$smQcT4n1ByxT\$gjBG1HmjXtgi P3y\+KwtblahblahblahC2djrGTuUvi3E73\= -y "playpath" -o "$1.flv"

(Obivously my passsword hash is not exaclty what I pasted, but something similar)

malky
02-21-2014, 09:59 AM
No problems recording here.

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/*******" -C S:****** -C S:*****
-C S:2.644 -C S:pbkdf2_sha256$12000$Cml4dozmu5iA$bCs47aQOxTx7WIZ kdyTJMpgkWcfdXX/ZG8oONigPr4= -C S:6ba9a53862b1a4c741ede208635e24ebcfacfac7706629ed 631adabca107c3a3 -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "*******_1392961409.flv"
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
90991.479 kB / 5012.37 sec

yetanotherday
02-22-2014, 02:30 PM
still no one provide a simple solution to get this rtmpdump work on linux , seems i cant find the compiled version

rastamanx
03-12-2014, 12:52 PM
Looks like the bookmarklet is not working anymore on chromium v34

Arukarudo
03-12-2014, 01:57 PM
Chaturbate made a little change on their website on the way you get the version of the flash player, this one should work:

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=xmovie.data;swfv = swfu.substring(swfu.indexOf('CBV')+4,swfu.indexOf( '.swf'));swfv = swfv.replace('p','.');prompt('RTMPDumpCL','rtmpdum p -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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');

rastamanx
03-12-2014, 05:09 PM
It works indeed :)

rastamanx
03-12-2014, 08:31 PM
No problems recording here.

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/*******" -C S:****** -C S:*****
-C S:2.644 -C S:pbkdf2_sha256$12000$Cml4dozmu5iA$bCs47aQOxTx7WIZ kdyTJMpgkWcfdXX/ZG8oONigPr4= -C S:6ba9a53862b1a4c741ede208635e24ebcfacfac7706629ed 631adabca107c3a3 -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "*******_1392961409.flv"
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
90991.479 kB / 5012.37 sec

1/ -C S:****** = username
2/ -C S:***** = model username
3/ -C S:2.644 = client flash version
4/ -C S:pbkdf2_sha256 = user pass hash
5/ -C S:6ba9a53862b1a4c741ede208635e24ebcfacfac7706629ed 631adabca107c3a3
6/ -T "m9z#$dO0qe34Rxe@sMYxx%%" = secure token

Anyone can explain what this last (#5) S: param is and how do you get it through command line ?

Arukarudo
03-12-2014, 10:08 PM
I know this number change each room, but i don't know if it changes each streaming, you would need to check the same streaming at different times... but anyway the code is there on the html of the model page, if you're going to do it by command line you would need to download and process it with some script, you could use php for example. all the relevant info is inside the html right after this piece of code if (HasFlash()) { EmbedViewerSwf(

rastamanx
03-13-2014, 12:43 AM
Yeah I'm pretty sure it's a model room hash, and it's now needed.
No more directly running a batch script to rtmpdump, a first curl+egrep/gawk will prolly be needed (or php).

malky
03-14-2014, 04:48 AM
That's why you should use the bookmark script. It gets all the data you need and forms the rtmpdump command line ready for you to use. If you use multiple cmd windows you can record as many models as you want.

As for the use of anonymous. My old script still works no problem.

If you get the parameters using the javascript console parameter 5 is called rp. So probably room password I would have thought.

miles_gloriosus
03-16-2014, 12:39 AM
Thank you malky and Arukarudo!!!

malky
03-16-2014, 04:51 PM
While trying something new I accidently forgot to put the room password hash in the command line. I was surprised to see it still recorded!

Stream Ripper
03-16-2014, 10:31 PM
While trying something new I accidently forgot to put the room password hash in the command line. I was surprised to see it still recorded!

Wow, see if you can duplicate that again intentionally :)

stream23leech
03-18-2014, 06:50 PM
Is the script meant to work with RTMPDump v2.4 out of the box?

DEBUG: RTMP_ClientPacket, received: invoke 113 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: onStatus>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Play.Failed>
DEBUG: Property: <Name: description, STRING: security>
DEBUG: Property: <Name: clientid, NUMBER: 1071194377.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed
ERROR: Closing connection: NetStream.Play.Failed
DEBUG: Closing connection.

http://pastebin.com/Dyf75WhR

malky
03-19-2014, 01:18 AM
No. It only works with the KSV patched version of RTMPdump that is available from his github.

https://github.com/K-S-V/Scripts/downloads

yetanotherday
03-20-2014, 01:31 AM
No. It only works with the KSV patched version of RTMPdump that is available from his github.

https://github.com/K-S-V/Scripts/downloads
hello can u tell me how i can get this shit working on linux ubuntu without distroying system and download wrong dependencies ??
:o

which directive i will use to call the rtmpdump :confused: /home/ ??

malky
03-20-2014, 12:04 PM
You have my sympathies. They might slag off Windows but at least with windows you're more likely to find that someone has already sorted you problem.

yetanotherday
03-21-2014, 01:25 AM
You have my sympathies. They might slag off Windows but at least with windows you're more likely to find that someone has already sorted you problem.

nice reply :p

yetanotherday
03-21-2014, 05:55 AM
finally solved !
http://stream-recorder.com/forum/rtmpdump-do-compile-source-code-linux-like-t4229p4.html
:o
:eek:
this shit took me 2 years
:o
:eek:

stream23leech
03-23-2014, 08:54 PM
The error with Linux is based on $ and = in the command.

@KSV - amazing as usual!

TRemember to escape $ in shells where appropriate, and that \u003D is = (equals symbol), and you'll be good to go.

Thanks KSV again!

Bidul76
03-28-2014, 08:15 AM
I were able to make it work as well, i used the javascript that Malky provided, it had just one little error like basa666 pointed, it were an extra space that made the script get a wrong flash version.

So basically you will download the KSVs version of Rtmpdump from https://github.com/K-S-V/Scripts/releases (click the green button)

and if you're on:

Chrome
- Press Ctrl+D
- Click Edit
- Give any Name and on url you put 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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Save
- Go to the chaturbate page you want and click on the favorite button you just created
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

Firefox
- Go to the chaturbate's broadcaster page you want
- Press Ctrl+Shift+K
- Paste the 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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

And that is it =)
Thanks a lot for Malky and Basa666 for the great help!

Hello,

with Firefox I have this message :
TypeError: swfu is undefined

:confused:

thanks

malky
03-28-2014, 10:53 PM
Try typing :-

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.data; swfv = swfu.substring(swfu.indexOf('_')+1, swfu.lastIndexOf('.')).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']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');

Into the firefox javascript console. This works it's just a pity that if you use it from the bookmark bar cancelling the popup takes you away from the broadcaster.

Bidul76
03-31-2014, 01:18 AM
thanks a lot !!!

zugg
04-10-2014, 03:43 PM
So I'm using the latest checkout for rtmpdump from git, and compiled it using make across two different distros (Arch & Ubuntu 13.10), and both return me this lovely error message, which I can't seem to find much about:


Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed


edit 1:
Oh butts, it works fine when I tried it on a windows VM (with KSV's rtmpdump.exe), so it's something with my systems that is causing an issue, or something finnicky going on...

Arukarudo
04-10-2014, 08:59 PM
I didn't tried, but from I know you can't just compile the git version of rtmpdump.. you have to patch the git version, with the KSV's patch and then compile

Try that:
http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html

zugg
04-11-2014, 05:29 PM
I didn't tried, but from I know you can't just compile the git version of rtmpdump.. you have to patch the git version, with the KSV's patch and then compile

Try that:
http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html

Yeah that's what I was doing, it runs fine on a VM, just not my host OS's, NFI why :P.

yetanotherday
04-12-2014, 06:36 AM
So I'm using the latest checkout for rtmpdump from git, and compiled it using make across two different distros (Arch & Ubuntu 13.10), and both return me this lovely error message, which I can't seem to find much about:


Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed


edit 1:
Oh butts, it works fine when I tried it on a windows VM (with KSV's rtmpdump.exe), so it's something with my systems that is causing an issue, or something finnicky going on...

i used to have this problem for more than 2 years
the exact error was showing to me

just start from scratch ... remove rtmpdump ,rtmpdump directory + reset any changes then follow this instructions

http://stream-recorder.com/forum/rtmpdump-do-compile-source-code-linux-like-t4229p4.html

pronto89
04-13-2014, 11:33 AM
is it only me getting a
"Model status is error" since a couple of weeks?

malky
04-14-2014, 12:08 AM
I just tried recording. No problems here.

yetanotherday
04-14-2014, 03:00 AM
is it only me getting a
"Model status is error" since a couple of weeks?

log out from your acc and try again :D

Leifman
04-23-2014, 06:27 PM
is there any way to somehow config rtdump to record a "passworded" room if you actually know the password to it?
like not hack the room or record it without knowledge of the password, but rather knowing the password of the room to record it (and basically record the room without being inside the chat room or showing up in the user list)
coz password related all i always get is : "ERROR: Closing connection: NetStream.Play.Failed"

ilovestreamz1990
06-26-2014, 11:26 PM
RTMPDump v2.4 GIT-2012-11-01 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
INFO: Model status is erro
:confused:
they just update somethin yestoday , can someone send me a code with usernamehash which work? (you dont need to send your real name hash ,just make sure the code work,but i think they also change somethin with the namehash) ,you can send pm if you like t, :D

malky
06-28-2014, 12:22 PM
No change as for as I can see. The swf is still 2.45 and no problem recording with the bookmark script you'll find in previous posts to this thread.

malky
08-02-2014, 01:14 PM
I noticed the other day my ladroop chaturbate script had stopped working. Easy fixed just changed the @includes to https. Ominous signs of changes to come I wonder.

yetanotherday
08-03-2014, 01:38 AM
yes they start using https , since march 2013 they gonna paraonid !

i'm having problem watching streams via squid after this change :mad:

chaturbater
08-06-2014, 10:39 AM
I run a script to record some models I like (basicly it keeps checking if they are online), since yesterday cb updated something and now rtmpdump is weird, it seems like it detects some sort of stream from specific models (while they are offline) and it shows: "INFO: Connected..." but doesnt download anything, the problem is that doesnt timeout at all, I tried -timeout 5 or -timeout -m 5, can someone help me? :(

malky
08-06-2014, 11:10 AM
I'm still able to record with the bookmark script. If you could post some details I would be interested.

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

rtmpdump -v -r "rtmp://edge8-a.stream.highwebmedia.com/live-edge"
-p "http://chaturbate.com/******" -C S:****** -C S:****** -C S:2.645
-C S:pbkdf2_sha256$12000$Cml4dozmu5iA$bCs474QOx/Tx7WIZkdyTJMpgkWcfdXX/ZG8oONigPr4=
-C S:4e2167ada0cb48d85e38c8ba4997e7df30e15706d1146f30 0e387115a399a00b -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o
"******_1407344158.flv"
RTMPDump v2.4 GIT-2014-03-02 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
8430.740 kB / 214.71 sec
Caught signal: 2, cleaning up, just a second...
8439.382 kB / 214.84 sec
Download may be incomplete (downloaded about 0.00%), try resuming

chaturbater
08-06-2014, 11:38 AM
It doesnt happen to every model, just some, I could give you some examples though, maybe thru a private message?

DefectedToRussia
12-26-2014, 09:58 PM
skyDude14 , i have been testing this on jw player website but couldn't see the feed
http://www.longtailvideo.com/jw-player/wizard/

You have to grab the alternate way of RTMP to stream through a jw-player or VLC! (Well I think it's still RTMP at least { still port 1935 })

I have been a little confused on it too though, as with just 1 link you can get the stream rather than needing all that other data... Not sure why that is...

See my new thread here for how to stream it in that alternative way: http://stream-recorder.com/forum/cb-downloader-pro-initializerthread-t19168.html?t=19168

Basically you have to grab the link for the .m3u8 it's attempts to load if flash isn't installed or enabled, or if you look at the source and see the javascript code that executes if flash isn't present! However on the browser I was testing on with flash disabled: [firefox] It said mime type not supported and wouldn't load a video that way, but seeing 'webkit' string in the page code nearby suggests maybe safari browser would be able to? Or perhaps a plugin I don't have installed I might need to get.
See here->
http://i.imgur.com/Gs8BySa.png

And it working in your jwplayer link, after copying and pasting that alternate rtmp link: (Is source available for jwplayer? Doesn't seem like it, seems like they're charging just to use it...)
http://i.imgur.com/7BDX5P3.png

What I'm confused about is whether or not being logged in effects what that alternative link becomes! If not, that would be awesome as you could get many streams without needing to be logged in and it could be used as an alternative to rtmpdump maybe... or at least an alternative way to get the stream. :)

yetanotherday
12-27-2014, 01:49 AM
You have to grab the alternate way of RTMP to stream through a jw-player or VLC! (Well I think it's still RTMP at least { still port 1935 })

I have been a little confused on it too though, as with just 1 link you can get the stream rather than needing all that other data... Not sure why that is...

See my new thread here for how to stream it in that alternative way: http://stream-recorder.com/forum/cb-downloader-pro-initializerthread-t19168.html?t=19168

Basically you have to grab the link for the .m3u8 it's attempts to load if flash isn't installed or enabled, or if you look at the source and see the javascript code that executes if flash isn't present! However on the browser I was testing on with flash disabled: [firefox] It said mime type not supported and wouldn't load a video that way, but seeing 'webkit' string in the page code nearby suggests maybe safari browser would be able to? Or perhaps a plugin I don't have installed I might need to get.
See here->
http://i.imgur.com/Gs8BySa.png

And it working in your jwplayer link, after copying and pasting that alternate rtmp link: (Is source available for jwplayer? Doesn't seem like it, seems like they're charging just to use it...)
http://i.imgur.com/7BDX5P3.png

What I'm confused about is whether or not being logged in effects what that alternative link becomes! If not, that would be awesome as you could get many streams without needing to be logged in and it could be used as an alternative to rtmpdump maybe... or at least an alternative way to get the stream. :)

http://i.imgur.com/3XI4Bwd.gif

nullacht
12-27-2014, 02:57 AM
You have to grab the alternate way of RTMP to stream through a jw-player or VLC!

[...]

Basically you have to grab the link for the .m3u8 it's attempts to load if flash isn't installed or enabled, or if you look at the source and see the javascript code that executes if flash isn't present!

Livestreamer supports Chaturbate.com [see changelog from April 21, 2014]:

https://github.com/chrippa/livestreamer/releases

http://livestreamer.readthedocs.org/en/latest/plugin_matrix.html

Plugins:

Added plugin for Chaturbate