Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording (Adult streaming videos)
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #21  
Old 12-09-2014, 05:54 AM
flipper2011 flipper2011 is offline
Junior Member
 
Join Date: Sep 2011
Posts: 17
flipper2011 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Thank you I will try it tonight!

Quote:
Originally Posted by zugg View Post
Debian / Ubuntu:
Code:
sudo apt-get update
sudo apt-get install supervisor
sudo nano /etc/supervisor/conf.d/capturbate.conf

Code:
[program:capturebate]
directory=/home/deploy/CaptureBate
command=python /home/deploy/CaptureBate/main.py
autostart=true
autorestart=true
stderr_logfile=/var/log/capturbate.err.log
stdout_logfile=/var/log/capturbate.out.log
Change the directory and command directory to where your directory is.

Then run:
Code:
sudo supervisorctl reread
Should tell you that all is fine.

Then run:

Code:
sudo supervisorctl update
And it should be started, to check run:

Code:
sudo supervisorctl
And it should output something like:
Code:
capturebate                      RUNNING    pid 24295, uptime 0:01:46
Reply With Quote
  #22  
Old 12-09-2014, 06:00 PM
flipper2011 flipper2011 is offline
Junior Member
 
Join Date: Sep 2011
Posts: 17
flipper2011 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by flipper2011 View Post
Thank you I will try it tonight!
Note: im running as root and I didn't need to do sudo but everything else was followed but I got this:

Everything was perfect until the last step, supervisorctl

Code:
root@debian:~/Apps/Captureb# supervisorctl
capturebate                      FATAL      Exited too quickly (process log may have details)

This is the log file it created:

Code:
2014-12-09 19:51:20,788 CRIT Supervisor running as root (no user in config file)
2014-12-09 19:51:20,835 INFO RPC interface 'supervisor' initialized
2014-12-09 19:51:20,835 WARN cElementTree not installed, using slower XML parser for XML-RPC
2014-12-09 19:51:20,835 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2014-12-09 19:51:20,837 INFO daemonizing the supervisord process
2014-12-09 19:51:20,838 INFO supervisord started with pid 19621
2014-12-09 19:55:48,756 INFO spawned: 'capturebate' with pid 19677
2014-12-09 19:55:49,142 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:50,145 INFO spawned: 'capturebate' with pid 19679
2014-12-09 19:55:50,149 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:52,153 INFO spawned: 'capturebate' with pid 19680
2014-12-09 19:55:52,157 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:55,163 INFO spawned: 'capturebate' with pid 19681
2014-12-09 19:55:55,168 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:56,169 INFO gave up: capturebate entered FATAL state, too many start retries too quickly
Reply With Quote
  #23  
Old 12-10-2014, 04:17 AM
zugg zugg is offline
Junior Member
 
Join Date: Mar 2014
Posts: 10
zugg is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by flipper2011 View Post
Note: im running as root and I didn't need to do sudo but everything else was followed but I got this:

Everything was perfect until the last step, supervisorctl

Code:
root@debian:~/Apps/Captureb# supervisorctl
capturebate                      FATAL      Exited too quickly (process log may have details)

This is the log file it created:

Code:
2014-12-09 19:51:20,788 CRIT Supervisor running as root (no user in config file)
2014-12-09 19:51:20,835 INFO RPC interface 'supervisor' initialized
2014-12-09 19:51:20,835 WARN cElementTree not installed, using slower XML parser for XML-RPC
2014-12-09 19:51:20,835 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2014-12-09 19:51:20,837 INFO daemonizing the supervisord process
2014-12-09 19:51:20,838 INFO supervisord started with pid 19621
2014-12-09 19:55:48,756 INFO spawned: 'capturebate' with pid 19677
2014-12-09 19:55:49,142 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:50,145 INFO spawned: 'capturebate' with pid 19679
2014-12-09 19:55:50,149 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:52,153 INFO spawned: 'capturebate' with pid 19680
2014-12-09 19:55:52,157 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:55,163 INFO spawned: 'capturebate' with pid 19681
2014-12-09 19:55:55,168 INFO exited: capturebate (exit status 127; not expected)
2014-12-09 19:55:56,169 INFO gave up: capturebate entered FATAL state, too many start retries too quickly
Did:
Code:
sudo supervisorctl reread
show that everything was fine?

And:
Code:
sudo supervisorctl update
Was ran?

I don't run capturbate as root, I run it as a user, you may want to try that. Otherwise, edit /etc/supervisor/supervisord.conf and add loglevel=debug to the [supervisord] section.


P.S:
To get rid of the warning about CElementtree:
Code:
sudo apt-get install python2.6-celementtree
Should fix it for Debian.
Reply With Quote
  #24  
Old 12-11-2014, 04:13 PM
flipper2011 flipper2011 is offline
Junior Member
 
Join Date: Sep 2011
Posts: 17
flipper2011 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


It didn't work in debian 7 as root but then I tried to do it as normal user but it didn't work correctly and I ended up switching to Mint 17.1 and it worked flawlessly as a user. THANKS

Quote:
Originally Posted by zugg View Post
Did:
Code:
sudo supervisorctl reread
show that everything was fine?

And:
Code:
sudo supervisorctl update
Was ran?

I don't run capturbate as root, I run it as a user, you may want to try that. Otherwise, edit /etc/supervisor/supervisord.conf and add loglevel=debug to the [supervisord] section.


P.S:
To get rid of the warning about CElementtree:
Code:
sudo apt-get install python2.6-celementtree
Should fix it for Debian.
Reply With Quote
  #25  
Old 12-11-2014, 05:55 PM
zugg zugg is offline
Junior Member
 
Join Date: Mar 2014
Posts: 10
zugg is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by flipper2011 View Post
It didn't work in debian 7 as root but then I tried to do it as normal user but it didn't work correctly and I ended up switching to Mint 17.1 and it worked flawlessly as a user. THANKS
No probs, I run it with Ubuntu 14.04.1LTS and all works well .
Reply With Quote
  #26  
Old 12-11-2014, 10:29 PM
flipper2011 flipper2011 is offline
Junior Member
 
Join Date: Sep 2011
Posts: 17
flipper2011 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by zugg View Post
No probs, I run it with Ubuntu 14.04.1LTS and all works well .
Since you seem to have all the answers can you give me EXACT instructions to get FFMPEG to work - no matter what I try it doesn't work (so I can't use this VM to convert). I just copy the files to my Windows session and manually do it, but if I can get FFMPEG to work correctly, it would help

Also, unrelated, is there a simple way to STOP recording someones cam (after it already is started). I was recording someone that was on all day and it was more or less a waste of 4gig's of space so I wanted to abort the cam recording, but ended up just restarting mint and that worked.
Reply With Quote
  #27  
Old 12-15-2014, 03:45 AM
zugg zugg is offline
Junior Member
 
Join Date: Mar 2014
Posts: 10
zugg is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by flipper2011 View Post
Since you seem to have all the answers can you give me EXACT instructions to get FFMPEG to work - no matter what I try it doesn't work (so I can't use this VM to convert). I just copy the files to my Windows session and manually do it, but if I can get FFMPEG to work correctly, it would help

Also, unrelated, is there a simple way to STOP recording someones cam (after it already is started). I was recording someone that was on all day and it was more or less a waste of 4gig's of space so I wanted to abort the cam recording, but ended up just restarting mint and that worked.
Here is my Dockerfile, which I use for Ubuntu 14.04, which you can draw from: https://github.com/zugg/capturbate-d...ter/Dockerfile

Also, not sure how to stop, as it would just resume recording them as they are on your wishlist.
Reply With Quote
  #28  
Old 12-21-2014, 04:43 PM
CrazyNash CrazyNash is offline
Junior Member
 
Join Date: Dec 2014
Posts: 8
CrazyNash is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by coalmorning View Post
I 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.
I have the exact same problem : no recording.
Regarding github issues, same problem than the issue #8 "0 byte files" (all files have a size of 0).

Removing the "--quiet" option in models.py gives me the error :
"ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)".

I *do* have installed the KSV patch (in /usr/bin).
I've either git cloned the KSV repository and too tryed to git clone the ffmpeg original rtmpdump repository then apply the KSV Patch.diff file before compiling : still the same problem (Connection refused).

I really don't see what i'm missing ...
I'm running Ubuntu but as far as i can tell it should be irrelevant for this issue ...

It is a rtmpdump issue, of course, but if anyone would have a solution, i would be grateful.

Thanks anyway for this script that seems to be very well done (so bad the recording doesn't work for the now).
Reply With Quote
  #29  
Old 12-22-2014, 05:26 PM
zugg zugg is offline
Junior Member
 
Join Date: Mar 2014
Posts: 10
zugg is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Quote:
Originally Posted by CrazyNash View Post
I have the exact same problem : no recording.
Regarding github issues, same problem than the issue #8 "0 byte files" (all files have a size of 0).

Removing the "--quiet" option in models.py gives me the error :
"ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)".

I *do* have installed the KSV patch (in /usr/bin).
I've either git cloned the KSV repository and too tryed to git clone the ffmpeg original rtmpdump repository then apply the KSV Patch.diff file before compiling : still the same problem (Connection refused).

I really don't see what i'm missing ...
I'm running Ubuntu but as far as i can tell it should be irrelevant for this issue ...

It is a rtmpdump issue, of course, but if anyone would have a solution, i would be grateful.

Thanks anyway for this script that seems to be very well done (so bad the recording doesn't work for the now).
Are you banned from Chaturbate's rtmp servers maybe?
Reply With Quote
  #30  
Old 12-23-2014, 01:27 AM
CrazyNash CrazyNash is offline
Junior Member
 
Join Date: Dec 2014
Posts: 8
CrazyNash is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


I don't think i'm banned. How could i check that ? The site works fine in any browser.

In the meanwhile, i installed the exact same packages on another computer (hosted online server), still on ubuntu (but 14.02 this time) and there everything works (exact same rtmpdump KSV version).
My local ubuntu is an old homemade-NAS running Ubuntu 12.04.

rtmpdump doesn't seem to have a lot of dependencies (libc and librtmp), so it's a bit weird.

The other difference is that my old precise ubuntu is running "at home" whereas the newer one is running directly online : could it be a network issue (port blocked by router / cable box) ?
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons