Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Automated Chaturbate Recording Under Linuxhttps://github.com/ohhdemgirls/CaptureBate/
CaptureBate lets you follow and archive your favorite models shows on chaturbate.com Requirements (Debian 7, minimum) RTMPDump(ksv) used to capture the streams. BeautifulSoup4 the screen-scraping library. ffmpeg compiled with support for libmp3lame & libspeex audio for converting the output files. Setup First off you need a chaturbate account, once you're signed up put your credentials in the config.conf file, next you need to get your hashed password for RTMPDump. To get your hash you need to be signed in, then go any models page who is currently online, right click to view page source and search for pbkdf2_sha256$ the full hash will look something like pbkdf2_sha256$12000$QwwcaxjaV3Ik$cZHXVde52w+Fl6In5 4Ay5ZeMQMAFueQgwnnLbkTWT5g\u003D copy your hash into a text editor and escape each $ with a \ then replace u003D with = once you've formatted your hash it should look like pbkdf2_sha256\$12000\$QwwcaxjaV3Ik\$cZHXVde52w+Fl6 In54Ay5ZeMQMAFueQgwnnLbkTWT5g\= you can then paste it into the rtmpdump line modellists.py#L79 be sure to also replace the username on the same line just before your hash. Now set your output directory in config.conf *optional, will default to CaptureBate/Captured/ Be mindful when capturing many streams at once to have plenty of space on disk and the bandwidth available or you'll endup dropping a lot of frames and the files will be useless. Before you can start capturing streams you first need to follow the models you want on site and then paste their usernames into the wishlist.txt file, once you have done this you're ready to start main.py Running & Output To start capturing streams you need to run python main.py I reccomend you do this in screen as there is no output and it can just be left running in the background. To see what's going on run tail -f output.log Standard output should look something this when recording streams .. Code:
17/11/2014 09:37:13 PM INFO:Connecting to https://chaturbate.com/auth/login/ 17/11/2014 09:37:13 PM INFO:Starting new HTTPS connection (1): chaturbate.com 17/11/2014 09:37:15 PM INFO:0 Models in the list before checking: [] 17/11/2014 09:37:15 PM INFO:Redirecting to https://chaturbate.com/followed-cams/ 17/11/2014 09:37:16 PM INFO:[Models_list] 2 models are online: [u'hottminx', u'adryeenmely'] 17/11/2014 09:37:16 PM INFO:[Compare_lists] Checking model list: 17/11/2014 09:37:16 PM INFO:[Compare_lists] hottminx is still being recorded 17/11/2014 09:37:16 PM INFO:[Compare_lists] adryeenmely is still being recorded 17/11/2014 09:37:16 PM INFO:[Loop]List of new models for adding: [] 17/11/2014 09:37:16 PM INFO:[Select_models] Which models are approved? 17/11/2014 09:37:16 PM WARNING:[Select_models] No models for approving 17/11/2014 09:37:16 PM INFO:[Loop]Model list after check looks like: 0 models: [] and models currently being recorded are: ['adryeenmely', 'hottminx'] 17/11/2014 09:37:16 PM INFO:[Sleep] Waiting for next check (45 seconds) Once you've captured some streams you're going to need to convert the audio to have them play nice in vlc, etc. This is where ffmpeg comes in, there is no need to convert the video so this doesn't take too long. To convert individual files do ffmpeg -i input.flv -vcodec copy -acodec libmp3lame output.mp4 this will convert the speex audio to mp3 and change the container to mp4 (stream is h264) If you want to batch convert your captured streams run find ./ -name '*.flv' -execdir mkdir converted_bates \;; for file in *.flv; do ffmpeg -i "$file" -vcodec copy -acodec libmp3lame "converted_bates/${file%.flv}.mp4"; done from your CaptureBate/Captured/ directory. If you don't want to do any conversion you can install the speex audio codec which is a huge pain in the ass to get working correctly under linux/vlc. A project like this needs to have users and as much active development as possible to stay alive, while there are a few other methods to capture streams CaptureBate aims at being a set and forget archiving tool for your favorite models, follow CaptureBate on GitHub and help by sharing anywhere you see fit or fixing any issues that may arise. Donations. btc: 1EMZSrLCLEoCYZfQ5ZC1Ly4b8HeeYRaWaF Last edited by ohhdemgirls : 11-17-2014 at 05:42 PM. Reason: Color |
#2
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxFile "main.py", line 6, in <module>
import connection File "/home/banditnew/Programs/CaptureBate-master/connection.py", line 7, in <module> from MyAdapter import MyAdapter File "/home/banditnew/Programs/CaptureBate-master/MyAdapter.py", line 2, in <module> from requests.packages.urllib3.poolmanager import PoolManager ImportError: No module named packages.urllib3.poolmanager i have this error |
#3
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxDo sudo apt-get install python-urllib3
|
#4
|
|||
|
|||
Re: Automated Chaturbate Recording Under Linuxpython-urllib3 is already the newest version.
but not working |
#5
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxYou're using ubuntu aren't you? .. yeah, dump that run Debian 7 as recommended and tested in, I can't offer support for all other variants or I'd be doing so forever, Debian 7 is testing with the minimum requirements listed.
You can overcome this issue by replacing from requests.packages.urllib3.poolmanager import PoolManager with from urllib3.poolmanager import PoolManager in MyAdapter.py#L2 |
#6
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxGreat job on this, works fantastic. Gotta a problem though.
I can’t get it to work in Debian 7. It simply will not record in Debian. Maybe I set my environment up wrong or theres something wrong with flash in Debian 7 latest release. I'm testing it in a Debian 7 virtual machine, using the latest Debian release. The scripts run without error, however it won't record. I tested rtmpdump recording a different network stream, and it worked fine, though flash video only plays back audio, and no vidoe is showing. Does flash work in the latest Debian? I got this to work in Ubunut, and it worked fine, just not having luck in Debian. Any suggestion on what I might be instaling wrong. I posted some log output below, models names replaced with asterisks. Code:
23/11/2014 02:55:43 PM INFO:[Sleep] Waiting for next check (45 seconds) 23/11/2014 02:56:28 PM INFO:Connecting to https://chaturbate.com/auth/login/ 23/11/2014 02:56:28 PM INFO:Starting new HTTPS connection (1): chaturbate.com 23/11/2014 02:56:29 PM INFO:3 Models in the list before checking: [u'********', u'********', u'********'] 23/11/2014 02:56:29 PM INFO:Redirecting to https://chaturbate.com/followed-cams/ 23/11/2014 02:56:30 PM WARNING:******** model is now in private mode 23/11/2014 02:56:30 PM INFO:[Models_list] 3 models are online: [u'********', u'********', u'********'] 23/11/2014 02:56:30 PM INFO:[Compare_lists] Checking model list: 23/11/2014 02:56:30 PM INFO:[Loop]List of new models for adding: [u'********', u'********', u'********'] 23/11/2014 02:56:30 PM INFO:[Select_models] Which models are approved? 23/11/2014 02:56:30 PM INFO:[Select_models] ******** is approved 23/11/2014 02:56:30 PM INFO:[Select_models] ******** is approved 23/11/2014 02:56:30 PM INFO:[Get_links] ********.sh is created 23/11/2014 02:56:31 PM INFO:[Get_links] ********.sh is created 23/11/2014 02:56:31 PM INFO:[Run_scripts] Running scripts: 23/11/2014 02:56:31 PM INFO:[Run_scripts] Run: ********.sh 23/11/2014 02:56:31 PM INFO:[Run_scripts] Run: ********.sh 23/11/2014 02:56:31 PM INFO:[Loop]Model list after check looks like: 3 models: [u'********', u'********', u'********'] and models currently being recorded are: [] 23/11/2014 02:56:31 PM INFO:[Sleep] Waiting for next check (45 seconds) |
#7
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxI've had zero issues working on Debian 7 (x64) fresh install on a digital ocean droplet, with just the 2 actual dependencies installed (beautifulsoup4/rtmpdump-ksv)
It seems most users have the issues of librtmp.so.1 not being in the right place, this is fixed with sudo cp rtmpdump-ksv-ksv/librtmp/librtmp.so.1 /usr/lib or they messed up their password hash when copying / escaping characters which causes rtmpdump to exist instantly. |
#8
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxThanks for that quick reply.
Can you reccomend the proper method to install rtmpdump-ksv. The method I use is as follows, which might be my initial problem... git clone https://github.com/BurntSushi/rtmpdump-ksv.git open terminal in rtmpdump-ksv directory, and run command... make SYS=posix make install i've installed using the command above and tried others as well such as... make install and... make sudo make install prefix=/usr Thanks for the help. |
#9
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxUnder Debian 7 (x64) I've just done (as root)
Code:
git clone https://github.com/BurntSushi/rtmpdump-ksv cd rtmpdump-ksv make make install cp librtmp/librtmp.so.1 /usr/lib $ make SYS=darwin is recommended in linux/unix environments but I've never needed it. |
#10
|
|||
|
|||
Re: Automated Chaturbate Recording Under LinuxI cloned rtmpdump as root, which cloned to my home directory. Then installed as you posted. I ensured librtmp.so.1 was in /usr/lib, which it was, and ran the program, it still did'nt record. I then copied over librtmp.so and librtmp.3 to /usr/lib just to see if that did anythin, and nothing recored.
I got this working on Ubuntu, so I'm certain my pass and hash is correct, but just having no luck with Debian. Any other possible suggestions to try. Thnaks again for the help. |
Tags: cams, capture, capturebate, chaturbate, debian, ffmpeg, linux, program, record, rtmpdump |
Thread Tools | |
Display Modes | |
|
|