I'm looking for a way to stream a webcam video with as low latency as possible. Quality and resolution are far less important.
This is the command I'm currently using is:
cvlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp4v,vb=800,acodec=none}:rtp{sdp=rtsp://:8554/}'
It works but has a 2000ms delay over a LAN which is too high. I'm happy to sacrifice resolution or quality to reduce the delay.
VLC has a list of codecs but I don't want to spend hours trying to install them if they end up been slow.