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? Oct 20, 2012 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...)? Oct 21, 2012 at 22:51
  • to me it sounds like he wants to restream something essentially Oct 22, 2012 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. Oct 22, 2012 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. Oct 22, 2012 at 15:09

1 Answer 1


What you are looking for is called a Broadcast Delay Processor. Unfortunately, these processors come as a hardware device that you feed your signal through, and therefore they are relatively expensive.

I did look around for a software based broadcast delay for you, but I 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).

  • I tried with the comand "--sout-display-delay=30000" but the delay doesn't work.... Any suggestion? Thanks
    – Gio
    Sep 18, 2019 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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