Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (Adult streaming videos) (http://stream-recorder.com/forum/forumdisplay.php?f=40)
-   -  

Chaturbate Sample Rtmpdump

(http://stream-recorder.com/forum/showthread.php?t=22633)

troller12 01-22-2017 02:09 PM

Re: Chaturbate Sample Rtmpdump


 
Hi again,

@ ecoeco

So not all paramter you have to use are static.Also in your default example there is no app paramter you have to use.Also remember not to use the edge value twice just once to play or record or the rtmp stream.Below a example....
Code:

rtmpdump -v -r "rtmp://edge??.stream.highwebmedia.com/live-edge" -p "https://chaturbate.com" -C S:AnonymousUser -C S:Modelxy -C S:2.651 -C S:anonymous -y "mp4:......." | "player" -
...use it like this.Dynamics are server address and the playpath of course.For ?? you can diffrent values from none till over 80 also you can use a / b too to have more addresses.If you hit same address twice then you get a failed message (now switch value).Remember that also not all slots are available everyday.

About playlist.So if you want to use Livestreamer then you should grab the m3u8 links directly from each model page and execute it with LS to play or record them.
Code:

[cli][info] Found matching plugin stream for URL hlsvariant://https://edge54.str
eam.highwebmedia.com/live-edge/modelxy-sd-..._fast_aac/playlist.m3u8
[cli][info] Available streams: 480p (worst, best)
[cli][info] Opening stream: 480p (hls)
[cli][info] Starting player: C:\Programme\MPC-HC\mpc-hc.exe

So I didnt try the latest LS version now but the simple way to use just the sitename/model dosent work with that LS version 1.12.2 and I get "Could not open stream: Missing #EXTM3U header".

PS: Just use RtmpDumpHelper to grab the stream paramters or other tools etc.If RtmpDumpHelper dosent work (OS isuue etc) then you could use rtmpsuck alone + hooking connect API sending the datas to your localhost address.So there are some methods you could try.

greetz

wrapped_it_up_and_sent_it 01-22-2017 09:52 PM

Re: Chaturbate Sample Rtmpdump


 
Quote:

Originally Posted by rykorb (Post 89483)
Details on how to fix livestreamer can be found here:

https://github.com/chrippa/livestreamer/issues/1569

This thread also make mention of streamlink, a fork of livestreamer, which is still being updated.

Thanks for highlighting this, managed to fix capturebate on my Raspberry Pi with this.

In case there's anyone out there looking for specific steps to fix their own livestreamer-based capturebate setup on Raspi (and likely anything Linux), then you simply need to:

Code:

cd /usr/lib/python2.7/dist-packages/livestreamer/plugins
Code:

sudo nano chaturbate.py
Then replace

Quote:

_playlist_url_re = re.compile("html \+= \"src='(?P<url>[^']+)'\";")
with
Quote:

_playlist_url_re = re.compile("loadHlsVideo\('(?P<url>[^']+)")
Hit Ctrl+X, press y, and enter. This will save the file. It should now work. The inital directory might be different depending on your python version.

j_cool 01-23-2017 01:56 AM

Re: Chaturbate Sample Rtmpdump


 
RtmpdumpHelper / Rtmpsuck fail more and more often.

Is it rtmpsuck that fails or man in the middle ?

This is not clear to me:

quote:

If RtmpDumpHelper dosent work (OS isuue etc) then you could use rtmpsuck alone + hooking connect API sending the datas to your
localhost address.

Can you post some link to read more about this or to working example?

troller12 01-23-2017 05:23 AM

Re: Chaturbate Sample Rtmpdump


 
Hi,

if RtmpdumpHelper / Rtmpsuck fail etc then check whether you did add the right port or range into the list to scan for.Also check the browser you do use so Chrome can make trouble (I dont use it).

If you fail to get any stream data then its a rtmpsuck issue or stream is protected etc.

Mostly I dont use Rtmpdump anymore and just in/de-ject my own hook dll into the process to pipe to localhost and using rtmpsuck to show / read the stream datas without to record files.So there are no infos / examples so far and I just made it by myself.Maybe its not a good info I did post for none coder people.

greetz

j_cool 01-23-2017 05:49 AM

Re: Chaturbate Sample Rtmpdump


 
Good info to me though I cannot code my own dll,
or code on rtmpsuck.

guestbuy 01-23-2017 03:16 PM

Re: Chaturbate Sample Rtmpdump


 
Is there a current branch of CaptureBate? I only see the one dated 2015.

Moonspell 01-26-2017 11:44 AM

Re: Chaturbate Sample Rtmpdump


 
Quote:

Originally Posted by ihryjfbd (Post 89464)
Code:

@echo off
setlocal enableDelayedExpansion

set USERNAME=AnonymousUser
set PASSWORD=anonymous
set CB_VERSION=9
set OUT_DIR=C:\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


Brilliant, pretty easy and well done batch :)

ihryjfbd 01-27-2017 06:42 AM

Re: Chaturbate Sample Rtmpdump


 
Thanks could do with a few more statements than error or offline, anyone know the codes for group, private, ticket shows?

Can you try changing these too let me know if it create a folder for each model.

Code:

set OUT_DIR=C:\captures
set SECONDS=15
set /p model=Enter username:

Code:

set SECONDS=15
set /p model=Enter username:
set OUT_DIR=C:\captures\%model%

Not sure if the drive letter is real requirement or you can just set to dump in the current dictionary as rtmpdump.

Damianonymous 01-29-2017 05:41 PM

Re: Chaturbate Sample Rtmpdump


 
%model% does not create a subfolder for the model. The drive letter is not needed, just set OUT_DIR=captures. The script works very well, if you can, add a function minFileSizeMb: ;)

P.S if you can clear the mail box (messages sent) You can not contact you ;)

http://stream-recorder.com/forum/pri...p=&folderid=-1

ihryjfbd 01-31-2017 09:50 AM

Re: Chaturbate Sample Rtmpdump


 
Ok try this instead, created the model folder for me just recording kokette22 now.

Code:

set OUT_DIR=C:\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%)

to

Code:

set SECONDS=15

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

set OUT_DIR=captures\%model%


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

minFileSizeMb??
you could add this which clear the folder of all zero byte files.

Code:

:doCapture
for /r %%F in (*) do if %%~zF==0 @del "%%F"



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