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-02-2012, 03: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
  #2  
Old 05-21-2012, 03:23 PM
clist clist is offline
Junior Member
 
Join Date: May 2012
Posts: 2
clist is on a distinguished road
Default

Re: How-To - Automatically record cam4 profiles [unix]


Well done,
I'm going to test it out.

I've just finished to compile the rtmp pack (rtmp/rtmpsuck/srv...) and i was wondering how to use it...
so here it is

By the way: Did you try get_flash_videos?
It claims to do the job very easly..
you just have to lunch it with the URL of the html page but in my case, it can't find any video
I have to figure out why... because if i find a way, i could just use cron directly with this application.

EDIT:
Well, i thought it was easier
it looks like hard for a newbie like me to get chromium... and anyway my server doesn't run a X server... shell only..
will it run?
any other way to record?

Last edited by clist : 05-21-2012 at 04:43 PM.
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 09:58 PM.


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