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)

non90 12-02-2012 04:42 AM

Re: chaturbate.com: SecureToken problems


 
@RDLS

I would guess it interprets the "-r" not as a parameter of rtmpdump but as a command itself inside the batch file. So I think this is not an error message of rtmpdump but of your operating system. Even to try to see what is wrong there it would be very helpful to see the code of your batch file.

RDLS 12-02-2012 09:46 AM

Re: chaturbate.com: SecureToken problems


 
Ok here it is:

Code:

rtmpdump

-r "rtmpe://edge4-b.stream.highwebmedia.com/live-edge"
-W "http://chaturbate.com/static/flash/CBV_2p627.swf"
-p "http://chaturbate.com/model_name/"
-y "mp4:%username%-sd-2c42ecd59c03850eaee04fd89924ee5c3a24b1a41b56711cf3c0176135569ad8"
-o "CB\%username%-%date:~-4,4%%date:~-7,2%%date:~-10,2%%time:~-11,2%%time:~-8,2%%time:~-5,2%.flv"
-C S:username
-C S:%username%
-C S:2.627
-C S:password
-T "m9z#$dO0qe34Rxe@sMYxx%"
--live

pause

Of course I may be missing something that's completely obvious, I'm really only a beginner when it comes to stuff like this. But I'm almost positive that this is how I had it set up before my computer crashed.

KSV 12-02-2012 09:52 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by RDLS (Post 57049)
But I'm almost positive that this is how I had it set up before my computer crashed.

it's wrong. in batch file everything separated by newline is treated as separate command. put all parameters in single line and try again.

non90 12-02-2012 11:55 AM

Re: chaturbate.com: SecureToken problems


 
Of course Master KSV is right! :)

This should do it - just copy and paste (and edit your settings of course)...
Code:

rtmpdump -r "rtmpe://edge4-b.stream.highwebmedia.com/live-edge" -W "http://chaturbate.com/static/flash/CBV_2p627.swf" -p "http://chaturbate.com/model_name/" -y mp4:%username%-sd-2c42ecd59c03850eaee04fd89924ee5c3a24b1a41b56711cf3c0176135569ad8" -o "CB\%username%-%date:~-4,4%%date:~-7,2%%date:~-10,2%%time:~-11,2%%time:~-8,2%%time:~-5,2%.flv" -C S:username -C S:%username% -C S:2.627 -C S:password -T "m9z#$dO0qe34Rxe@sMYxx%%" --live
pause


RDLS 12-02-2012 01:07 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by KSV (Post 57050)
it's wrong. in batch file everything separated by newline is treated as separate command. put all parameters in single line and try again.

Quote:

Of course Master KSV is right!

This should do it - just copy and paste (and edit your settings of course)...
Code:
rtmpdump -r "rtmpe://edge4-b.stream.highwebmedia.com/live-edge" -W "http://chaturbate.com/static/flash/CBV_2p627.swf" -p "http://chaturbate.com/model_name/" -y mp4:%username%-sd-2c42ecd59c03850eaee04fd89924ee5c3a24b1a41b56711cf3 c0176135569ad8" -o "CB\%username%-%date:~-4,4%%date:~-7,2%%date:~-10,2%%time:~-11,2%%time:~-8,2%%time:~-5,2%.flv" -C S:username -C S:%username% -C S:2.627 -C S:password -T "m9z#$dO0qe34Rxe@sMYxx%%" --live
pause
Haha I knew it was something simple that I was missing. Thank you both so much for your help, I'll try this and let you know how it goes.


EDIT: I fixed the code but now whenever I try to use the batch it automatically uses the name of profile I use to sign on to this computer where as before it had allowed me to type in the username of the person on chaturbate. I looked over it a bit and compared the code to some of my older stuff, but none of my edits have worked so far. Am I missing something simple again?
This is the updated code I am using:
Code:

%username%

rtmpdump -r "rtmpe://edge4-b.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,3,300,271" -W "http://chaturbate.com/static/flash/CBV_2p627.swf" -p "http://chaturbate.com/%username%/" -y "mp4:%username%-sd-2c42ecd59c03850eaee04fd89924ee5c3a24b1a41b56711cf3c0176135569ad8" -o "chaturbate\%username%-%date:~-4,4%%date:~-7,2%%date:~-10,2%%time:~-11,2%%time:~-8,2%%time:~-5,2%.flv" -C S:genericfemalecam -C S:%username% -C S:2.627 -C S:pbkdf2_sha256^$10000^$359rVHwP0C4J^$QsaV6o5/5HHjbxnhaaAeMM7lu1En+XPK6NIJOe+/aws\= -T "m9z#$dO0qe34Rxe@sMYxx%%" --live
pause


ellefften 12-02-2012 01:50 PM

Re: chaturbate.com: SecureToken problems


 
cdn.highwebmedia.com down?

non90 12-02-2012 02:04 PM

Re: chaturbate.com: SecureToken problems


 
@RDLS
Yeah you missing something. :) Use this...
Code:

set /p username= What is the username to record? 
title %username%
rtmpdump [...]

For the records... first line prompts for the model name you want to record, the second one set the window title to the name of the model (not necessary but nice).

Beware that I did not repeat the full rmtpdump command line, you have to add that.



@ellefften
Yeah, something is wrong. I can't get a cam working in my browser, but saving it with rtmpdump works fine.

rtmposiris 12-05-2012 09:38 PM

Re: chaturbate.com: SecureToken problems


 
Hi guys, I am practically new practically new to rtmpdump. I am on a ubuntu 12.10 machine. Has anybody tried KSV's patch on it?

Also how was the secure token calculated as "m9z#$dO0qe34Rxe@sMYxx%" ?? If i apply KSV's patch to the latest rtmpdump from "git://git.ffmpeg.org/rtmpdump" and build my own binary, will I need a different token?

tia ..

rtmposiris 12-05-2012 11:31 PM

Re: chaturbate.com: SecureToken problems


 
okay looked at the previous posts, so the secure token does not depend on the OS ... learnt that it always stays "m9z#$dO0qe34Rxe@sMYxx%". I will get a build on linux and see if i can get it running ..

savanna 12-06-2012 12:49 PM

Re: chaturbate.com: SecureToken problems


 
Well it seems to me that you can have javascript do the work of constructing a command string. No need to type a model's name into a prompt. The following works if you put it in the bookmarks bar in Firefox and click the bookmark when you have entered a room. You could even modify this to extract things like the password hash automatically, have fun!

Code:

javascript:var%20a=document.getElementById('movie');var%20b=a.childNodes[6].value;%20var%20c=b.indexOf('&');var%20d=b.substr(4,c-4);%20alert('rtmpdump%20-r%20"rtmpe://edge2-b.stream.highwebmedia.com/live-edge"%20-W%20"http://chaturbate.com/static/flash/CBV_2p627.swf"%20-p%20"http://chaturbate.com/'+d+'/"%20-C%20S:AnonymousUser%20-C%20S:'+d+'%20-C%20S:2.627%20 -C S:anonymous%20-y%20"anything"%20-o%20'+d+'t.flv%20-T%20"m9z#$dO0qe34Rxe@sMYxx%"')


All times are GMT -6. The time now is 09:48 PM.