Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
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 04:53 PM. Reason: Little update for the chaturbate script |
#2
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)This looks great and I am looking forward to see even more upgrades.
Thank you very much |
#3
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)Thank you, you can learn how it works, step by step, because chaturbate is very interesting.
|
#4
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)Howto install:
1. Get rtmpdump or better (needed for chaturbate) KSVs patched version if you don't have it allready. 2. Get python 2.7 if you don't have it allready. 3. If you want to use firefox get the greasemonkey plugin. Other ways aren't tested yet, but are planed. (chrome support, bookmarklets) 4. Get the server script. See first post for the newest version. 5. Get the userscript for the site and method you want to use. See first post for the newest versions. If you are planing to run the server on another port than 80 change the line "var port = 80;" at the top of the script to the port you want to use. 6. Activate your userscript: For firefox and greasemonkey tools -> greasemonkey -> new user script Then copy the according script into the editor and save. 7. Configure the server: Right after the big comment block in the server script are the settings. Interesting settings ATM are: PORT_NUMBER: If you want your server to run on another port. RTMPDUMP_PATH: The path to your rtmpdump executable DOWNLOAD_PATH: The path to your download folder. "" to download to the folder where the server script is located. Else the path must end with an / Howto use: 1. Start your script like python server.py (if you named the server server.py) 2. Go to the according site. The occurence and exact behaviour could be different for different scripts, but there should always be an button to start/stop recording and, if supported, a button to auto record. The buttons may need some seconds to show the correct recording state. 3. Well, record and have fun 4. To quit the server press ctr+c in the server window. Please don't kill it another way. ATM only with ctr+c the child rtmpdump processes are killed, too. |
#5
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)Reserved for a how to write userscripts
|
#6
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)Sorry for the tripple post.
I updated the server and the chaturbate userscript and wrote some usage info. If someone is going to test it please respond if everything worked. Also feedback of any kind would be great. I'll write a little help how to write scripts for other sites today or tomorrow. In the long term i think it would be great if every working userscript could be collected and updated in this thread. /me now need some coffee Last edited by icodestuff : 03-11-2014 at 05:52 AM. Reason: typo |
#7
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)Excellent, we will learn, but so far nothing happens
|
#8
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)i followed all the detailed imstructions but it still didn't work for me.
the server gets the record request but it says: Sun Feb 15 20:23:09 2015 Server Starts - :1080 acdid.acdsystems.com - - [15/Feb/2015 20:23:26] "GET /record/ HTTP/1.1" 404 - every time i try to record and on the firefox i get a player not found message. what can be the problem? when tried to record with rtmpdumphelper from chaturbate it worked... thanks in advance for your quick help... |
#9
|
|||
|
|||
Re: Start/Stop rtmpdump from your browser (chaturbate support)At first it wasn't working but now it's working great, Thanks.
Works both with Firefox and Chrome. |
Tags: chaturbate, greasemonkey, rtmpdump, userscript |
Thread Tools | |
Display Modes | |
|
|