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
  #101  
Old 12-11-2015, 06:25 AM
doobydoo doobydoo is offline
Junior Member
 
Join Date: Dec 2015
Posts: 2
doobydoo is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Great script! Thanks for the work.

I have a question and a problem.

My problem...

I have the script running on UbuntuMate VM. It works great, though I often get the following error listed below, and was wondering if there's a fix to avoid this problem.

Code:
11/12/2015 06:05:17 AM INFO:Connecting to https://chaturbate.com/auth/login/
11/12/2015 06:05:17 AM INFO:Starting new HTTPS connection (1): chaturbate.com
11/12/2015 06:05:27 AM ERROR:Some error during posting to https://chaturbate.com/auth/login/
11/12/2015 06:05:27 AM ERROR:[Errno 104] Connection reset by peer

A few questions, if someone more knowledgeable can answer.

1. I'm using the original script. I tried some forks, and it appears they record a lower quality stream. Do the forks that record with LiveStreamer record at the same quality as the original??

2. Is there a more enhanced fork of this script that has any fixes, or is the original still the most stable to use?

3. Sometimes I got an error that read "ERROR'Connection aborted.', BadStatusLine("''",))". I think this might have been due to my VM network connection as a NAT. Has anyone received that same error and know the cause and or fix for it should it happen again?

Thanks for any help.
Reply With Quote
  #102  
Old 12-19-2015, 10:43 AM
doobydoo doobydoo is offline
Junior Member
 
Join Date: Dec 2015
Posts: 2
doobydoo is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


So I pieced together a solution, or a hacked up work around to deal with script disconnects when a server error occurs.

Basically, it’s just a script to restart capturebate when a certain string shows up in the output log.

I’m no scripting guru, so this is a novice attempt. I pieced the script together from examples I found around the web. Hopefully a scripting expert can improve on it.

I’m running capturebate on Ubuntu MATE. If you’re running a different distro, you may need to install any dependencies the script calls on in order to get it to work.

Here’s how it should work. If Errno or BadStatusLine show up in the output log, the script will kill any capturebate running scripts, then popup a notification window listing the error causing it to restart, then wait two minutes, and finally restart capturebate and continue monitoring the output log.

Copy the below listed code into a text file, name it monitor.sh, and save it into the root of your capturbate directory. After the file is created, right click it and click the permissions tab, then tick Allow executing file as a program.

Code:
#!/bin/bash

sudo tail -fn0 output.log |
  grep --line-buffered 'BadStatusLine\|Errno' |
    while read line; do
      timestamp=${line/}
      msg=${line#*]: }
      notify-send -u critical "SCRIPT RESTARTED initiated by" "$timestamp" -t 0 & 
pkill -f rtmpdump 
pkill -f main.py &
sleep 2m
python main.py &
    done
Now, start capturebate as normal, then run this script by opening a command prompt from within the capturbate directory, and use the command sudo ./monitor.sh

After that, the script should run and monitor the output log for the errors listed in the script, and restart when necessary.

I'm not sure how stable this script works, so monitor its operation and post any problems or improvements.
Reply With Quote
  #103  
Old 01-25-2016, 04:54 AM
Jimmy77 Jimmy77 is offline
Junior Member
 
Join Date: Jan 2016
Posts: 7
Jimmy77 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Hello

can anyone say again exactly where I need to copy my hash out. Just in line 79?
Reply With Quote
  #104  
Old 01-25-2016, 02:23 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 Jimmy77 View Post
Hello

can anyone say again exactly where I need to copy my hash out. Just in line 79?
It grabs it automatically. You don't need to put it anywhere.
Reply With Quote
  #105  
Old 01-26-2016, 01:29 AM
Jimmy77 Jimmy77 is offline
Junior Member
 
Join Date: Jan 2016
Posts: 7
Jimmy77 is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


http://www2.pic-upload.de/img/29548323/ejsrkiszklw.png

He say "1 models Online" and models currently being recorded are [ ].

but he is nothing recording.
Reply With Quote
  #106  
Old 01-26-2016, 11:54 AM
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 Jimmy77 View Post
http://www2.pic-upload.de/img/29548323/ejsrkiszklw.png

He say "1 models Online" and models currently being recorded are [ ].

but he is nothing recording.
Eh, I would actually recommend using capturebate-node if you can. It's easy to set up and doesn't create new files every 45 (?) seconds.
Reply With Quote
  #107  
Old 02-26-2016, 10:55 AM
Sluthunter Sluthunter is offline
Junior Member
 
Join Date: May 2015
Posts: 23
Sluthunter is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Anyone try capturebate-node on ubuntu 14.04 x86 ? Not working for me
Reply With Quote
  #108  
Old 03-04-2016, 05:22 PM
jeff.kerby jeff.kerby is offline
Junior Member
 
Join Date: Feb 2016
Posts: 8
jeff.kerby is on a distinguished road
Default

Re: Automated Chaturbate Recording Under Linux


Can't get Chaturbate node or none node working at all, will not capture anything. Kind of disappointing, but I understand these folks are not getting paid for creating these scripts.
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 12:29 PM.


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