View Single Post
  #1  
Old 03-09-2014, 05:04 PM
icodestuff icodestuff is offline
Junior Member
 
Join Date: Mar 2014
Posts: 11
icodestuff is on a distinguished road
Default

Start/Stop rtmpdump from your browser (chaturbate support)


Hi, i am new here, so please excuse me if something like this already exists.

I wrote a little script to start/stop recording streams with rtmpdump from the browser.
Also there is an auto record feature for supported sites (only chaturbate atm.)


The Project is split into two parts:
- A mini webserver written in python which starts and stops the recordings (via rtmpdump). All rtmpdump options except the output name and the -q argument are received from the connecting side.
- A userscript for every supported page which interacts with the python webserver.

Requirements:
- The Browser need to support userscripts (only tested with firefox and the greasemonkey addon so far).
- Python 2.7 for the server part. (Python 3 support is on the todo list)

Webserver:
The server is pretty pre alpha ATM but is working.
To change the port, download path, rtmpdump path or refresh time see the code right after the big comment block.

Userscripts:
At the moment there is just one supported streaming site which is chaturbate.
But adding support for other sites is pretty easy if it is possible to record them via rtmpdump.
To record from chaturbate (and possible a bunch of other pages) you need KSVs great patched rtmpdump.


How to Install and use: Click here
Question, comments and donations are welcome.


server.py v.02a :
http://pastebin.com/ifzw8fbY

chaturbate greasemonkey script
Based on a snippet posted by malky.
You need to be logged in for this script.
http://pastebin.com/3mmzwmS9


Donations:
bitcoin: 1ANENhuKSQt7QsTaeHQo7virhGaGtNByzo
dogecoin: DJ74B3andPa87NPmG6bygszmP7ttVa4soQ

Last edited by icodestuff : 03-10-2014 at 03:53 PM. Reason: Little update for the chaturbate script
Reply With Quote