Re: Automated Chaturbate Recording Under LinuxQuote:
Followed your instructions but when run I'm getting the same 0 byte files musterman gets, although in my case it correctly sees which models are online rather than all. Turned on debugging and the following error is being returned by RTMPDUMP: INFO: Connected ERROR: Closing connection: Netstream.Play.Failed This seems to be a problem with the args passed to RTMPDUMP as doing an anonymous capture from the CLI works fine. Is there some way I can get the RTMPDUMP command and args being used? |
Re: Automated Chaturbate Recording Under LinuxQuote:
I try the node version today and for some reason now I'm getting the exact same problem as you, not sure what happened but It was the first time and now it's not anymore, I suggest you try the fork version, It worked on two system running win 10 pro x86 and x64. |
Re: Automated Chaturbate Recording Under LinuxQuote:
|
Re: Automated Chaturbate Recording Under LinuxOk just to let you know - i used that script for a while, but there were quite a lot of problems with it in my opinion.
- main script got stuck from time to time (had to write a "check.sh" to analyze logs and restart it if nothing outputed for a few minutes ...) - main script got internal weird python errors about variables not anymore recognized (?!) - must "follow" the models (which is really a pain as it leads to login troubles thereafter) - very difficult to make any evolutions on my side (as written in python, which i'm not fan of) - not very robust (checking the 14th or 15th column of a "ps" for example) As correcting all this would have been quite a hassle for me (again, i dont know python and i'm really not interested by this language), i've rewritten the whole thing and now i have a solution who (for me at least) works really better. I have two Docker containers. The first one "rips" the videos. The second one re-encodes them from .flv to .mp4 (just the audio, see below). The "ripper" Docker container is a java process which allows : - to publish (very basic, but enough for me) web pages to administrate the wishlist online (subscribe / unsubscribe), check what is and what has been recorded, cancel a recording, ... (wishlist.txt is still editable on the disk but it's easier to just use the basic web pages) - to have a robust internal behavior ("0 file size" (which occurs really less now) are checked in the background for example) - to check several URLs and on several sub-pages (no need to follom models) (checking 10 pages takes less than 1 sec. on my core i3) - to move (if configured) the downloaded files to another folder - to have an easy-to-modify file pattern (destination, filename structure, date pattern) - to work either as a daemon, either on demand - ... ![]() ![]() ![]() Quote:
Quote:
The folders organization is as follow : "ripper" container - download files under "downloading/" - move them once finished under "downloaded/" "converter" container - move files from "downloaded/" to "converting/" - mode them once finished under "converted/" Additionnally, a "syncing" operation transfers everything from my server to my NAS : - move files from "converted/" to "syncing/" - deletes them if transfer has been successful That way i never have any "synchronisation" problem between files and folders (every step has its own input and output folder). |
Re: Automated Chaturbate Recording Under LinuxQuote:
I have the script configured on a Linux Peppermint virtual machine. No problems whatsoever, except for the 0kb files that appear when a model goes into a private show, other than that, flawess operation. The only gripe I have is how the files are named, which ruin the ability to sort by model name. The files should be named as followed... [model][date][time] theres really no need to have Chaturbate in the file name either. |
Re: Automated Chaturbate Recording Under LinuxThank you c4170001 for recommending http://googgl.me/12raC , its really hassle free, works in Windows without customization and doesn't generate a new file every minute, as it was earlier. I am not sure about Linux, because I never used Linus in my lifetime. But about windows its working fine. thank you again c4170001 for your help.
|
Re: Automated Chaturbate Recording Under LinuxQuote:
The forked version uses livestreamer for the capture of the m3u8 feed so you end up with an AVC/AAC mp4 file. The only problem with this is that Vegas won't load these files unless it's been remuxed by ffmpeg using the -bsf:a aac_adtstoasc parameter to correct the audio, this sometimes results in the audio being out of sync which can be a PITA to fix. Will you be releasing your Docker containers? |
Re: Automated Chaturbate Recording Under LinuxQuote:
Code:
flinks.write('%(rtmp_bin)s --quiet --live --rtmp "rtmp://%(stream_server)s/live-edge" --pageUrl "http://chaturbate.com/%(model_name)s" --conn S:%(username)s --conn S:%(model_name)s --conn S:%(flash_ver)s --conn S:%(pw_hash)s --token "m9z#$dO0qe34Rxe@sMYxx" --playpath "playpath" --flv "%(video_folder)s/Chaturbate_%(date_string)s_%(model_name)s.flv"' % form_dict) Code:
flinks.write('%(rtmp_bin)s --quiet --live --rtmp "rtmp://%(stream_server)s/live-edge" --pageUrl "http://chaturbate.com/%(model_name)s" --conn S:%(username)s --conn S:%(model_name)s --conn S:%(flash_ver)s --conn S:%(pw_hash)s --token "m9z#$dO0qe34Rxe@sMYxx" --playpath "playpath" --flv "%(video_folder)s/%(model_name)s_%(date_string)s.flv"' % form_dict) |
Re: Automated Chaturbate Recording Under LinuxHi!
I have a problem with rtmpdump on Linux (debian 8 on raspberry). I use rtmpdump (KSV version) on both Windows and Linux. On Windows, that works just fine but on Linux, I always get that error : Quote:
Quote:
|
Re: Automated Chaturbate Recording Under LinuxQuote:
RasPi v1 or v2 (they use different SoCs) ? Precompiled rtmpdump (with KSV patches) or did you compile it yourself? |
Re: Automated Chaturbate Recording Under LinuxQuote:
|
Re: Automated Chaturbate Recording Under Linuxboth variations python version as well as javascript version works fine, but i like js version bcs no troulbes with whitelists.txt, thanks a lot for authors
|
Re: Automated Chaturbate Recording Under LinuxUsing the Javascript version and hit a brick wall. Any help would be appreciated in how to track this error down.
pi@raspberrypi ~/capturebate-node $ sudo node main.js [2015-11-03T052111] capturebate-node started [2015-11-03T052131] texas_blonde is now online, starting rtmpdump process [2015-11-03T052131] milliemartins is now online, starting rtmpdump process events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:1000:11) at Process.ChildProcess._handle.onexit (child_process.js:791:34) pi@raspberrypi ~/capturebate-node $ |
Re: Automated Chaturbate Recording Under LinuxMaking progress. Reinstalled rtpmdump and now have the following error.
Unhandled rejection TypeError: Object #<Object> has no method 'statsAsync' at /home/pi/capturebate-node/main.js:45:13 It seems Node doesn't appear to support fs.statsAsync, only fs.statAsync.. but that doesn't work either (NetStream.Play.Failed)! |
Re: Automated Chaturbate Recording Under LinuxQuote:
|
Re: Automated Chaturbate Recording Under LinuxQuote:
I've decided to use an older version of capturebate-node from the repository - which is allowing further progress but rtmpdump is failing with the following error: DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetStream.Play.Failed> DEBUG: Property: <Name: description, STRING: security> DEBUG: Property: <Name: clientid, NUMBER: 940681682.00> I've tried installing both precompiled rtmpdump (ksv) and patching the main rtmpdump version - and both have the security error. Really stuck on this one and not sure how to proceed. Any help appreciated :( |
Re: Automated Chaturbate Recording Under LinuxQuote:
Code:
cp librtmp.so.1 /usr/lib |
Re: Automated Chaturbate Recording Under LinuxThanks for your suggestion. Tried but unfortunately still have the same issue. I'm running Debian 8 (RASPBIAN) on the Raspberry Pi.
Any other ideas? Quote:
|
Re: Automated Chaturbate Recording Under LinuxQuote:
For reference, I managed to get RTMPDump working on my Pi (Raspbian) using this method. |
Re: Automated Chaturbate Recording Under LinuxQuote:
|
Re: Automated Chaturbate Recording Under LinuxGreat 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/ 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. |
Re: Automated Chaturbate Recording Under LinuxSo 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 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. |
Re: Automated Chaturbate Recording Under LinuxHello
can anyone say again exactly where I need to copy my hash out. Just in line 79? |
Re: Automated Chaturbate Recording Under LinuxQuote:
|
Re: Automated Chaturbate Recording Under Linuxhttp://www2.pic-upload.de/img/29548323/ejsrkiszklw.png
He say "1 models Online" and models currently being recorded are [ ]. but he is nothing recording. |
Re: Automated Chaturbate Recording Under LinuxQuote:
|
Re: Automated Chaturbate Recording Under LinuxAnyone try capturebate-node on ubuntu 14.04 x86 ? Not working for me
|
Re: Automated Chaturbate Recording Under LinuxCan'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.:mad: :confused:
|
All times are GMT -6. The time now is 02:30 PM. |