View Single Post
  #17  
Old 03-14-2014, 06:54 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)


Quote:
Is firefox able to interfere with this userscript?
Yes, i guess it only works with firefox (and greasemonkey ofc.). But if you see the record button the userscript should be ok.

Just to be sure: you are using the new server and userscript from this post ?

How to install python 2.7 on windows:
1. Get and install python 2.7.
2. Press win+r and enter cmd.
3. In the new window write python --version. If the result is something like "Can't find python" python isn't in your path.
- First of all restart (as the python installer should make sure it is in the path).
- If that doesn't solve it see here for a resolution.
4. After python in installed and cofigured. (ie you can execute "python" in the command window (win+r -> cmd -> enter) you are almost ready to go.

How to start and configure the script:
Open the python server script. Now change the following variables according to your needs. To do this press ctr+f to find the variable and change the part on the right side of the "=" sign.
(I'll add a config file in later versions)
RTMPDUMP_PATH: Contains the path to your rtmpdump executable.
DOWNLOAD_PATH: Where to save your recordings. Leave like "" if you want to save to the directory where your server script lies. Else enter the path ending with an "/".
PORT_NUMBER: In case you allready have a service running on port 80, change this variable to another value. Don't forget to change it in the userscripts, too.

To start the script you should be able to just double click it. If that doesn't work put a file named "StartServer.bat" in the same folder as the python script with the following content:
Code:
python server.py
If you named the script different from "server.py" change that value.
Please follow this if you have have file extensions disabled or don't know.
Now start the server and you are good to go.


A little troubleshooting guide:
There is no record button on the top of the performer page:
-> This could have mutiple reasons:
- You didn't install greasemonkey
- You didn't install the script. In Firefox press tools -> Greasemonkey -> New user script. Then paste the userscript from the pastebin.
- If you have greasemonkey and the userscript installed, that means probably that the url is different for you (through localization etc.). Please post the url you see from any performer.

The record button is visible and the status label under the record button shows for more then some seconds:
- No player found and the performer is online:
-> The video detection didn't work. In most cases that means the id for the video object changed.
Please press ctrl+shift+k on the performer page, paste $('object').attr("id") and press enter. Please post the result in this thread.

- Update ... or Timed out
-> The userscript isn't able to reach your server. Some possile reasons are:
- Your firewall or firefox add-ons (like request policy) is blocking the request.
- You already have a service running on port 80. In that case change the port in the user- and serverscript.
- The server crashed. If there is some strange output in the server window containing the word Exception please post this (in a code tag) in this thread.


if i don't run in the edit timeout again, i'll edit this post and add some more possibilities and solutions.

Last edited by icodestuff : 03-15-2014 at 07:17 AM.
Reply With Quote