You are not logged in.

#1 2010-06-06 16:26:56

whacath
Member
Registered: 2009-05-26
Posts: 283

How to stream a webcam with no or minimal delay?

I have ripped out the webcam from my eeepc 701 and nailed it to the dooreye so i can lay down in the couch and ignore the doorbell when jehovas witnesses or the tv-fee bounty hunters ring it.

Now there is only one problem, delay. there is a couple of second of delay.

When i installed the webcam i googled a quick solution and found this:

cvlc v4l:///dev/video0:width=640:height=480:fps=24 --sout '#transcode{vcodec=wmv2,vb=800,scale=1}:duplicate{dst=std{access=http{mime=video/x-ms-wmv},mux=asf,dst=:8080/stream.wmv}}' --no-sout-audio

Wich isnt optimal. For one it uses wmv and there is several seconds of delay.

So, do anyone know how to stream a webcam with no or minimal delay/buffert? What is the optimal tool and format for such thing etc etc?

Edit: If there is no way to stream stable without delay/buffert, please post the method you find best for streaming. smile

Last edited by whacath (2010-06-06 16:42:54)

Offline

#2 2010-06-07 08:50:46

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: How to stream a webcam with no or minimal delay?

Try changing the codec it might be quicker to encode video using a different format, I'm not a massive fan of wmv tbh.

http://www.linux.org/docs/ldp/howto/Vid … /x988.html

For more information.

Offline

#3 2010-06-07 11:02:41

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: How to stream a webcam with no or minimal delay?

Thank you for that link! I switched to the mp4 codec and now it running more smoothly and stable i havent tested how the delay is yet but i expect that is better too. smile

Offline

Board footer

Powered by FluxBB