0
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.
1Honestly, if you're looking for low latency I would move away from VLC. In my experience its not possible to get low latency video from VLC. – heavyd – 2017-09-27T22:53:43.923
@heavyd thanks, do you have recommendations? – Nathan – 2017-09-27T23:14:20.247
Possible duplicate of How to reduce latency on FFmpeg video streaming?
– Ramhound – 2019-02-24T23:07:16.550