Page 1 of 1

VLC as a RTP client with low latency

Posted: 26 May 2010 13:06
by robosara
Hi all,

I am using VLC as a RTP/H264 client.
I would like to reduce observed latency, some skips time to time are not a problem.
I have tried with the :file-caching parameter, but I am not sure I am using the proper method.

My current command line is : vlc.exe --no-overlay toto.sdp :file-caching=100
If I try vlc.exe --no-overlay toto.sdp :file-caching=50, video is frozen.

What is the right way to reduce all caching to the minimum .

Re: VLC as a RTP client with low latency

Posted: 26 May 2010 18:59
by Rémi Denis-Courmont
--no-overlay does not help with latency. And you should probably use --rtsp-caching instead of file-caching.

Re: VLC as a RTP client with low latency

Posted: 28 May 2010 13:08
by robosara
--no-overlay does not help with latency. And you should probably use --rtsp-caching instead of file-caching.
Sorry, I have forgotten to remove overlay parameter.

--rtsp-caching does not seem to change something while file-caching reduce a little bit buffering.. Strange...

Re: VLC as a RTP client with low latency

Posted: 16 Jun 2011 17:08
by ipacker
I have experienced the same problem.

If playing a stream initiated by an SDP file VLC does not respect the combo of --clock-jitter=0 and --rtsp-caching=200 or --file-caching=200

If starting the same exact stream but the SDP comes via an RTSP session VLC respects them both.

Re: VLC as a RTP client with low latency

Posted: 16 Jun 2011 18:58
by Rémi Denis-Courmont
That particular problem was fixed 7 months ago in VLC 1.2...