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
  #1  
Old 03-09-2014, 06: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 04:53 PM. Reason: Little update for the chaturbate script
Reply With Quote
  #2  
Old 03-10-2014, 03:06 AM
xaboxa xaboxa is offline
Senior Member
 
Join Date: Aug 2011
Posts: 101
xaboxa is on a distinguished road
Thumbs up

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
Reply With Quote
  #3  
Old 03-10-2014, 03:11 AM
Roma Romanoff Roma Romanoff is offline
Junior Member
 
Join Date: Nov 2010
Posts: 10
Roma Romanoff is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 03-10-2014, 01:46 PM
icodestuff icodestuff is offline
Junior Member
 
Join Date: Mar 2014
Posts: 11
icodestuff is on a distinguished road
Default

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.
Reply With Quote
  #5  
Old 03-10-2014, 01:49 PM
icodestuff icodestuff is offline
Junior Member
 
Join Date: Mar 2014
Posts: 11
icodestuff is on a distinguished road
Default

Re: Start/Stop rtmpdump from your browser (chaturbate support)


Reserved for a how to write userscripts
Reply With Quote
  #6  
Old 03-10-2014, 01:56 PM
icodestuff icodestuff is offline
Junior Member
 
Join Date: Mar 2014
Posts: 11
icodestuff is on a distinguished road
Default

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
Reply With Quote
  #7  
Old 03-10-2014, 04:06 PM
Roma Romanoff Roma Romanoff is offline
Junior Member
 
Join Date: Nov 2010
Posts: 10
Roma Romanoff is on a distinguished road
Default

Re: Start/Stop rtmpdump from your browser (chaturbate support)


Excellent, we will learn, but so far nothing happens
Reply With Quote
  #8  
Old 02-20-2015, 03:23 AM
sputty sputty is offline
Junior Member
 
Join Date: Feb 2015
Posts: 1
sputty is on a distinguished road
Default

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...
Reply With Quote
  #9  
Old 05-12-2015, 03:35 AM
dealercohagen dealercohagen is offline
Junior Member
 
Join Date: Mar 2014
Posts: 9
dealercohagen is on a distinguished road
Default

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.
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 11:04 AM.


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