Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods to workI've had Capturebate working for years in Ubuntu 12.04, but I was recently forced to change servers. The new one is Ubuntu 16.04 and nothing I try works =/ (Although it's possible that there's some setting or dependency I don't know about is blocking it.)
Capturebate seems to run smoothly until it's time to record the actual stream. Then it creates a 0kb file and dies. If I run the leftover shell script myself with the --verbose option, I get: Code:
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: 817360195.00> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed ERROR: Closing connection: NetStream.Play.Failed Here's the actual command from the model.sh file, with my personal information changed. I've tried it with the rtmpdump binary you compile from ksv (that comes with Capturebate), the rtmpdump that you get with apt-get install rtmpdump, and the rtmpdump from my old server. Code:
/home/me/cb/rtmpdump-ksv/rtmpdump --quiet --live --rtmp "rtmp://edge9.stream.highwebmedia.com/live-edge" --pageUrl "http://chaturbate.com/chroniclove" --conn S:myusername --conn S:chroniclove --conn S:2.645 --conn S:pbkdf2_sha256\$24000\$xxxxxxxxxx\$xxxxxxxxxxxgxxxyxxxxxxxxxxxxxxxxxxxxxx\= --token "xxx#xxxxxxxxx@xxxxxx" --playpath "playpath" --flv "/home/me/CaptureBate/captured/chroniclove_09-14-2016_16.35.flv" Code:
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 WARNING: Trying different position for client digest! Processing connect app: live-edge flashVer: LNX 11,2,202,632 swfUrl: https://chaturbate.com/static/flash/CBV_2p650.swf tcUrl: rtmp://edge12.stream.highwebmedia.com/live-edge pageUrl: https://chaturbate.com/chroniclove/ WARNING: Trying different position for client digest! Processing connect app: live-chat flashVer: LNX 11,2,202,632 swfUrl: https://chaturbate.com/static/flash/CBV_2p650.swf tcUrl: rtmp://chat3.highwebmedia.com/live-chat pageUrl: https://chaturbate.com/chroniclove/ Playpath: mp4:rtmp://origin17.stream.highwebmedia.com/live-origin/chroniclove-sd-4eb78e9eb5231a70fa31c8236be0d6550ebbf5e6cda1b805fdfec3021c008523 Saving as: chroniclove-sd-4eb78e9eb5231a70fa31c8236be0d6550ebbf5e6cda1b805fdfec3021c008523 WARNING: ignoring too small audio packet: size: 0 Code:
#!/bin/bash /usr/bin/rtmpdump \ --rtmp rtmp://edge12.stream.highwebmedia.com/live-edge \ --playpath mp4:rtmp://origin17.stream.highwebmedia.com/live-origin/chroniclove-sd-4eb78e9eb5231a70fa31c8236be0d6550ebbf5e6cda1b805fdfec3021c008523 \ --app live-edge \ -W https://chaturbate.com/static/flash/CBV_2p650.swf \ --pageUrl https://chaturbate.com/chroniclove/ \ --flashVer "LNX 11,2,202,632" \ -o rttest.flv \ --verbose \ --live \ Code:
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: 246530619.00> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed ERROR: Closing connection: NetStream.Play.Failed Basically, I just completely stuck here. I've been banging my head against this all week, trying different things. I would be grateful for any scripting solution for recording shows in Ubuntu 16.04. It doesn't have to be Capturebate; if I can find a rtmpdump command that works (or anything else that works), I'll write my own scripts to do it automatically. I know there are supposedly Firefox plugins that will do it, but I'd rather not do that; I'd rather use a script, or something that works completely on the command line. Thanks to anyone who took the time to read this. |
#2
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toKeep in mind the swf and server change around alot, what you need is a script that generates them
from the --pageUrl rtmp://edge?.stream.highwebmedia.com/live-edge CBV_?????.swf Code:
@echo off setlocal enableDelayedExpansion set USERNAME=AnonymousUser set PASSWORD=anonymous set CB_VERSION=9 set OUT_DIR= 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 Last edited by ihryjfbd : 09-14-2016 at 07:42 PM. |
#3
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toBut Capturebate does all that, and outputs a command. It's that the command isn't working anymore on Ubuntu 16. (It works on my Ubuntu 12 box.)
The command is Code:
/home/me/cb/rtmpdump-ksv/rtmpdump --quiet --live --rtmp "rtmp://edge9.stream.highwebmedia.com/live-edge" --pageUrl "http://chaturbate.com/chroniclove" --conn S:myusername --conn S:chroniclove --conn S:2.645 --conn S:pbkdf2_sha256\$24000\$xxxxxxxxxx\$xxxxxxxxxxxgxxxyxxxxxxxxxxxxxxxxxxxxxx\= --token "xxx#xxxxxxxxx@xxxxxx" --playpath "playpath" --flv "/home/me/CaptureBate/captured/chroniclove_09-14-2016_16.35.flv" Last edited by scotchwiz2 : 09-15-2016 at 12:32 PM. |
#4
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toHave you tried signing into your account to see if your account is still valid? my account is still valid but had login problems yesterday and wouldn't record, usr:AnonymousUser pass:anonymous still worked fine to record though, it's working again now today though.
It's worth keep two scripts around one for your account and another one for AnonymousUser You could also try changing the commands from long name to short name, although i'm sure the verbose log would spit out a unsupported error command if that where the case, from the look of your log it's failing to validate login. Does chaturbaterec work in wine? |
#5
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toQuote:
Quote:
|
#6
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toQuote:
wine is used to emulate windows programs under linux. |
#7
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toI also experienced the problem with rtmpdump on Ubuntu 16.04, however managed to solve the issue.
I just want to say it's possible, but I could not give you the right answer straight away, because is was a couple month ago and I don't remember it. But, what I'm gonna recommend you is to check librtmp.so.1 library, apparently Ubuntu by default has it's own version of this file and even though you compile you own rtmpdump, it uses wrong library and fails. Try to replace the library. Let me know, if the problem is still there. |
#8
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods toHow would I force it to use the version I want it to use?
Just to be on the safe side, I just now tried installing the patched version via these instructions; still a no go. Last edited by scotchwiz2 : 09-16-2016 at 03:36 PM. |
#9
|
|||
|
|||
Re: How to record Chaturbate in Ubuntu 16? Can't get Capturebate or other methods to[quote=scotchwiz2;87573]How would I force it to use the version I want it to use?
sudo find / -name "librtmp.so.1" there will be several paths, something like (more or less) /usr/lib/i386-linux-gnu/librtmp.so.1 /usr/local/lib/librtmp.so.1 copy and replace these files by your newly compiled library (should be in subfolder for your rtmpdump-ksv) |
Tags: capturebate, chaturbate, rtmpdump |
Thread Tools | |
Display Modes | |
|
|