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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-10-2012, 01:35 AM
mocha mocha is offline
Junior Member
 
Join Date: Mar 2010
Posts: 23
mocha is on a distinguished road
Default

Restarting rtmpdump when the live stream dies


I need help making a bash script to monitor the status of rtmpdump as it dumps a live stream to an output file, and if the stream dies for whatever reason, I want rtmpdump to restart but dump the stream to another filename. In other words, I'd like to have a bash script for unattended rtmpdump recording of live streams. Thanks for any assistance.
Reply With Quote
  #2  
Old 06-10-2012, 11:51 AM
greenythebeast greenythebeast is offline
Senior Member
 
Join Date: Dec 2011
Posts: 105
greenythebeast is on a distinguished road
Default

Re: Restarting rtmpdump when the live stream dies


I've asked around for something like this for a while. Nothing has come up yet. The only way I know of doing it right now would be to have a script that continuously runs rtmpdump for a certain channel until it successfully downloads something. Not ideal, but other than using something like TubeDigger that's all I can think of.
Reply With Quote
  #3  
Old 06-12-2012, 01:54 AM
mocha mocha is offline
Junior Member
 
Join Date: Mar 2010
Posts: 23
mocha is on a distinguished road
Default

Re: Restarting rtmpdump when the live stream dies


I guess this is just a general bash scripting question, I'll try on linuxquestions. Generally speaking, I'm surprised others are not doing scheduled dumps of RTMP live streams? All the ones I've ever dealt with usually die before the stream is actually finished.
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 01:17 AM.


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