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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-02-2012, 04:39 AM
randombod randombod is offline
Junior Member
 
Join Date: Feb 2012
Posts: 2
randombod is on a distinguished road
Default

How-To - Automatically record cam4 profiles [unix]


All

Someone asked if there was anything to record cam4 streams and I had cobbled together a python script which send out email alerts, it was quite simple to setup the auto record.

Description
The script will check if a user is online, if they are it will spawn a chrome browser which passes the video to rtmpsuck and send and alert email. If there are 2 users online at the same time rtmpsuck cannot cope, so the script sends an alert so that you can manually override the current recording stream.

I have this running on a media server, i have an additional X server running on display :2 so when the browser starts i need to export the display, if you are running this local then remove the export display command on line 45.

Requirements
Unix system
python
chromium-browser (update the flash)
rtmpsuck
sendmail

Setup
1: Setup rtmp suck using the following Tutorial
I have it running within a screen session on boot

2: Setup sendmail, there's enough on Google for this.

3: Download the python script from Here

4: Edit the parameters to reflect the user running the display, email address and profiles to monitor

5: Add to a cron job to run every 5/10/15 minutes

I have tested this for a number of scenarios but it may fall on its ass, let me know if it needs debugged.
Reply With Quote
 
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 08:07 AM.


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