PDA

View Full Version : Yet another newbie question (rtmpdump and chaturbate)


Xyvia
05-19-2014, 01:58 PM
Hello,

Same as most other members requesting help, i'm new on this forum and in the whole recording stuff.

I've been reading alot, but sadly, the more I read, the less I understand.
So here are a few questions, which I hope someone can answer:

-I'm trying to figure out how rtmpdump, but i'm unable to connect correctly on chaturbate (I'm getting a handshake error while trying) - I found an old command that i modified a bit (like flash version and such) but i'm guessing they changed their rtmpe address?

-Could someone possibly post a working cmd command that would work correctly?

- I read somewhere that it's possible to record private shows, however the post was written 2 years ago - Is this still possible to do?

-I heard they changed the password hash encoding, so I'm supposed to add "^" before every "$" and replace "\u003D" with "=" Is this still a thing?

Thank you in advance!

Luminal
05-20-2014, 02:14 PM
I'm using RTMPDumpHelper along with rtmpdump so that it automatically gets the parameters/info and downloads the stream. However, it does crashes whenever the model goes group/private. If anyone have a fix for this, let me know

bigbill902
05-21-2014, 03:16 AM
Download KSV's patched RTMPDUMP:
https://github.com/K-S-V/Scripts/releases
Download a copy of FFMPEG:
http://ffmpeg.zeranoe.com/builds/
Batch File:
https://gist.github.com/anonymous/820f2f254e5b56a40397
Save this text to a batch file "filename.bat"

Make sure you have a copy of ffmpeg.exe and rtmpdump.exe along with the batchfile in the same folder

Edit it.
Replace username with your chaturbate username
Replace PASSHASH with the password found when you viewsource on a chaturbate streampage CTRL-F password while viewing source on active stream.

should find something like this:
password: 'pbkdf2_sha256$12000$miururYxwHTS$yTDnPMUw8Q4Vp7ud 8/tktrj2WKhOCz98w4BjGaMcKsw\u003D',

you want the stuff within the qoutes

If you do all that right. When you run the batchfile it will ask you for the channel name then start download and encoding the stream at the sametime.


because chaturbate uses speex codec for the audio the sound will not work in most players. the use of ffmpeg to encode the rtmpdump on the fly prevents this.

betoso01
06-16-2014, 05:11 PM
Thanks bigbill902, your info helped

deckofcards
06-17-2014, 04:46 PM
How do you stop the recoring? and where are the video files saved to?

sa.tan
06-16-2015, 01:02 PM
hi,

one question bigbill, or anyone who can help>> what should I use as Channel name?

the problem is> whatever I use as Channel name, the batch file starts, but after short time I got the error msg> Model status is error.

I tried password show, private show, but got this error all the time.

thanks for any help.

minipc
06-17-2015, 06:59 PM
hi,

one question bigbill, or anyone who can help>> what should I use as Channel name?

the problem is> whatever I use as Channel name, the batch file starts, but after short time I got the error msg> Model status is error.

I tried password show, private show, but got this error all the time.

thanks for any help.

did you try using the broadcaster name for the channel ?

sa.tan
06-19-2015, 06:31 AM
did you try using the broadcaster name for the channel ?

well this works, I am so stupid for not to try this :D

thanks a lot minipc, you are the hero today :)

sa.tan
07-30-2015, 06:23 AM
all works fine now with free chat. but not in password show, any ideas guys? :confused:

mohqwt
07-31-2015, 08:15 AM
Download KSV's patched RTMPDUMP:
https://github.com/K-S-V/Scripts/releases
Download a copy of FFMPEG:
http://ffmpeg.zeranoe.com/builds/
Batch File:
https://gist.github.com/anonymous/820f2f254e5b56a40397
Save this text to a batch file "filename.bat"

Make sure you have a copy of ffmpeg.exe and rtmpdump.exe along with the batchfile in the same folder

Edit it.
Replace username with your chaturbate username
Replace PASSHASH with the password found when you viewsource on a chaturbate streampage CTRL-F password while viewing source on active stream.

should find something like this:
password: 'pbkdf2_sha256$12000$miururYxwHTS$yTDnPMUw8Q4Vp7ud 8/tktrj2WKhOCz98w4BjGaMcKsw\u003D',

you want the stuff within the qoutes

If you do all that right. When you run the batchfile it will ask you for the channel name then start download and encoding the stream at the sametime.


because chaturbate uses speex codec for the audio the sound will not work in most players. the use of ffmpeg to encode the rtmpdump on the fly prevents this.

how can i make this file dont close his self when the model make refresh and waiting the model to be online , or Continue , sorry for my bad english

onago
08-09-2015, 02:15 AM
how can i make this file dont close his self when the model make refresh and waiting the model to be online , or Continue , sorry for my bad english

Here you go. Probably better than any script on this forum. If the model is offline or private, it will retry after 15 seconds infinitely.

@echo off
setlocal enableDelayedExpansion

set USERNAME=AnonymousUser
set PASSWORD=anonymous
set CB_VERSION=9
set OUT_DIR=captures
set SECONDS=15

set /p model=Enter username:
set model=%model:https://chaturbate.com/=%
set model=%model:/=%

if not exist %OUT_DIR% (mkdir %OUT_DIR%)

for /L %%i in (1,1,99) do (
set N=!time:~9,12!
set /a N=10000!N! %% 10000
set rand=!random!
set /a rand=!rand!* 31/32768+1
set /a rand=!N!+!rand!
set /a rand=!rand!*31/131+1
)
set server=edge%rand%

:doCapture
set ts=%date:/=-%_%time::=-%
set ts=%ts: =%
set output=%OUT_DIR%\%model%_%ts%.flv
set PASSWORD=%PASSWORD:\u003D==%

color 2F && title %model% @ %time% - %server%
cls && echo Capturing: %model% @ %time% - %server% && echo.

rtmpdump --live --timeout 20 ^
-r "rtmp://%server%.stream.highwebmedia.com/live-edge" ^
-p "http://chaturbate.com/%model%" ^
-C S:%USERNAME% ^
-C S:%model% ^
-C S:%CB_VERSION% ^
-C S:%PASSWORD% ^
-y "playpath" -o %output%

for %%r in (%output%) do (
if %%~zr lss 1 del %output%
color 4F && title %model% - OFFLINE
)

set /a rand=%random%*31/32768+1
set server=edge%rand%

timeout %SECONDS%
goto doCapture


A real account isn't required, because it randomly picks from 1 of 31 stream servers. However, only one connection per server is allowed for anonymous users. But after 15 seconds it will try another random server.

If you need more instances, it's better to replace the USERNAME and PASSWORD fields with a real account. The password hash is easily obtained by searching for "pbkdf2_sha256" in the source of any stream page when logged in.