Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using ffmpeg to transcode a rtmp-stream and re-stream it with ffmpeg.

I have 2 problems:

  • how can I check if the remote rtmp-stream is running and then start ffmpeg
  • sometimes ffmpeg breaks up transcoding and it must be restarted automatically

Any ideas?

share|improve this question
add comment

2 Answers

In the past I've used mplayer with dumpstream + a filesizecheck for mms. (let it run for a few seconds, kill it, check if the file is large enough) Maybe this will work for rtmp as well, but I don't know how reliable mplayer's support is.

Btw, title has the abbreviation wrong

share|improve this answer
add comment
up vote 0 down vote accepted

After some testing I used "GOD" to solve my problem:

http://god.rubyforge.org/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.