Latency in using VLC (0.8.5) as a streaming client

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
schao
New Cone
New Cone
Posts: 5
Joined: 28 Sep 2006 18:40

Latency in using VLC (0.8.5) as a streaming client

Postby schao » 05 Oct 2006 19:08

Hello,

I have a Linux server streaming out MPEG4 video using the UDP protocol and am using VLC running on XP to decode and display the MPEG4 video. The server and client machines are directly connected using an Ethernet crossover cable to minimize network latency.

The lowest end-to-end latency is currently about ~1.5 seconds. If I replace VLC with a different software MPEG4 player then the latency cuts down to about 500ms so that tells me there's room for optimization in VLC.

The only setting that seems to make any difference is the "UDP Caching in ms" field. If I set it to 1, then the latency is ~1.5 seconds. If I set it to, for instance 2000, then the latency is 2 + 1.5 seconds.

Is there any additional settings or code modifications I can tweak to bring down the latency further? By the way, I'm using both VLC and its ActiveX control in a customized app.

Thanks,
Shane

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 0 guests