View Single Post
  #288  
Old 07-26-2013, 03:03 AM
Mestameh Mestameh is offline
Junior Member
 
Join Date: Jul 2013
Posts: 1
Mestameh is on a distinguished road
Default

Re: chaturbate.com: SecureToken problems


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.

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

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.
Reply With Quote