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)
-   -  

Automated Chaturbate Recording Under Linux

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

CrazyNash 01-06-2015 12:03 PM

Re: Automated Chaturbate Recording Under Linux


 
You can try −−verbose or even −−debug (rtmpdump parameters) to have additionnal informations.

str3amer 01-08-2015 09:26 PM

Re: Automated Chaturbate Recording Under Linux


 
Getting the following error:

Code:

user@debian:~/Downloads/CaptureBate-master$ python main.py
Traceback (most recent call last):
  File "main.py", line 15, in <module>
    Remove_folder(Script_folder)
  File "/home/user/Downloads/CaptureBate-master/config.py", line 32, in Remove_folder
    shutil.rmtree(folder)
  File "/usr/lib/python2.7/shutil.py", line 252, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
    os.remove(fullname)
OSError: [Errno 13] Permission denied: 'Scripts/cbmodel.sh'
user@debian:~/Downloads/CaptureBate-master$

Any ideas?

CrazyNash 01-09-2015 04:50 AM

Re: Automated Chaturbate Recording Under Linux


 
I hadn't that problem but a few ideas (assuming you're running under linux and not windows), as this error indicates that the auto-generated shell script (which is running the rtmpdump) can't be executed on your system :
- is your bash installation correct ? is bash available in your PATH before running this python script ?
- is your UMASK correct ? try setting a umask of 0 to have generated files have permissions 777 (just for the try)
- alternatively, you may probably edit the run.py script and modify the subprocess.Popen line to have something like "subprocess.Popen('/bin/bash '+script,cwd='Scripts/')

str3amer 01-09-2015 03:33 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by CrazyNash (Post 73130)
I hadn't that problem but a few ideas (assuming you're running under linux and not windows), as this error indicates that the auto-generated shell script (which is running the rtmpdump) can't be executed on your system :
- is your bash installation correct ? is bash available in your PATH before running this python script ?"subprocess.Popen('/bin/bash '+script,cwd='Scripts/')

bash installation? I have no clue, I just followed the setup described at Page 1 as well as the following code:


Code:

sudo apt-get install python-pip
apt-get install libssl-dev

cd /home/user/Downloads/CaptureBate-master/

sudo pip install -r requirements.txt

cd […] /rtmpdump-ksv-ksv/
make
sudo make install prefix=/usr

how can I check bash availability of my path?


Im new to linux, and linux isn't that beginner friendly

EDIT: "apt-get install bash" -> bash is already the current version. How do I check if bash is available in "my PATH"?
Im running Debian 7.7 (wheezy, 64-bit) in Oracle VM VirtualBox 4.3 in Windows7

EDIT2: turns out, the folders "Captured" and "Scripts" are only accessable through root terminal: But, when done in root terminal, there is no reaction... I can type whatever I want, no response. When pressing arrow up, down, left or right I get ^[[A, ^[[B, ^[[D or ^[[C

Farquaad 01-10-2015 04:33 AM

Re: Automated Chaturbate Recording Under Linux


 
hi,
for me Capturbare run great on Raspberry pi (debian)
but i have buy an Odroid-C1 and it run under unbutu 14.04 LTS and i have some issue with the script

Code:

10/01/2015 09:58:54 PM INFO:Starting application: version 7.0
10/01/2015 09:58:54 PM INFO:Connecting to https://chaturbate.com/auth/login/
10/01/2015 09:58:55 PM INFO:Starting new HTTPS connection (1): chaturbate.com
10/01/2015 10:01:02 PM ERROR:Some error during connecting to https://chaturbate.com/auth/login/
10/01/2015 10:01:02 PM ERROR:('Connection aborted.', error(110, 'Connection timed out'))
10/01/2015 10:01:02 PM ERROR:Trying again after 60 seconds

anyone can help me ?
thx

Farquaad 01-12-2015 05:54 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by Farquaad (Post 73163)
hi,
for me Capturbare run great on Raspberry pi (debian)
but i have buy an Odroid-C1 and it run under unbutu 14.04 LTS and i have some issue with the script

Code:

10/01/2015 09:58:54 PM INFO:Starting application: version 7.0
10/01/2015 09:58:54 PM INFO:Connecting to https://chaturbate.com/auth/login/
10/01/2015 09:58:55 PM INFO:Starting new HTTPS connection (1): chaturbate.com
10/01/2015 10:01:02 PM ERROR:Some error during connecting to https://chaturbate.com/auth/login/
10/01/2015 10:01:02 PM ERROR:('Connection aborted.', error(110, 'Connection timed out'))
10/01/2015 10:01:02 PM ERROR:Trying again after 60 seconds

anyone can help me ?
thx

solved

CrazyNash 01-25-2015 06:36 AM

Re: Automated Chaturbate Recording Under Linux


 
Just to let you know, now i'm running under archlinux, and everything seems to work even better (previously i had sometimes files with 0 size created - the file on disk was 0 bytes but the rtmpdump process was ok in memory on a ps).

Still with python2.7, i don't have anymore the weird python errors i had from time to time (like "referenced before assignment" errors that where killing the script after a few days), also.

c4170001 02-03-2015 04:37 PM

Re: Automated Chaturbate Recording Under Linux


 
Nevermind.

ThunderIt 02-07-2015 04:13 AM

Re: Automated Chaturbate Recording Under Linux


 
What ways to use this script via proxy?

kanink 02-07-2015 06:25 PM

Re: Automated Chaturbate Recording Under Linux


 
Hello

Ive got some problems and to be honest, Im more a beginner. Please dont be too hard with me.

First of all: I downloaded all files, extracted em and out em to Debian 7 Desktop. First question: Do I have to put rtmpdump ksv, chaturbate master, ffmpeg and beautifulsoup all in the same folder? Do I have to install the downloaded files via terminal?

Second: I put my username and password (not hash) into config.conf... right so far? and I put the username and hash password into nodellists.py. So the password part Ive to replace "pw" text and in the username part there was "USER.lower()". Do i have to replace "USER.lower()" completele or just put in my username in "(...)" or do I have to replace "USER". Im confused.

Third: Where to put outcome path into config.conf? There is no "outcome:". There is only "RTMPDUMP: /usr/bin/rtmpdump"

Fourth: If everything I did was right... how to solve this error: couldnt read valid conf... (etc). But I think I did wrong

Fifth: Is there a "beginner tutorial debian for idots" somewhere? I have some clues how to do several things, but tutorials like this one "how to use capturebate" are a bit confusing (i think thats because basics arent mentioned here and I dont know all basics)

- I read the problems/questions on the other pages in this thread. I guess there are some helping spots but I dont really get it, its all partwise for a specific error/question. Is there a possibility to explain how to install and use this from begin with step for step for idiots?

coalmorning 02-10-2015 03:41 AM

Re: Automated Chaturbate Recording Under Linux


 
Anyone get this script working in Lubuntu as a VMWare Workstation VM?

I can get the script running without error, though when it records, it creates a 0kb flv file, then when the script rechecks after that 45 second pause, it creates another 0kb file, and just keeps repating that every 45 seconds without ever recording an actual stream.

I've tried installing rtmpdump 2 ways. 1st way just as described in capturbates readme. 2nd way I installed via synaptic. Same behavior both ways.

I've got this running fine in Linux Mint and Ubuntu. But it wont record in Lubuntu or Xbuntu as a VMWare virtual machine.

Any suggestions?

kanink 02-10-2015 06:19 PM

Re: Automated Chaturbate Recording Under Linux


 
I know that error somewhere. Are you logged in (on chaturbate)?

coalmorning 02-12-2015 02:59 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by coalmorning (Post 74027)
Anyone get this script working in Lubuntu as a VMWare Workstation VM?

I can get the script running without error, though when it records, it creates a 0kb flv file, then when the script rechecks after that 45 second pause, it creates another 0kb file, and just keeps repating that every 45 seconds without ever recording an actual stream.

I've tried installing rtmpdump 2 ways. 1st way just as described in capturbates readme. 2nd way I installed via synaptic. Same behavior both ways.

I've got this running fine in Linux Mint and Ubuntu. But it wont record in Lubuntu or Xbuntu as a VMWare virtual machine.

Any suggestions?


Well, I think I figured the problem. Apparently you need to build rtmpdump with a specific command for certain distros. Well, thats at least the case for me, also keep in mind I'm using Linux in a VMWare Workstation VM.

I got RTMPDUMP working in Lubuntu, Peppermint, and Xbuntu distros by compiling RTMPDUMP with the following command:

Code:

make SYS=posix
then the following to install...

Code:

make install

To get RTMPDUMP working in Linux Mint and Ubuntu, all I had to do was compile it with the "make" command.

I'm currently using the Peppermint Distro. It's really light weight, and easy on the RAM, only 370MB RAM with the script recording a few streams. So far, so good.

meskman 02-17-2015 08:10 AM

Re: Automated Chaturbate Recording Under Linux


 
@ohhdemgirls: Why are you blocking me on github? I know that you got the code that was uploaded to github by mistake. I'm not judging you. I'm just curious why you are so devious.

Farquaad 03-21-2015 04:57 AM

Re: Automated Chaturbate Recording Under Linux


 
development is dead ?

ohhdemgirls 03-21-2015 04:17 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by meskman (Post 74229)
@ohhdemgirls: Why are you blocking me on github? I know that you got the code that was uploaded to github by mistake. I'm not judging you. I'm just curious why you are so devious.

See PM, not devious, just wanted to keep your name out of it when you jumped ship.

Quote:

Originally Posted by Farquaad (Post 75020)
development is dead ?

No, still active and ported, see forks and join empornium.

ironsheik 03-25-2015 01:11 AM

Re: Automated Chaturbate Recording Under Linux


 
Can Capturebate record private and password shows?

Farquaad 03-25-2015 04:41 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by ironsheik (Post 75108)
Can Capturebate record private and password shows?

no if you want record private show buy token en buy "Bandicam"


and Thx ohhdemgirls :)

flipper2011 03-31-2015 09:06 PM

Re: Automated Chaturbate Recording Under Linux


 
I know this is thread is kind of dead, but anyone having a problem with the script? never really had any issues till earlier this morning when all files that are recorded are 0 bytes. it might have happened occasionally previous but now it's happening all the time. I rebooted and tried different things but no luck. any ideas? It also creates the 0 byte file over and over every time thru the routine.

alliknowisyayo 04-01-2015 03:14 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by ohhdemgirls (Post 75035)
See PM, not devious, just wanted to keep your name out of it when you jumped ship.


No, still active and ported, see forks and join empornium.


Hey, I can't get your program to work on raspberry Pi running Raspbian. Keep getting errors ranging from Permission denied to script not even starting.

If you would be so kind, could you write a step-by-step tutorial to get this working starting from a fresh install of Raspbian (Debian). Thanks :).

alliknowisyayo 04-01-2015 07:15 PM

Re: Automated Chaturbate Recording Under Linux


 
Yeah I keep getting this error:


./blancnoir.sh: 2: ./blancnoir.sh: /home/pi/rtmpdump-ksv: Permission denied

when using /usr/bin/rtmpdump (installed rtmpdump in that folder too):

./blancnoir.sh: 2: ./blancnoir.sh: /usr/bin/rtmpdump: Permission denied

Pls help

c4170001 04-02-2015 08:43 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by alliknowisyayo (Post 75389)
Yeah I keep getting this error:


./blancnoir.sh: 2: ./blancnoir.sh: /home/pi/rtmpdump-ksv: Permission denied

when using /usr/bin/rtmpdump (installed rtmpdump in that folder too):

./blancnoir.sh: 2: ./blancnoir.sh: /usr/bin/rtmpdump: Permission denied

Pls help

https://github.com/duradesondstarm/CaptureBate/

Use this fork and save yourself some trouble.

meskman 04-06-2015 03:11 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by flipper2011 (Post 75350)
I know this is thread is kind of dead, but anyone having a problem with the script? never really had any issues till earlier this morning when all files that are recorded are 0 bytes. it might have happened occasionally previous but now it's happening all the time. I rebooted and tried different things but no luck. any ideas? It also creates the 0 byte file over and over every time thru the routine.

0 byte files appear in case model is in private or hidden mode. It creates file and starts capturing but interrupts because of that. So if you see a lot zero-bytes files it means script had a several attempts to capture private or hidden stream.

vovvan 04-07-2015 08:37 AM

Re: Automated Chaturbate Recording Under Linux


 
Hi I have a problem I can not run this script, I would be very grateful if it were someone made 7 debian image with this script in virtualbox:(

flipper2011 04-19-2015 07:41 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by meskman (Post 75484)
0 byte files appear in case model is in private or hidden mode. It creates file and starts capturing but interrupts because of that. So if you see a lot zero-bytes files it means script had a several attempts to capture private or hidden stream.

that wasn't the issue, I never found the issue, but I switched to the fork version above.. it worked correctly.

musterman 05-17-2015 04:26 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by flipper2011 (Post 75922)
that wasn't the issue, I never found the issue, but I switched to the fork version above.. it worked correctly.

I have the same problem but neither using the fork nor specifying the system helped

so like vovvan I would be very gratefull for a small virtualbox image with the script already installed

ps: I just want to say that I really appreciate this script and I am happy someone took the time and made this available to the public

dealercohagen 05-20-2015 10:26 PM

Re: Automated Chaturbate Recording Under Linux


 
Is there a Windows version available?, I installed Debian 8 on my other computer and tried to get this to work but I couldn't, because I am not familiar with Linux, I couldn't even get python to work, I will try again with Debian 7, I would really like to use this since I always missing shows from my favorite performers.

James Halpert 05-21-2015 01:21 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by dealercohagen (Post 76795)
Is there a Windows version available?, I installed Debian 8 on my other computer and tried to get this to work but I couldn't, because I am not familiar with Linux, I couldn't even get python to work, I will try again with Debian 7, I would really like to use this since I always missing shows from my favorite performers.

Just install virtualbox, any PC made in the last 7-8 years is capable of running virtualbox. Within VirtualBox a Debian 7 VM would only need 256MB or so worth of RAM, and 1 core should suffice, 2 cores if you have a crap CPU (like one of those piece of shit i3 or i5 CPUs).

Best part is, its all open source and free, plus its far easier to setup and work with than installing an OS on a spare PC.

dealercohagen 05-23-2015 12:32 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by James Halpert (Post 76798)
Just install virtualbox, any PC made in the last 7-8 years is capable of running virtualbox. Within VirtualBox a Debian 7 VM would only need 256MB or so worth of RAM, and 1 core should suffice, 2 cores if you have a crap CPU (like one of those piece of shit i3 or i5 CPUs).

Best part is, its all open source and free, plus its far easier to setup and work with than installing an OS on a spare PC.

Thanks for the tip, I installed virtualbox on my PC couldn't find Debian 7 so I installed 8, I couldn't get the original script working so I tried the fork version and I got it running but it's not recording, it just creates empty folders with model names, not sure what I'm doing wrong, this is what my output log looks like...


Code:

23/05/2015 02:12:21 AM INFO:Starting application: version 7.0
23/05/2015 02:12:21 AM INFO:Connecting to https://chaturbate.com/auth/login/
23/05/2015 02:12:21 AM INFO:Starting new HTTPS connection (1): chaturbate.com
23/05/2015 02:12:23 AM INFO:Redirecting to https://chaturbate.com/followed-cams/
23/05/2015 02:12:24 AM INFO:[Models_list] 4 models are online: [u'model01', u'model02', u'model03', u'model04']
23/05/2015 02:12:24 AM INFO:[Select_models] Which models are approved?
23/05/2015 02:12:24 AM INFO:[Select_models] model02 is approved
23/05/2015 02:12:24 AM INFO:[Select_models] model03 is approved
23/05/2015 02:12:24 AM INFO:Starting recording of model02
23/05/2015 02:12:25 AM INFO:Starting recording of model03
23/05/2015 02:12:26 AM INFO:Waiting for 45 seconds
23/05/2015 02:12:36 AM INFO:No stream on model03
23/05/2015 02:12:37 AM INFO:No stream on model02
23/05/2015 02:13:11 AM INFO:Connecting to https://chaturbate.com/auth/login/
23/05/2015 02:13:11 AM INFO:Starting new HTTPS connection (1): chaturbate.com
23/05/2015 02:13:13 AM INFO:4 Models in the list before checking: [u'model01', u'model02', u'model03', u'model04']
23/05/2015 02:13:13 AM INFO:Redirecting to https://chaturbate.com/followed-cams/
23/05/2015 02:13:15 AM INFO:[Models_list] 4 models are online: [u'model01', u'model02', u'model03', u'model04']
23/05/2015 02:13:15 AM INFO:[Compare_lists] Checking model list:
23/05/2015 02:13:15 AM INFO:[Compare_lists] model02 is still being recorded
23/05/2015 02:13:15 AM INFO:[Compare_lists] model03 is still being recorded
23/05/2015 02:13:15 AM INFO:[Select_models] Which models are approved?
23/05/2015 02:13:15 AM WARNING:[Select_models]  No models for approving
23/05/2015 02:13:15 AM INFO:[Loop]Model list after check looks like: 2 models:
 [u'model01', u'model04']
 and models currently being recorded are:
 [u'model02', u'model03']
23/05/2015 02:13:15 AM INFO:[Sleep] Waiting for next check (45 seconds)


I get this error...


Code:

Models currently recorded: [u'model02', u'model03']
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 331, in getMessage
    msg = str(self.msg)
TypeError: __str__ returned non-string (type SysCallError)
Logged from file connection.py, line 36


dealercohagen 05-27-2015 05:05 AM

Re: Automated Chaturbate Recording Under Linux


 
I tried the original script again after trying to properly install RTMPDump and it's working now, but after running it for 3 hours or so it stopped recording new modes and it showed this error...


Code:

26/05/2015 11:29:33 AM INFO:Connecting to https://chaturbate.com/auth/login/
26/05/2015 11:29:33 AM INFO:Starting new HTTPS connection (1): chaturbate.com
26/05/2015 11:29:38 AM ERROR:Some error during posting to https://chaturbate.com/auth/login/
26/05/2015 11:29:38 AM ERROR:('Connection broken: IncompleteRead(4548 bytes read)', IncompleteRead(4548 bytes read))


I had to restart it to get it working again.

dealercohagen 05-28-2015 01:47 AM

Re: Automated Chaturbate Recording Under Linux


 
Why this script only works on Linux and not on Windows?...Python, RTMPDump, Livestreamer and BeautifulSoup4 all work on Windows so shouldn't this script work on Windows as well, would it be posible to make a few changes here and there to get it running on Windows? I tried running it but wouldn't connect.


Code:

28/05/2015 01:44:16 AM INFO:Starting application: version 7.0
28/05/2015 01:44:16 AM INFO:Connecting to https://chaturbate.com/auth/login/
28/05/2015 01:44:16 AM INFO:Starting new HTTPS connection (1): chaturbate.com
28/05/2015 01:44:17 AM ERROR:Some error during connecting to https://chaturbate.com/auth/login/
28/05/2015 01:44:17 AM ERROR:hostname 'chaturbate.com' doesn't match u'*.chaturbate.com'
28/05/2015 01:44:17 AM ERROR:Trying again after 60 seconds


I know I can just use Linux on virtualbox and that's what I've been doing and it's working so far but my problem is transferring the videos from Guest to Host, I tried to install Guest Additions but could not get it to work I tried using a USB flash drive but that didn't work either, so I had to upload all the videos and then download them to my PC, I prefer not doing any transferring or uploading and just have the videos saved to direct to my Windows PC, so if anyone can help me out I would highly appreciate.

cidman 07-15-2015 04:54 PM

Re: Automated Chaturbate Recording Under Linux


 
Is this still working on the linux side.
All of a sudden today they changed either rtmp servers or the name of the servers

nevermind i figured it out, i deleted most of this post as it was unnecessary. I will check back later if anyone is having issues to help

Ignisbe 07-17-2015 02:40 PM

Re: Automated Chaturbate Recording Under Linux


 
Recently ive started to get the model status is error when using rtmpdump. Used to work fine, double check the passhash and the location of the stream and it all seems ok.

Any other ideas?

blubbii91 08-06-2015 07:24 AM

Re: Automated Chaturbate Recording Under Linux


 
hi guys,

im new here and i have a few issues and questions about this.
Im currently using a linux ubuntu VM for this.
But i just stuck in the part where i have to put my pwhash into the modellist.py File. Line 79 is a completly emtpy line for me, what is wrong there? Can you please give me a hint where i have to put the pwhash and username in this file?
In the config file i have to put my pw in normal form alright?

I just tryed to run the main.py in terminal by using "./main.py" but got the following error message:
Code:


$ ./main.py
./main.py: line 3: $'\nMain file that includes all functions in appropriate order\n': command not found
from: can't read /var/mail/config
from: can't read /var/mail/time
./main.py: line 15: syntax error near unexpected token `Remove_folder'
./main.py: line 15: `        Remove_folder(Script_folder)'

Thanks in advance and sorry for bad english. Im also normaly a windows user and have this vm "only" for education purposes.

c4170001 08-06-2015 03:01 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by blubbii91 (Post 78756)
hi guys,

im new here and i have a few issues and questions about this.
Im currently using a linux ubuntu VM for this.
But i just stuck in the part where i have to put my pwhash into the modellist.py File. Line 79 is a completly emtpy line for me, what is wrong there? Can you please give me a hint where i have to put the pwhash and username in this file?
In the config file i have to put my pw in normal form alright?

I just tryed to run the main.py in terminal by using "./main.py" but got the following error message:
Code:


$ ./main.py
./main.py: line 3: $'\nMain file that includes all functions in appropriate order\n': command not found
from: can't read /var/mail/config
from: can't read /var/mail/time
./main.py: line 15: syntax error near unexpected token `Remove_folder'
./main.py: line 15: `        Remove_folder(Script_folder)'

Thanks in advance and sorry for bad english. Im also normaly a windows user and have this vm "only" for education purposes.

You only need to enter your username and password in the config file, it finds the hash automatically. No idea what you did to get those other errors though...

Anyway, I recommend using capturebate-node, much less hassle, pretty sure it works in Windows without modification and doesn't generate a new file every minute.

dealercohagen 08-07-2015 05:13 AM

Re: Automated Chaturbate Recording Under Linux


 
capturebate-node works on Windows, the only problem is when a model goes private it generate a new file every few seconds with 0 KB, is there a way to fix this?, also how do I stop recording properly? I tried Ctrl+C, it stops but the videos that was recording is not seekable and 00:00 duration.

blubbii91 08-07-2015 06:44 PM

Re: Automated Chaturbate Recording Under Linux


 
Hi thanks for that advice.
I did all steps to install capturbate-node and i tryed to use "screen" for running main.js.
So i installed screen by doing sudo apt-get screen. But when i type "screen" in terminal followed by "node main.js" nothing happens for me? There is no output but also no error message.
Can anyone help me?

Thanks in advance!

c4170001 08-07-2015 10:52 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by dealercohagen (Post 78764)
capturebate-node works on Windows, the only problem is when a model goes private it generate a new file every few seconds with 0 KB, is there a way to fix this?, also how do I stop recording properly? I tried Ctrl+C, it stops but the videos that was recording is not seekable and 00:00 duration.

The 0KB files also happens with the original Python version, it's just due to the way RTMPDump works. The reason it's creating them so often is because it rechecks every 10 milliseconds, which I believe is a mistake on the programmer's behalf. Just change the interval in your config to, for example, 60000 for every minute.

As for your other question, I don't really have a solution for exiting gracefully (I never need to manually exit), but you can create a .bat file with the following, it should fix most things:

Code:

ffmpeg -i "%~1" -async 1 -vcodec copy -acodec libvo_aacenc "%~p1%~n1 fix.flv"
Just have to drag a file into it and you're good to go.
Quote:

Originally Posted by blubbii91 (Post 78793)
Hi thanks for that advice.
I did all steps to install capturbate-node and i tryed to use "screen" for running main.js.
So i installed screen by doing sudo apt-get screen. But when i type "screen" in terminal followed by "node main.js" nothing happens for me? There is no output but also no error message.
Can anyone help me?

Thanks in advance!

Do you know what screen is for? If you're running it under a Linux VM that will be running on your computer 24/7, you should just be running it using 'python main.js', which you will want to try first anyway, to see if it actually works. Like I mentioned though, it does work on Windows so you don't need to go through the hassle of using a VM.

musterman 08-17-2015 02:55 PM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by dealercohagen (Post 78764)
capturebate-node works on Windows, the only problem is when a model goes private it generate a new file every few seconds with 0 KB, is there a way to fix this?, also how do I stop recording properly? I tried Ctrl+C, it stops but the videos that was recording is not seekable and 00:00 duration.

could you explain how you got capturebate-node to work on windows?
i tried to run it and says that all models that i follow are online which was not true for the moment i started it
then it shows a message that every model stopped streaming then it starts again
this repeats again and again creating a 0kb for each model everytime

dealercohagen 08-20-2015 01:47 AM

Re: Automated Chaturbate Recording Under Linux


 
Quote:

Originally Posted by musterman (Post 78980)
could you explain how you got capturebate-node to work on windows?
i tried to run it and says that all models that i follow are online which was not true for the moment i started it
then it shows a message that every model stopped streaming then it starts again
this repeats again and again creating a 0kb for each model everytime



Extract rtmpdump-2.4 to capturebate-node folder then press and hold the shift key and right click on the folder and click on Open Command Window Here, copy this
Code:

npm install bluebird
npm install js-yaml
npm install bhttp
npm install cheerio
npm install moment
npm install mkdirp
npm install string
npm install errors
npm install rtmpdump

paste it and press enter.
after it installed the packages, run it using node main.js

It worked for me, not sure it will work for you.


All times are GMT -6. The time now is 02:31 PM.