Page 1 of 1

As low latency as possible on a stream

Posted: 16 Jan 2009 10:24
by qubix
Hi!

I'm new to VLC and I try to get as low latency as possible. I'm looking for advice...

My setup:
- linux box with zoran card, that works with v4l2
- ubuntu 8.10
- windows box with vlc for playing the stream
- 100MBit LAN

My streaming command:

cvlc v4l2:// :v4l2-vdev="/dev/video0" :v4l2-caching=0 --sout-mux-caching=0 --no-audio --sout '#standard{access=mmsh,mux=asfh,dst=:1234,scale=1}' --file-caching=0 --use-stream-immediate --auto-adjust-pts-delay

My zoran board gives me a mpeg hardware encoded stream, so i don't transcode it anymore. When i put down caching on my windows box down to 0 (or near 0) I still get about 4-6 s of delay. I've already put in all caching related options that seemed reasonable to the command. How can i bring it down even lower? Which output methods and output muxers give the lowest latency and do less caching when muxing?

Regards