How to reduce the delay - VLC Streaming from a web cam

Marc picture Marc · Feb 2, 2012 · Viewed 81.6k times · Source

I am streaming video and audio from my web cam/microphone over UDP. When I view the stream (even on the same machine) there is a delay of about 4 seconds. I have tried setting the UDP Cache setting to 0, or 1 but it doesn't seem to help. I have tried reducing the video and audio bit-rates, using mono sound and reducing the sample-rate all to no avail.

Does anyone have any ideas how I could reduce the delay, to something better suited to for a video conference, i.e < 1 second?

Is there a setting I can apply to the viewer/streamer that can help?

Thanks,

Marc

Answer

ciphor picture ciphor · Feb 13, 2012

If you are using rtsp protocol to stream to video/audio, you can adjust the delay at

tools->preferences->all->input/codecs->demuxers->RTP/RTSP->caching value

tools->preferences->all->input/codecs->demuxers->RTP->RTP de-jitter buffer length