View Single Post
  #78  
Old 08-07-2015, 10:52 PM
c4170001 c4170001 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 28
c4170001 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by dealercohagen View Post
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 View Post
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.
Reply With Quote