3

I need to capture a video stream from a web cam and then show it non-stop with a delay of 30 seconds or more.

A server side linux software would be the best but a Windows GUI application will be ok as well.

  • simultaneously capture and stream? – Travis Crum Oct 20 '12 at 0:40
  • @TravisDtfsuCrum I think he means to capture the footage, wait several seconds (30, 60, etc...) and then play it. I'm not sure if that counts as simultaneous or not. To OP: Could you elaborate a bit on the question? What is the final goal of this? What sort of stream is it (wmv, asf, mms, etc...)? – Saaru Lindestøkke Oct 21 '12 at 22:51
  • to me it sounds like he wants to restream something essentially – Travis Crum Oct 22 '12 at 1:11
  • Yes you right. I want to capture and replay. It's stays in some buffer. Immediately after X seconds you can see it on some projector/display. I don't care about formats(any mp4, wmv asf, raw data in memory or on disk drive). I need cheap/reliable solution. As less programming as possible since I believe VLC and FFMpeg can do it somehow. – Boris Ivanov Oct 22 '12 at 9:32
  • What is the source? Is it an online stream? Could you provide a link? Why don't you just use the original stream on the display? All this info would help to find a solution and make the question more helpsful to others as well. – Saaru Lindestøkke Oct 22 '12 at 15:09
8
+50

What you are looking for is called a Broadcast Delay Processor. Unfortunately these comes as a hardware modules you feed your signal through, and therefor can be relative expensive.

I did look around for a software based broadcast delay for you, but was not able to find any.

Luckily though, you can use VLC (free and available on Linux and Windows) to stream with a delay. Check out this command:

Display stream output

  --sout-display-delay=<integer [-2147483648 .. 2147483647]>
                             Delay (ms)
      Introduces a delay in the display of the stream.

In your case use it like with this value: --sout-display-delay=30000

You can also record your webcam with VLC, see this article for details:
Recording webcam videos with VLC Media Player

In other words, using VLC with the provided commands you should be able to both record your webcam and stream it with a delay (at no cost).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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