Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

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.

share|improve this question
    
simultaneously capture and stream? –  Travis Dtfsu 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...)? –  Bart Arondson Oct 21 '12 at 22:51
    
to me it sounds like he wants to restream something essentially –  Travis Dtfsu 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. –  Bart Arondson Oct 22 '12 at 15:09
show 1 more comment

1 Answer 1

up vote 4 down vote accepted
+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).

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.