I would like to stream my webcam through network,
I'm using the following command
vlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-width=640 :v4l2-height=480 --sout="#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/live.ts}" -I dummy
I tested in the same network and I have around 10s delay. For me is acceptable the 1,2s delay. Is there any other solution which is faster? If I'm using two VLC(in the same computer) one for streaming one for playing still I have the same delay. Is it possible to reduce this delay using vlc or other solution?